Audio and Video Streaming
durgas1987 at gmail.com
Sun Jul 31 20:44:44 PDT 2011
Thank you so much for your reply.
This is the pipeline i am using to stream the audio:
gst-launch-0.10 -v filesrc location="/bulk/x.mp3" ! audio/mpeg,
mpegversion=1, layer=3 ! decodebin ! audioconvert ! audio/x-raw-int,
channels=2, depth=16, width=16, rate=48000, endianness=4321 ! rtpL16pay
ptime-multiple=2660000 pt=97 ssrc=0 timestamp-offset=0 seqnum-offset=0
mtu=1000 ! udpsink host=126.96.36.199 port=51000 sync=true qos=true
I am suppose to stream 512 bytes/packet at every 2.66ms. Receiver is
expecting the packets in that time interval only.
How can i acheive that. mtu is used to specify the packet lenght. But if i
use mtu=512, it is sending 9 packets with 512 bytes and 10th packet as
120bytes. This pattern continues. Moreover it is sending in a different time
intervals, which is causing overrun/underrun issues at the receiver side.
Receiver is expecting the packets at a constant time interval, that is
512bytes/packet for every 2.66ms.
I used ptime-multiple=2660000 assuming it would satisfy my requirement. But
i failed. Audio is streamed with choppiness. Guess receiver is missing some
of the packets, which is only causing that choppiness.
Is there any way, i can acheive this requiremt??
Thanks in advance.
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Audio-and-Video-Streaming-tp3706344p3708847.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel