RAストリーミングメディア再生にmplayerを使用すると問題が発生します。

RAストリーミングメディア再生にmplayerを使用すると問題が発生します。

mplayerを使用して次の.raストリームを再生しようとしています。

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

以前はコマンドを実行していましたが、mplayer 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)   

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)

インターネット検索後に問題がlibavにあることを発見し、コマンドを調べました。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

このコマンドは、コーデックが存在するmplayer -ac helpことを知らせます。cook.so

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

私はカーネル3.2.0を含む最新バージョンのLinux Mintを使用しています。

編集する:以前にストリームをダウンロードしてmplayerで再生すると、すべてがうまくいきます。

何が問題なの?

ベストアンサー1

おすすめ記事