Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#639 closed defect (invalid)

"Header missing skipping one byte" and "Incorrect frame size" during playback

Reported by: felix_adrianto@… Owned by: nicolas.plourde@…
Priority: normal Component: MPlayer OS X
Version: HEAD Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I compiled mplayer SVN rev 20879 with XCode 2.4.1 (gcc 4.0.0). My hardware specs is:
Osx86 10.4.7 with SSE3 support, P4 prescott, ATI Radeon 9700, 1Gb DDR mem.

As suggested in the MPlayer website I should disable win32 and mp3lib. The compilation went through
successfuly. When I played video file with mp3 audio, I got the error saying Incorrect frame size. The
movie was playing with bad audio. I have this problem with all my animes I downloaded from the net.

MPlayer dev-SVN-r20879-4.0.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/Users/felix/.mplayer/codecs.conf'
Reading /Users/felix/.mplayer/codecs.conf: Can't open '/Users/felix/.mplayer/cod
ecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '/Users/felix/Desktop/Blood+/Incorret_frame_size.avi'
init_freetype
get_path('font/font.desc') -> '/Users/felix/.mplayer/font/font.desc'
font: can't open file: /Users/felix/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/Users/felix/.mplayer/fonts'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/felix/.mplayer/input.conf'
Can't open input config file /Users/felix/.mplayer/input.conf: No such file or d
irectory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
get_path('Incorret_frame_size.avi.conf') -> '/Users/felix/.mplayer/Incorret_fram
e_size.avi.conf'

Playing /Users/felix/Desktop/Blood+/Incorret_frame_size.avi.
get_path('sub/') -> '/Users/felix/.mplayer/sub/'
[file] File size is 262144 bytes
STREAM: [file] /Users/felix/Desktop/Blood+/Incorret_frame_size.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 35104 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 480
==========================
list_end=0x10F4
==> Found video stream: 0

STREAM Header =====

Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0 Len: 35104
Suggested BufferSize: 182487
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======

biSize 40
biWidth 640
biHeight 480
biPlanes 1
biBitCount 24
biCompression 1145656920='XVID'
biSizeImage 1843200

===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1

STREAM Header =====

Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0 Len: 23425042
Suggested BufferSize: 8000
Quality -1
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x4
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===============================================================
===========
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=35104)
list_end=0xE770532
Found movie at 0x280C - 0xE770532
stream_seek: WARNING! Can't seek to 0xE770532 !
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=218965012 (35104) audio size=23425042
VIDEO: [XVID] 640x480 24bpp 23.976 fps 1196.4 kbps (146.0 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x480 fps:23.98 ftime:=0.0417
get_path('sub/') -> '/Users/felix/.mplayer/sub/'
===============================================================
===========
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
===============================================================
===========
===============================================================
===========
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
[mp3 @ 0x633ec0]incorrect frame size
invalid new backstep 7962
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
===============================================================
===========
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AO: [macosx] source: 48000.0Hz 16bit [lpcm] int LE S packed
AO: [macosx] using 47 chunks of 4096 bytes (buffer len 196608 bytes)
AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
XXX initial v_pts=0.000 a_pos=8000 (0.500)
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]Header missing skipping one byte.
[mp3 @ 0x633ec0]incorrect frame size
overread, skip -6 enddists: -3 -3

Attachments (2)

mplayer.log (291.7 KB ) - added by felix_adrianto@… 17 years ago.
The log file contains the error message
Incorrect_frame_size.avi (256.0 KB ) - added by felix_adrianto@… 17 years ago.
Sample video file

Download all attachments as: .zip

Change History (7)

by felix_adrianto@…, 17 years ago

Attachment: mplayer.log added

The log file contains the error message

comment:1 by felix_adrianto@…, 17 years ago

This is the log file that I got during the playback

by felix_adrianto@…, 17 years ago

Attachment: Incorrect_frame_size.avi added

Sample video file

comment:2 by felix_adrianto@…, 17 years ago

This is the sample file that I used during the playback to generate the
problem. Any help?

comment:3 by reimar, 17 years ago

You need libmad or similar to play badly muxed AVI files with mp3 sound.
Alternatively avparser support or fixing mp3lib compilation is necessary.

comment:4 by felix_adrianto@…, 17 years ago

Using libmad to play the video file solves my problem.

Thanks

(In reply to comment #3)

You need libmad or similar to play badly muxed AVI files with mp3 sound.
Alternatively avparser support or fixing mp3lib compilation is necessary.

comment:5 by nicolas.plourde@…, 17 years ago

Resolution: invalid
Status: newclosed

You need libmad or similar to play badly muxed AVI files with mp3 sound.
Alternatively avparser support or fixing mp3lib compilation is necessary.

Note: See TracTickets for help on using tickets.