システムでVLC
を使用していくつかのaviファイルを再生すると、次のエラーが発生します。
No suitable decoder module:
VLC does not support the audio or video format "undf".
Unfortunately there is no way for you to fix this.
smplayer
、totem
、mplayer
、Gnome MPlayer
などの他のプレーヤーをテストしましたが、これらのファイルを再生できないプレーヤーはいます。
私は、ubuntu 13.04
を完全に更新してubuntu-restricted-extras
を使用して、64ビットマルチアーキテクチャ対応マシンにインストールしました。
この問題について質問がありました here しかし、これはWindowsユーザー向けのようで、明確な答えはありません。
この質問は、ubuntu固有の問題ではなく一般的なLinuxの問題であると考えているため、ここで質問しました( AskUbunt で質問する必要があります)。
前もって感謝します。
更新:
まったく再生されず、上記のエラーが発生するファイルに対してmplayer -identify
コマンドを実行して得られる出力:
$ mplayer -identify myVideoFile2013.avi
MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 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 myVideoFile2013.avi
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
ID_VIDEO_ID=0
libavformat file format detected.
[mp3 @ 0x7fbae9eee540]Header missing
[mp3 @ 0x7fbae9eee540]Header missing
...
[mp3 @ 0x7fbae9eee540]Header missing
[mp3 @ 0x7fbaea7788c0]Estimating duration from bitrate, this may be inaccurate
ID_AUDIO_ID=0
[lavf] stream 0: audio (mp1), -aid 0
Load subtitles in ./
ID_FILENAME=myVideoFile2013.avi
ID_DEMUXER=lavf
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=unknown
ID_LENGTH=0.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
[mp2float @ 0x7fbae9eee540]Header missing
[mp2float @ 0x7fbae9eee540]Header missing
[mp2float @ 0x7fbae9eee540]Header missing
[mp2float @ 0x7fbae9eee540]Header missing
[mp2float @ 0x7fbae9eee540]Header missing
[mp2float @ 0x7fbae9eee540]Header missing
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp2 @ 0x7fbae9eee540]Header missing
[mp2 @ 0x7fbae9eee540]Header missing
[mp2 @ 0x7fbae9eee540]Header missing
[mp2 @ 0x7fbae9eee540]Header missing
[mp2 @ 0x7fbae9eee540]Header missing
[mp2 @ 0x7fbae9eee540]Header missing
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)
AUDIO: 11025 Hz, 2 ch, mpeg2, 64.0 kbit/18.14% (ratio: 8000->44100)
ID_AUDIO_BITRATE=64000
ID_AUDIO_RATE=11025
ID_AUDIO_NCH=2
Selected audio codec: [hwmpa] afm: hwmpa (MPEG audio pass-through for hardware MPEG decoders)
==========================================================================
AO: [Pulse] 11025Hz 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
Video: no video
Exiting... (End of file)
ID_EXIT=EOF
数秒間再生してから停止するファイルに対してmplayer -identify
コマンドを実行して得られる出力:
$ mplayer -identify myVideoFile.avi
MPlayer svn r34540 (Ubuntu), built with gcc-4.7 (C) 2000-2012 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 myVideoFile.avi
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 624x352 24bpp 23.976 fps 1030.6 kbps (125.8 kbyte/s)
Clip info:
Software: transcode-1.0.6
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=transcode-1.0.6
ID_CLIP_INFO_N=1
Load subtitles in ./
ID_FILENAME=myVideoFile.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=1030640
ID_VIDEO_WIDTH=624
ID_VIDEO_HEIGHT=352
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=1265.43
ID_SEEKABLE=0
ID_CHAPTERS=0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.35.0 (external)
Mismatching header version 53.32.2
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [Pulse] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffmp3float
Starting playback...
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7727
VO: [xv] 624x352 => 624x352 Planar YV12
A: 20.2 V: 20.2 A-V: 0.000 ct: -0.042 485/485 3% 0% 0.5% 0 0
[mpeg4 @ 0x7f6d41dbf540]dc marker bit missing
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 386
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]ac-tex damaged at 17 2
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 97
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]cbpc damaged at 13 17
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 693
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]ac-tex damaged at 14 2
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 94
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 532
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]ac-tex damaged at 14 2
[mpeg4 @ 0x7f6d41dbf540]Error at MB: 94
[mpeg4 @ 0x7f6d41dbf540]marker does not match f_code
[mpeg4 @ 0x7f6d41dbf540]concealing 858 DC, 858 AC, 858 MV errors
A: 20.2 V: 20.2 A-V: -0.017 ct: -0.045 486/486 3% 0% 0.5% 0 0
Exiting... (End of file)
ID_EXIT=EOF
ついに私は答えを見つけました。問題はファイルにあります。 I 破損したファイルを取得しました。ファイルのチェックサムを確認した後、ファイルが破損していることがわかりました。
$md5sum myVideoFile.avi #the one that gives the error
2ff0cc68fcc51ce79c0692c3df2b2228 myVideoFile.avi
$md5sum originalVideoFile.avi
4133330d6abc8276c8feb332a211424b originalVideoFile.avi
エラーのあるすべてのファイルが破損しています。ファイルを再度取得した後、すべてがエラーなしで正常に動作します。