[gstreamer-bugs] [Bug 602429] Cannot capture, encode and stream Theora via RTP at 640x480 from 2 Meg Pixel webcam

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 19 10:53:53 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=602429
  GStreamer | gst-rtsp-server | 0.10.5

--- Comment #2 from Robert Krakora <rob.krakora at messagenetsystems.com> 2009-11-19 18:53:47 UTC ---
When I lower the bitrate to 4000000 and go from 320x240 to 640x480 I see video
quality degrade significantly and the following error messages.  Is this an
underrun condition?  Also, I understand the 16 bit size issue for RTP. 
However, can't the Theora encoded data be divided up to span multiple RTP
packets so that there is no "size" issue?  Maybe I don't understand the
problem.  ;-)

./test-launch --gst-debug=2 "( v4l2src device=/dev/video0 ! ffmpegcolorspace !
videoscale ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! theoraenc
quality=40 bitrate=4000000 ! rtptheorapay pt=96 name=pay0 alsasrc device="hw:0"
! audioconvert ! vorbisenc ! rtpvorbispay pt=97 name=pay1 )"

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:34.969828000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.001864000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.033812000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.069849000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.101759000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.133816000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.169818000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

** (lt-test-launch:20552): WARNING **: 0x1b6b010: got warning Invalid packet
size (1 < 0 <= 0xffff) (gstrtptheorapay.c(634):
gst_rtp_theora_pay_handle_buffer ():
/GstPipeline:media-pipeline/GstBin:bin0/GstRtpTheoraPay:pay0)
0:00:35.201747000 20552      0x1baa490 WARN            rtptheorapay
gstrtptheorapay.c:634:gst_rtp_theora_pay_handle_buffer:<pay0> warning: Invalid
packet size (1 < 0 <= 0xffff)

-- 
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