[Bug 747728] New: vp8enc: multipass-mode=2 is not working

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 12 02:16:40 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747728

            Bug ID: 747728
           Summary: vp8enc: multipass-mode=2 is not working
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bug-track at fisher-privat.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It is a regression, but suddenly i don't have time to bisect it.

tested with git master from 12.04.2015.

the vp8enc is working multipass-mode 1 or 0.

The fallowing script will fail with this error:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstVP8Enc:vp8enc0: Failed to
initialize encoder
Additional debug info:
gstvp8enc.c(1599): gst_vp8_enc_set_format ():
/GstPipeline:pipeline0/GstVP8Enc:vp8enc0:
invalid parameter
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

============= script ==========================

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_81 ! a52dec mode=2 ! audiorate tolerance=50000000 ! \
    audioconvert ! audioresample ! \
    taginject tags="language-code=fra" ! queue ! vorbisenc ! mux.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list