[MPlayer-users] 4.5 GB AVI file

wbrana wbrana at gmail.com
Mon Mar 18 14:53:56 CET 2013


> What happens with -noidx or -forceidx?
It seems file has broken index. -forceidx fixes playback.

MPlayer 35989-4.7.3 (C) 2000-2013 MPlayer Team

Playing old.avi.
Cache fill:  0.00% (0 bytes)

libavformat version 55.0.100 (internal)
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
Generating Index:  99 %
AVI: Generated index table for 572724 chunks!
VIDEO:  [H264]  1280x720  24bpp  29.970 fps  4500.8 kbps (549.4 kbyte/s)
Load subtitles in ./
ID_FILENAME=old.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=4500792
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=7995.03
ID_SEEKABLE=1
ID_CHAPTERS=0
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [hqdn3d=2:1:0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.1.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
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, 224.0 kbit/7.29% (ratio: 28000->384000)
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio)
==========================================================================
AO: [alsa] 48000Hz 2ch s32le (4 bytes per sample)
ID_AUDIO_CODEC=ffmp3float
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [gl] 1280x720 => 1280x720 Planar YV12

> What exactly happens when MPlayer cannot play the file?
> What is the full MPlayer output?

MPlayer 35989-4.7.3 (C) 2000-2013 MPlayer Team

Playing old.avi.
Cache fill:  0.00% (0 bytes)

libavformat version 55.0.100 (internal)
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
** empty list?!
Detected NON-INTERLEAVED AVI file format.
VIDEO:  [H264]  1280x720  24bpp  29.970 fps  4939.0 kbps (602.9 kbyte/s)
Load subtitles in ./
ID_FILENAME=old.avi
ID_DEMUXER=avini
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=4938968
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=173.64
ID_SEEKABLE=1
ID_CHAPTERS=0
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [hqdn3d=2:1:0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.1.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Requested audio codec family [mpg123] (afm=mpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp3float @ 0x396d8460e0]Header missing
[mp3float @ 0x396d8460e0]Header missing
[mp3float @ 0x396d8460e0]Header missing
[mp3float @ 0x396d8460e0]Header missing
[mp3float @ 0x396d8460e0]Header missing
[mp3float @ 0x396d8460e0]Header missing
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp3 @ 0x396d8460e0]Header missing
[mp3 @ 0x396d8460e0]Header missing
[mp3 @ 0x396d8460e0]Header missing
[mp3 @ 0x396d8460e0]Header missing
[mp3 @ 0x396d8460e0]Header missing
[mp3 @ 0x396d8460e0]Header missing
Unknown/missing audio format -> no sound
ADecoder init failed :(
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Requested audio codec family [mp3acm] (afm=acm) not available.
Enable it at compilation.
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
AUDIO: 22050 Hz, 1 ch, mpeg2, 224.0 kbit/63.49% (ratio: 28000->44100)
ID_AUDIO_BITRATE=224000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=1
Selected audio codec: [hwmpa] afm: hwmpa (MPEG audio pass-through for
hardware MPEG decoders)
==========================================================================
[format] Sample format big-endian MPEG-2 not yet supported
[libaf] Reinitialization did not work, audio filter 'format' returned
error code -2
Error at audio filter chain pre-init!

Exiting... (Fatal error)
ID_EXIT=ERROR

> Also MPlayer and ffplay behaving the same way is highly suspicious, they use completely different code to read AVI files, unless you configured MPlayer differently.
with ffplay there is some corrupted output with many error messages like
[h264 @ 0x3937c062990] no frame!   0KB vq=15382KB sq=    0B f=0/0
[h264 @ 0x3937c0011c0] missing picture in access unit with size 8744
[h264 @ 0x3937c062550] error while decoding MB 31 19, bytestream (-7)
[h264 @ 0x3937c062550] concealing 2098 DC, 2098 AC, 2098 MV errors in B frame
[h264 @ 0x3937c071c20] error while decoding MB 23 37, bytestream (-8)
[h264 @ 0x3937c071c20] concealing 666 DC, 666 AC, 666 MV errors in B frame
[h264 @ 0x3937c071c20] error while decoding MB 28 40, bytestream (-28)
[h264 @ 0x3937c071c20] concealing 421 DC, 421 AC, 421 MV errors in P frame
[h264 @ 0x3937c0011c0] missing picture in access unit with size 8927
[mp3 @ 0x3937c001d40] Header missing
[h264 @ 0x3937c0011c0] missing picture in access unit with size 9117
[h264 @ 0x3937c062990] no frame!   0KB vq=15368KB sq=    0B f=0/0
[h264 @ 0x3937c062550] error while decoding MB 31 23, bytestream (-8)
[h264 @ 0x3937c062550] concealing 1778 DC, 1778 AC, 1778 MV errors in B frame
[mp3 @ 0x3937c001d40] Header missing


More information about the MPlayer-users mailing list