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 656370 - [vp8enc] Uses bitrate=0 breaks with libvpx 0.9.7
[vp8enc] Uses bitrate=0 breaks with libvpx 0.9.7
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.22
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-12 00:20 UTC by Ralf
Modified: 2011-08-16 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ralf 2011-08-12 00:20:18 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
Comment 1 Sebastian Dröge (slomo) 2011-08-12 07:44:01 UTC
That's a bug in libvpx, see http://code.google.com/p/webm/issues/detail?id=359
Comment 2 Stéphane ESTE-GRACIAS 2011-08-13 17:16:22 UTC
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
Comment 3 Sebastian Dröge (slomo) 2011-08-16 06:07:24 UTC
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
Comment 4 Sebastian Dröge (slomo) 2011-08-16 13:31:45 UTC
Fixed in libvpx 0.9.7-p1