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 646266 - rtptheora problem if stream with udp
rtptheora problem if stream with udp
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-30 20:16 UTC by Oleksij Rempel
Modified: 2011-03-31 05:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleksij Rempel 2011-03-30 20:16:28 UTC
I have problem to stream theora. I use fallowing pipe:

gst-launch -v videotestsrc ! theoraenc speed-level=2 ! rtptheorapay ! udpsink host=192.168.0.150 port=5555

gst-launch -v udpsrc port=5555 caps="application/x-rtp" ! identity ! queue ! rtptheoradepay ! theoradec ! autovideosink

and i get error:
Could not switch codebooks
Could not decode stream.


same pipeline with jpeg or vp8 working just fine.

If i send direct, without udp.. stream is working:
gst-launch -v videotestsrc ! theoraenc speed-level=2 ! rtptheorapay ! identity ! rtptheoradepay ! theoradec ! autovideosink

if i send without rtp, only udp. stream is working too:
gst-launch -v videotestsrc ! theoraenc speed-level=2 ! identity ! udpsink host=192.168.0.150 port=5555

gst-launch -v udpsrc port=5555 ! identity ! theoradec ! autovideosink

Since other codecs (jpeg or vp8) are working, i assume there is a bug on rtptheoradepay side.
Comment 1 Olivier Crête 2011-03-30 20:24:01 UTC
with Theora (and H.264), you have to reliably send a header before you can decode anything. You can get it from the caps after the payloaders. Or you can make the payloader resend it regularly with the "config-interval" property.
Comment 2 Oleksij Rempel 2011-03-31 05:18:35 UTC
Thank you.