How to save incoming h264 stream to h264 file?

yasumi xiaojiangwu at gmail.com
Fri Nov 21 23:04:47 PST 2014


How to save h264 udp stream from raspberry pi to raw .h264 file?

the .h264 doesn't show anything when played with VLC. I can play .h264
directly save from raspivid

Raspberry pi script: 
raspivid -t 0 -w 800 -h 600 -fps 16 -g 5 -b 1000000 -vf -o - |
gst-launch-1.0 --gst-debug=3 fdsrc ! h264parse ! rtph264pay ! udpsink
host=<IP> port=5000

On the receiving side: 
gst-launch-1.0 -e -v udpsrc port=5000 ! application/x-rtp, clock-rate=90000,
encoding-name=H264, payload=96 ! rtpjitterbuffer ! rtph264depay ! filesink
location=test.h264



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-save-incoming-h264-stream-to-h264-file-tp4669609.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list