AnsweredAssumed Answered

Why encoded video is choppy when saved to file?

Question asked by Dilip Kumar on Oct 18, 2013
Latest reply on Sep 30, 2016 by Daniel Barton

I'm streaming video from a camera using the following pipeline.


     gst-launch-0.10 mfw_v4lsrc ! vpuenc codec=6 ! matroskamux ! filesink location=test4way.mkv sync=false async=false


My requirement is to save the encoded video in h.264 format. But when i try to view the saved file using gplay (or any player in my PC) the video is found to be choppy. It pauses every few seconds and continues with the loss of few frames while the video is paused. I dont think the problem is with the encoder. Because i've encoded and streamed the video over network and checked that the encoded video is not choppy. I think this problem occurs while saving to file locally. Is the imx6quad not capable of fast data transfer.? Do i need to change anything in the kernel like DMA for example.? I'm using a sabrelite development board (iMX6Q) from boundary devices running kernel version 3.0.35. Any suggestions?