speex/vorbis and rtp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

speex/vorbis and rtp

Tomasz Grobelny-2
I tried sending Speex over UDP/RTP like that:
  $ gst-launch audiotestsrc ! audioconvert ! speexenc ! rtpspeexpay ! \
    udpsink host=localhost port=2000
(which seems to work fine) and receive it like that:
  $ LANG=C gst-launch -v udpsrc port=2000 ! rtpspeexdepay ! speexdec ! \
    audioconvert ! alsasink
    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    notification: This doesn't look like a Speex file
    ERROR: from element /pipeline0/speexdec0: Could not decode stream.
    Additional debug info:
    gstspeexdec.c(555): speex_dec_chain_parse_header (): /pipeline0/speexdec0:
    couldn't read header
    Execution ended after 5535478 ns.
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    FREEING pipeline ...

If I try Vorbis instead of Speex (on both ends) I get an error saying "Could
not switch codebooks". What am I doing wrong?
--
Regards,
Tomasz Grobelny

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel