Frame missing in H264 File(1080p)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Frame missing in H264 File(1080p)

Aditya Oza
This post was updated on .
hello,

I record a h64 file at 1080p 30 fps using Gstreamer.
I run following pipeline:

gst-launch-1.0  --gst-debug-level=3   -v v4l2src device=/dev/video0 !
capsfiltercaps="video/xraw,width=1920,height=1080,framerate=30/1,bitrate=20000"
! queue ! videoflip method=rotate-180 ! videoconvert !  videorate ! queue !
omxh264enc ! queue ! avimux ! queue ! filesink location = test.h264

After running this pipeline, I play a recorded video but they contain lots
of frame missing.

Anyone suggest me a right way to solve this issue.
Any improvment in my pipeline?



_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Frame missing in H264 File(1080p)

Nicolas Dufresne-5


Le sam. 1 juin 2019 11 h 25, Aditya Oza <[hidden email]> a écrit :
hello,

I record a h64 file at 1080p 30 fps using Gstreamer.
I run following pipeline:

gst-launch-1.0  --gst-debug-level=3   -v v4l2src device=/dev/video0 ! capsfiltercaps="video/xraw,width=1920,height=1080,framerate=30/1,bitrate=20000" ! queue ! videoflip method=rotate-180 ! videoconvert !  videorate ! queue ! omxh264enc ! queue ! avimux ! queue ! filesink location = test.h264


After running this pipeline, I play a recorded video but they contain lots of frame missing.

I see two possible causes, not enough buffers being allocated (that is up to the OMX component to request with latest gst-omx), or the convert/encode side is simply too slow, then you need a lower resolution or rate.


Anyone suggest me a right way to solve this issue.
Any improvment in my pipeline?



Thanks & Regards,

Aditya Oza




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel