h264 recording

Robert Armstrong orangerobot at gmail.com
Fri Dec 18 15:19:09 PST 2015


I have a custom UVC USB w/ H.264 that can record H.264 raw properly with
the following command:

gst-launch-1.0 v4l2src device=/dev/video1 !
video/x-h264,width=1280,height=720,framerate=30/1 ! filesink location=out

I am able to take the raw output file, convert to MP4 w/ ffmpeg and the
video plays fine.

This pipeline on the same camera will record but the MP4 file only seems to
be about 1 frame per second.

gst-launch-1.0 -e v4l2src device=/dev/video1 !
video/x-h264,width=1280,height=720,framerate=30/1 ! h264parse ! mp4mux !
filesink location=camera.mp4


I have a similar pipeline that I can use to stream H264 over RTP that also
has a low frame rate.


What can I try to change with the pipeline to fix the framerate issue? Or
what are good steps to start with debugging? Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151218/5c9a7ad1/attachment.html>


More information about the gstreamer-devel mailing list