record H264 stream use multifilesink
Vinod Kesti
vinodkesti at yahoo.com
Wed Oct 11 12:27:07 UTC 2017
Hi Michelle Guo,
MKV file splitting not possible with multifilesink. Use splitmuxsink to
split the files.
Below should work for u..
gst-launch-1.0 rtpbin name=rtpbin latency=100 \
udpsrc
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96"
port=5000 ! queue ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay \
! tee name=teevideo teevideo. ! queue ! vpudec ! overlaysink \
teevideo. ! queue !
"video/x-h264,width=1024,height=768,framerate=(fraction)25/1" !
splitmuxsink location="/home/root/save%d.mkv" muxer=matroskamux
max-files=300 max-size-bytes=10485760
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list