AnsweredAssumed Answered

GStreamer Can someone explain this video recording behaviour?

Question asked by mad strum on Oct 9, 2014
Latest reply on Oct 9, 2014 by mad strum

I'm using GStreamer with CM-FX6 to record from the video-in analog source.

Initially, the command I used was :

 

Recording

gst-launch tvsrc fps-n=30 ! queue ! vpuenc codec=6 bitrate=4000000 ! matroskamux ! filesink location=output3.mkv sync=false

 

After 1 minute or so, there was a error saying

ERROR: from element /GstPipeline:pipeline0/MFWGstTVSRC:mfwgsttvsrc0: Internal data flow error

Aditional debug info

gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstTVSRC:mfwgsttvsrc0:

streaming task paused, reaosn error (-5)

 

But when I changed this to

gst-launch tvsrc fps-n=30 ! queue max-size-buffers=1 max-size-bytes=0 max-size-time=0 ! vpuenc codec=6 bitrate=4000000 ! matroskamux ! filesink location=output3.mkv sync=false


The error goes away. I can keep recording and play back the file using playbin2.


Can someone explain this to me? Even though it's working now for me, I don't really understand it.


Thanks.

Outcomes