[gst-devel] Trouble playing a-Law encoded file over RTP/UDP
Philipp Leibfried
Philipp.Leibfried at gmx.de
Fri Aug 29 15:01:58 CEST 2008
Hello everyone,
first of all, thanks for the prompt and enlightening answer to my last question pertaining to GMainLoop and GStreamer.
I'm currently trying to send an a-Law encoded file over RTP and playing it back.
The sender pipeline is setup as follows:
gst-launch-0.10 filesrc location=/home/pl/Projects/gstSender/debug/src/2079.wav do-timestamp=true ! rtppcmapay max-ptime=20000000 ! udpsink host="localhost" port=4044
Before I started using "do-timestamp", sending took only a few seconds, also the file takes about 40 seconds to play back. Now, sending takes about as long as it takes to play back the file, so I guess everything sould be alright on this end(?)
The receiver pipeline is as follows:
gst-launch-0.10 udpsrc port=4044 ! gstrtpjitterbuffer ! rtppcmadepay ! alawdec ! alsasink
After a long long time, I start getting messages such as this:
gstbaseaudiosink.c(1188): gst_base_audio_sink_render (): /pipeline0/alsasink0:
Unexpected discontinuity in audio timestamps of more than half a second (0:02:08.225125000), resyncing
WARNING: from element /pipeline0/alsasink0: Compensating for audio synchronisation problems
And sporadically, I can hear very short bits of the audio (maybe a 10th of a second).
What am I missing here?
Regards and TIA
-Philipp Leibfried
Speech Design GmbH
82110 Germering
Germany
www.speech-design.de
--
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03
More information about the gstreamer-devel
mailing list