record H264 stream use multifilesink

Nicolas Dufresne nicolas at ndufresne.ca
Fri Oct 13 02:12:03 UTC 2017


Le jeudi 12 octobre 2017 à 18:37 -0700, Michelle Guo a écrit :
> I use queue after tee. 
> My pipeline is like this:
> 
> gst-launch-1.0 rtpbin name=rtpbin \
>  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="/../data/save%d.mkv" max-files=300 max-size-time=10000000000
> muxer=matroskamux &
> 
> These two branches can not work well at the same time.

Maybe make the overlaysink "async=0", this way GStreamer won't wait for
something to reach the multifilesink because it renders to overlaysink.

Nicolas


More information about the gstreamer-devel mailing list