我在跑:
- Lubuntu 10.10
- MPlayer 2:1.0~rc4~try1.dsfg1-1ubuntu1+medibuntu1
- w32codecs 1:20110131-0.1medibuntu3
在尝试玩耍时流式 rtsp 剪辑使用 mplayer 时,我收到一条错误消息:Cannot find codec for audio format 0x55.
根据这里,音频格式 0x55 是“MPEG-1 Layer 3 (MP3)”,应该受支持l3codeca.acm
。我确实在 中有 l3codeca.acm /usr/lib/codecs
。但是,当 mplayer 尝试加载此编解码器时,它会显示(请参阅下面的完整日志):
Opening audio decoder: [acm] Win32/ACM decoders
Loading codec DLL: 'l3codeca.acm'
Loaded DLL driver l3codeca.acm at 212d000
ACM_Decoder: Unappropriate audio format
Could not load/initialize Win32/ACM audio codec (missing DLL file?).
看起来像这家伙有同样的问题,但他正在播放本地文件。
根据mplayer 的编解码器状态表,这个编解码器“与安全内核补丁冲突”,但我不确定这是什么意思。
有什么想法吗?我并不特别需要它在 mplayer 中工作,我只是希望能够播放它。但是,vlc 和 openRTMP 对我来说也不起作用(尽管我可能没有正确使用 openRTMP)。
以下是 mplayer 输出的所有信息:
$ mplayer rtsp://rs2.SichosInEnglish.org:554/sie/heritage/01.mp3
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 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://rs2.SichosInEnglish.org:554/sie/heritage/01.mp3.
Resolving rs2.SichosInEnglish.org for AF_INET6...
Couldn't resolve name for AF_INET6: rs2.SichosInEnglish.org
Resolving rs2.SichosInEnglish.org for AF_INET...
Connecting to server rs2.SichosInEnglish.org[75.99.96.252]: 554...
rtsp_session: session can not be established.
STREAM_LIVE555, URL: rtsp://rs2.SichosInEnglish.org:554/sie/heritage/01.mp3
Stream not seekable!
file format detected.
Initiated "audio/X-MP3-DRAFT-00" RTP subsession on port 36274
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'mp3float' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [acm] Win32/ACM decoders
Loading codec DLL: 'l3codeca.acm'
Loaded DLL driver l3codeca.acm at 212d000
ACM_Decoder: Unappropriate audio format
Could not load/initialize Win32/ACM audio codec (missing DLL file?).
ADecoder preinit failed :(
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x55.
Audio: no sound
Video: no video
Exiting... (End of file)`