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.

TDA2HG: Use H264 encode in gstreamer will make frame out of oder

Part Number: TDA2HG

Hi,

I used MPEG4 to encode video which works fine. My command: 

gst-launch-1.0 -e cameravpf name=camerasrc channel=4 recordtype=event ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! ducatimpeg4enc  bitrate=4096 ! mpeg4videoparse ! qtmux  ! filesink location=/userdata/11.mp4

But now for improve DDR bindwidth on IVA, I need swith it to H264. My command:

gst-launch-1.0 -e cameravpf name=camerasrc channel=4 recordtype=event ! video/x-raw,format=NV12,width=1280,height=720,framerate=30/1 ! ducatih264enc profile=100 entropy-coding-mode=1 inter-i
nterval=2 bitrate=4096 ! h264parse ! qtmux  ! filesink location=aaa.mp4

The mp4 file below I got has problem. And the frame seems out of order. Since from video, I wave hand from top to bottom, it will jump back to top when at the middle.

Did I miss something?

Thanks!

BR/Tim