[gst-devel] gstreamer-devel Digest, Vol 55, Issue 44

Edward Hervey bilboed at gmail.com
Sat Dec 11 11:05:06 CET 2010


On Sat, 2010-12-11 at 10:49 +0100, Shamun toha md wrote:
> But why the following then works its in UDP, its doing multicast,
> exactly the same what i am trying with vorbis/ogg ? 

  Because if a raw audio packet gets dropped or reordered (which is
insanely small in terms of samples [1]) you will not really noticed it
and they are self-sufficient (they don't require the previous/next
packest to be played back).
  But for compressed data one single packet dropped will cause
corruption of the whole stream.

> - When its transparent and no encode/decoder used it  works, its the
> OGGDEMUX causing this. WHY THEN THE FOLLOWING CODE WORKS ???

  YOU SEEM TO HAVE A PROBLEM WITH YOUR CAPSLOCK KEY ! CAN YOU PLEASE FIX
THAT ? THANKYOU

  Edward

[1] a standard udp packet is 1500bytes, at 44100 samples per second x 2
(channels) x 2 (bytes per sample), that gives you around 8ms of audio
per packet. 8ms of audio being dropped isn't really noticeable.





More information about the gstreamer-devel mailing list