[MPlayer-users] Playing a raw PCM audio RTP stream

Jan-Benedict Glaw jbglaw at lug-owl.de
Tue Sep 4 10:24:00 CEST 2007


Hi!

I'm currently playing a bit with pulseaudio, one of the sound servers.
You can bind a RTP-sending sink to other sinks and I gave it a try,
but was unsuccessful to play such a stream with mplayer.

On the pulseaudio mailing list, I was told[1] that this just used to work
out of the box (mplayer rtp://224.0.0.56:46778), because the stream
content is put into the type descriptor. However, mplayer tries to
detect the stream type by content these days:

$ mplayer rtp://224.0.0.56:46778
MPlayer dev-SVN-rUNKNOWN-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing rtp://224.0.0.56:46778.
STREAM_RTP, URL: rtp://224.0.0.56:46778
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/codecs/avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
Stream not seekable!
libavformat file format detected.
Stream not seekable!
Stream not seekable!
[lavf] Audio stream found, -aid 0
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
a52: CRC check failed!  
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 96.0 kbit/6.25% (ratio: 12000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
a52: CRC check failed!  unknown) ??,?% 
a52: error at resampling
A:   0.4 (00.4) of 0.0 (unknown) ??,?% 
[...]


Any chance to force it to just use the type description, or to
manually force a specific interpretation?

Thanks, JBG

[1] https://tango.0pointer.de/pipermail/pulseaudio-discuss/2007-September/000678.html
-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:              Fortschritt bedeutet, einen Schritt so zu machen,
the second  :                   daß man den nächsten auch noch machen kann.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20070904/6639d25c/attachment.pgp>


More information about the MPlayer-users mailing list