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 684815 - vp8enc: altref frames are not generated on two pass mode
vp8enc: altref frames are not generated on two pass mode
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-25 20:33 UTC by Oleksij Rempel
Modified: 2012-09-26 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleksij Rempel 2012-09-25 20:33:28 UTC
I use this script to transcode video. Normally vpx produce lots of altref packets, but not with current gstreamer-1.0


in_file=""$1""
gst-launch-1.0 filesrc location="$in_file" ! decodebin ! vp8enc threads=3 multipass-mode=1 target-bitrate=800000 multipass-cache-file=multipass.cache token-partitions=1 ! fakesink

gst-launch-1.0 filesrc location="$in_file" ! decodebin name=d webmmux name=m ! filesink location="$in_file.webm" d. ! queue ! vp8enc threads=3 multipass-mode=2 target-bitrate=800000 multipass-cache-file=multipass.cache end-usage=vbr auto-alt-ref=1 keyframe-max-dist=360 min-quantizer=0 max-quantizer=60 token-partitions=1 ! m. d. ! queue ! audiorate tolerance=50000000 ! audioconvert ! audioresample ! audio/x-raw,rate=44100,channels=2 ! vorbisenc ! m.
Comment 1 Sebastian Dröge (slomo) 2012-09-26 07:41:30 UTC
I can confirm that. Note however that you should a) use the exact same properties for the first pass and b) the number of threads that can be used depends on the number of token-partitions.
Comment 2 Sebastian Dröge (slomo) 2012-09-26 07:52:08 UTC
Oh actually no, there's no bug. The problem is that you need to set lag-to-frames to something else than 0.