h264

Michael Gruner michael.gruner at ridgerun.com
Sun May 9 17:41:10 UTC 2021


I wonder if this has to do with how the buffers are timestamped. For the pipeline you shared, and given that it is a live source, you should be able to try setting sync=false on both sink elements and see if it makes any difference.

> On 9 May 2021, at 03:17, James via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:
> 
> Guys I have a card producing h264 video (Sensoray 2263)
> I would like to view and record output in 1080.
> Despite lots of fiddlimg and trying I have not suceeded, so if any body can offer words of wisdom then tnanks.
> 
> The video stutters and tears.
> 
> The recording yields a file that
> 
> mplayer plays with tears
> vlc shows s creen of video, then a screen of green, repeats
> shotcut, avidemux and handbrake will not open the file.
> 
> Using the pipeline, compiled, and an image sixe of 720x576 works without any problen
> 
> (settings the CAPS feeds the size back to the cards, so that is an easy way to check)
> 
> Here is my pipeline
> 
> gst-launch-1.0 v4l2src name=source device=/dev/video2 ! \
>            video/x-h264,width=1920,height=1080,framerate=30/1 ! \
>            tee name=t \
>            t. ! h264parse ! queue ! avdec_h264 ! autovideosink \
>        t. ! h264parse ! mp4mux ! filesink location=myfile.mp4 sync=true
> 
> Thanks
> James
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list