[Bug 695709] vp8enc plugin has invalid parameter error when framerate is "0/1"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Mar 12 11:22:48 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=695709
  GStreamer | gst-plugins-ugly | 1.0.5

tcdgreenwood changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|x264enc plugin has a divide |vp8enc plugin has invalid
                   |by zero error when          |parameter error when
                   |framerate is "0/1"          |framerate is "0/1"

--- Comment #2 from tcdgreenwood at hotmail.com 2013-03-12 18:22:42 UTC ---
Sorry I accidentally posted this bug too early!

When having decoded an RTP stream the framerate is 0/1 and this causes a divide
by zero error.  The use case is transcoding, but the script here just decodes
and recodes VP8.  The scripts used were:

Receiver:
gst-launch-1.0 udpsrc name=receiver_rtp_in port=5100 caps = "application/x-rtp,
clock-rate=(int)90000, encoding-name=(string)VP8-DRAFT-IETF-01, width=(int)640,
height=(int)480, payload=(int)96" ! rtpvp8depay  ! vp8dec ! queue !
videoconvert ! osxvideosink

Re-coder:
gst-launch-1.0 -v udpsrc name=receiver_rtp_in port=5000 caps =
"application/x-rtp, clock-rate=(int)90000,
encoding-name=(string)VP8-DRAFT-IETF-01, width=(int)640, height=(int)480" !
rtpvp8depay ! queue ! vp8dec ! queue ! vp8enc ! rtpvp8pay ! udpsink
name=sender_rtp_out port=5100 host=0:0:0:0:0:ffff:7f00:1 ts-offset=0

sendVP8.sh:
gst-launch-1.0 -v rtpbin name=rtpsender videotestsrc ! textoverlay text="Test
Text" ! 'video/x-raw,width=640,height=480,framerate=15/1' ! vp8enc cpu-used=8
deadline=1 ! rtpvp8pay ! rtpsender.send_rtp_sink_0 rtpsender.send_rtp_src_0 !
udpsink port=5000 host=0:0:0:0:0:ffff:7f00:1 ts-offset=0 name=vrtpsink
rtpsender.send_rtcp_src_0 ! udpsink port=5001 host=0:0:0:0:0:ffff:7f00:1
sync=false async=false name=vrtcpsink udpsrc name=receiver_rtcp_in port=5003
caps = "application/x-rtcp" ! rtpsender.recv_rtcp_sink_0

The udpsink elements use 0:0:0:0:0:ffff:7f00:1 as on Mac it seems that builds
cannot use IPv4 addresses - this is 127.0.0.1.

The error I get is:
ERROR: from element /GstPipeline:pipeline0/GstVP8Enc:vp8enc0: Failed to
initialize encoder

Will attach full output.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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