Log in

View Full Version : gmplayer incorrect frame size error message


WalterK
18th November 2007, 21:21
Hello i have been searching for an answer to this error in gmplayer.
Any Divx hidef encoded file i attempt to playback in gmplayer stutters and has a popup message of "incorrect frame size" play the same file from the terminal with mplayer and it runs smooth no errors in playback.
Heres a little snip of the the error message using gmplayer (gnome gui for mplayer) from the terminal/

Walter@homeserver:~/$ gmplayer 041fmv1.avi
MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) XP 2700+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
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 /home/Walter/041fmv1.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Forced NON-INTERLEAVED AVI file format.
VIDEO: [DX50] 1280x720 24bpp 29.970 fps 4000.1 kbps (488.3 kbyte/s)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[mp3 @ 0x87fd370]incorrect frame size
mdb:384, lastbuf:0 skipping granule 0
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -4 enddists: -3 -3
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -4 enddists: -1 -1
overread, skip -4 enddists: -2 -2
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -5 enddists: -3 -3
overread, skip -4 enddists: -1 -1
[mp3 @ 0x87fd370]incorrect frame size
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
overread, skip -5 enddists: -4 -4 0.000 1/ 1 ??% ??% ??,?% 0 0
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -4 enddists: -1 -1
[mp3 @ 0x87fd370]incorrect frame size
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -6 enddists: -5 -5
overread, skip -6 enddists: -4 -4
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -6 enddists: -4 -4 -0.000 2/ 2 ??% ??% ??,?% 1 0
overread, skip -4 enddists: -1 -1
[mp3 @ 0x87fd370]incorrect frame size
overread, skip -4 enddists: -2 -2
overread, skip -6 enddists: -5 -5
overread, skip -5 enddists: -2 -2
[mp3 @ 0x87fd370]incorrect frame size
It seems to indicate the problem is with the mp3 audio.
But i don't know what it all means.
If it was as big an error as gmplayer is reporting shouldn't it be reflected also in mplayer?
Is it my version of ffmpeg, mp3lame or mplayer?
Are they too new, with the exception of mp3lame all the others are svn versions.
I know for certain this error was not appearing in older versions of mplayer or ffplay, ffplay lists the error in the terminal but plays the video without stuttering the way gmplayer does.
Another note these are all professional hidef divx encoded files.
I don't know what the profile used to encode is.

WalterK
19th November 2007, 00:02
Well i don't know why but rolling back to MPlayer 2:1.0~rc1 stopped the error so it was either a new bug or a new feature in mplayer that detects badly encoded files, i'll go with the idea thats it a bug since cmdline mplayer has no problems and does not spit up errors about this, while its gmplayer that does it.
Ffplay once ffmpeg had a svn update stopped spitting up errors as well i wasn't so lucky with an svn update to mplayer still the same error when using gmplayer.

nm
19th November 2007, 08:36
Your gmplayer seems to use ffmp3 as an audio decoder (and it won't work in most cases), while mplayer probably uses mp3lib. I don't know how you can change these settings in gmplayer, but this command-line option should fix it: -ac mp3, (note the comma in the end: it tells MPlayer to try other audio decoders if the audio track is not MP3).