GNOME Bugzilla – Bug 656370
[vp8enc] Uses bitrate=0 breaks with libvpx 0.9.7
Last modified: 2011-08-16 13:31:45 UTC
Hi, after updating libvpx to the latest 0.9.7, the gstreamers vp8enc does no longer work. gst-launch-0.10 videotestsrc ! vp8enc ! fakesink -v Setting pipeline to PAUSED ... /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2 Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstVP8Enc:vp8enc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2 Redistribute latency... Floating point exception Downgrading to libvpx 0.9.6 fixes the problem immediately. System: Gentoo Linux x86_64-pc-linux-gnu gcc version 4.4.5 (Gentoo Hardened 4.4.5 p1.2, pie-0.4.5) [ebuild R ~] media-libs/gst-plugins-bad-0.10.22 USE="orc" 0 kB [ebuild R ~] media-plugins/gst-plugins-vp8-0.10.22 0 kB
That's a bug in libvpx, see http://code.google.com/p/webm/issues/detail?id=359
Hello, Set a non-zero value to 'bitrate' to solve division by zero issue. See http://code.google.com/p/webm/issues/detail?id=359#c2
The only question now is, which bitrate should be set if you only want to set the quantizers and don't want to target any bitrate
Fixed in libvpx 0.9.7-p1