This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Aspect ratio and specified bit rate problems with dvevm6467 encode demo

Having two problems when running the encode demo on the dvevm6467.

I'm using a camera that is switchable between 50Hz and 60Hz. When using the camera on 60Hz, the encoded footage looks fine. When using 50Hz, the footage appears squashed into a 4:3 square on the left of the 16:9 frame with a black border on the right of the frame.

Using a seperate frame capture card, the images looks fine in both 50Hz and 60Hz modes.

The second issue occurs when I try to specify a video bit rate such as


./encode -v output/test60HzC.264 -b 2000

I get no encoded footage and output like

Warning, writer received 0 byte encoded frame
Warning, writer received 0 byte encoded frame
Encode demo ARM Load: 2% DSP Load: 4% Display Type: 720P 60Hz Video Codec: H.264
 BP Video fps: 30 fps Video bit rate: 0 kbps Video resolution: 1280x720 Sound co
dec: N/A Sound bit rate: 0 kbps Sampling freq: 0 Time: 00:00:12

 

Any would be appreciated.

Cheers,

Simon

  • I believe that from a capture point of view the DM6467 EVM runs on a fixed pixel clock configure at start-up (either NTSC or 720p @ 60), I do not believe it has the necessary hardware to capture at 50 Hz.  If you input video at 50Hz when it is expecting 60 Hz, this may explain some of the issues you are seeing.