After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761584 - gst-launch stall on stream reinit.
gst-launch stall on stream reinit.
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-05 11:10 UTC by Oleksij Rempel
Modified: 2016-05-22 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleksij Rempel 2016-02-05 11:10:28 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.
Comment 1 Vincent Penquerc'h 2016-02-11 09:59:19 UTC
Have you tried adding queues after the demuxerh in the second pipeline ?
Comment 2 Tim-Philipp Müller 2016-02-11 10:10:55 UTC
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.
Comment 3 Tim-Philipp Müller 2016-05-22 18:52:43 UTC
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!