GNOME Bugzilla – Bug 761584
gst-launch stall on stream reinit.
Last modified: 2016-05-22 18:52:43 UTC
vp8/vorbis encoding will stall on this stream: https://www.dropbox.com/s/3dcgfth1rw3ifrp/str.mpeg?dl=0 same issue is with vp8/opus too. I use this script for encoding: echo "======== VIDEO, pass 1 =========" date gst-launch-1.0 filesrc location=stream.dump ! mpegpsdemux name=demux demux.video_e0 ! mpegvideoparse ! mpeg2dec ! videorate ! \ vp8enc threads=2 multipass-mode=1 target-bitrate=1000000 \ multipass-cache-file=multipass.cache end-usage=vbr auto-alt-ref=1 \ keyframe-max-dist=360 min-quantizer=0 max-quantizer=60 \ token-partitions=2 lag-in-frames=16 ! fakesink # webmmux name=mux ! filesink location=out_audio.webm \ echo "======== VIDEO, pass 2 =========" date gst-launch-1.0 filesrc location=stream.dump ! mpegpsdemux name=demux \ webmmux name=mux ! filesink location=out_video.webm \ demux.video_e0 ! mpegvideoparse ! mpeg2dec ! videorate ! \ vp8enc threads=2 multipass-mode=2 target-bitrate=1000000 \ multipass-cache-file=multipass.cache end-usage=vbr auto-alt-ref=1 \ keyframe-max-dist=360 min-quantizer=0 max-quantizer=60 \ token-partitions=2 lag-in-frames=16 ! queue ! mux. \ demux.audio_80 ! a52dec mode=2 ! audiorate tolerance=50000000 ! \ audioconvert ! audioresample ! \ taginject tags="language-code=ger" ! queue ! vorbisenc ! mux. \ demux.audio_82 ! a52dec mode=2 ! audiorate tolerance=50000000 ! \ audioconvert ! audioresample ! \ taginject tags="language-code=eng" ! queue ! vorbisenc ! mux.
Have you tried adding queues after the demuxerh in the second pipeline ?
Please try to narrow down the suspected bug, for example by simplifying your pipeline. For help on 'why does my pipeline not work' perhaps the gstreamer-devel mailing list is a better place.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!