我不知道该使用Ubuntumplayer
还是mplayer2
Ubuntu 的软件包。两者都有我需要的功能,但缺少其他我需要的功能。
mplayer
很棒,我一直在用它,直到我收到视频文件错误*.dat
,错误是
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
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: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [spdif] libavformat/spdifenc audio pass-through decoder.
AUDIO: 48000 Hz, 2 ch, mpeg2, 768.0 kbit/50.00% (ratio: 96000->192000)
Selected audio codec: [spdifmpa] afm: spdif (libavformat/spdifenc MPEG AUDIO BC pass-through decoder)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
[format] Sample format big-endian MPEG-2 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned error code -2
[libaf] Unable to setup filter system can not meet sound-card demands, please send a bug report.
Couldn't find matching filter/ao format!
Audio: no sound
因此,我尝试移动到mplayer2
,播放相同的文件。音频出来了,工作。但后来,我意识到,mplayer2
没有我需要的东西,
Unknown option on the command line: --udp-master
MPlayer2 2.0-701-gd4c5b7f-2ubuntu2 (C) 2000-2012 MPlayer Team
因此,问题是
- 如何启用 mpg123
mplayer
? - 或者,如何启用 udp 进行同步网络播放
mplayer2
?
我尝试从其网站下载了 mplayer 1.3,并进行了编译。但是错误越来越多,视频甚至无法显示,
configure
在 ubuntu 的包上使用的选项是什么mplayer
,我正在考虑使用相同的选项,mpg123
在编译时添加。
谢谢。