Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to play a .ra streaming with mplayer from this url:

rtsp://mm6.rai.it/radiofonia/radio3/napoli/battiti/2012/battiti2012_10_04.ra

I use to execute the command mplayer rtsp://url.ra, but now this seems doesn't work

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
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 rtsp://mm6.rai.it/radiofonia/radio3/napoli/battiti/2012/battiti2012_10_04.ra.
Resolving mm6.rai.it for AF_INET6...

Couldn't resolve name for AF_INET6: mm6.rai.it
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.53]: 554...

librtsp: server responds: ''
librtsp: server responds: ''
rtsp: read error.
librtsp: server responds: ''
Cache size set to 640 KBytes
Cache fill:  0.00% (0 bytes)   

Cache not filling, consider increasing -cache and/or -cache-min!
Detected file format: REAL
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
RM: No audio stream found -> no sound.
No stream found.


Exiting... (End of file)

After a little googleing i have found that the problem is libav, so I have probed the command mplayer --demuxer=lav rtsp://url.ra

MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
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 rtsp://mm6.rai.it/radiofonia/radio3/napoli/battiti/2012/battiti2012_10_04.ra.
Resolving mm6.rai.it for AF_INET6...

Couldn't resolve name for AF_INET6: mm6.rai.it
Resolving mm6.rai.it for AF_INET...
Connecting to server mm6.rai.it[212.162.85.53]: 554...

librtsp: server responds: ''
librtsp: server responds: ''
rtsp: read error.
librtsp: server responds: ''
Cache size set to 640 KBytes
Cache fill:  0.00% (0 bytes)   

Detected file format: RealMedia format (libavformat)
Cache not filling, consider increasing -cache and/or -cache-min!
[lavf] stream 0: audio (cook), -aid 0
Clip info:
title: BATTITI DEL 04.10.2012
author: BATTITI
copyright: Copyright © 1997 2000 Netia Digital Audi
comment: 
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
ad_ffmpeg: initial decode failed
ADecoder init failed :(
Could not open audio decoder ffmpeg.
Opening audio decoder: [realaud] RealAudio decoder
Error: /usr/lib/codecs/cook.so: cannot open shared object file: No such file    or directory
Win32 LoadLibrary failed to load: /usr/lib/codecs/cook.so
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.
Read the RealAudio section of the DOCS!
ADecoder preinit failed :(
Could not open audio decoder realaud.
Opening audio decoder: [realaud] RealAudio decoder
AUDIO: 22050 Hz, 1 ch, s16le, 20.7 kbit/inf% (ratio: 2583->0)
Selected audio codec: [racook] afm: realaud (RealAudio COOK)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or  directory
AO: [alsa] 22050Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...


MPlayer interrupted by signal 8 in module: decode_audio

The command mplayer -ac help tell me that the cook.so codec is present

...
...
ra10cook    realaud   working   RealPlayer 10 COOK audio  [cook.so]
racook      realaud   working   RealAudio COOK  [cook.so.6.0]
...

I am using the latest version of linux mint with kernel 3.2.0.

EDIT: If I download the streaming before and eventually play it with mplayer all works fine.

Where is the problem?

share|improve this question
    
Check your network setup: rtsp: read error - that's where I'd start investigating. –  don_crissti Oct 7 '12 at 16:28
    
If you want to distinguish network trouble from format trouble, you can try to download the stream using MSDL first and then play the downloaded version. Either method seemed to work here, so the stream as such seems to be ok. –  Ulrich Schwarz Oct 7 '12 at 17:18
    
thanx for hint. i didn't know MSDL. –  emanuele Oct 7 '12 at 17:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.