[gst-devel] How to save incoming h264 stream without re-encoding?
Francis Rammeloo
francis.rammeloo at gmail.com
Thu Feb 18 00:31:01 CET 2010
I would like to be able to save a incoming H264 stream (video only, no
audio) to a file on disk. I've created the following pipeline:
gst-launch -v udpsrc port=4444 num-buffers=500 !
application/x-rtp,media=\(string\)video,clock-rate=\(int\)90000,encoding-name=\(string\)H264
! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay ! mpegtsdemux ! mp4mux !
filesink location=test.mp4
But that doesn't seem to work: the pipeline never stops despite being
limited to 500 buffers, and the file stays at 0 KB filesize.
To verify that the stream is actually running I use the following
pipeline, which works fine:
gst-launch -v udpsrc port=4444 num-buffers=500 !
application/x-rtp,media=\(string\)video,clock-rate=\(int\)90000,encoding-name=\(string\)H264
! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay ! mpegtsdemux ! ffdec_h264
! ffmpegcolorspace ! ximagesink
Does anyone have an idea what I'm doing wrong?
Grts,
Francis
More information about the gstreamer-devel
mailing list