[MPlayer-dev-eng] x264 dimensions not set / float point exception

compn tempn at twmi.rr.com
Fri Dec 24 19:44:45 CET 2010


On Fri, 24 Dec 2010 10:56:34 -0500, Joseph Miller wrote:
>On Thu, Dec 23, 2010 at 10:12 PM, compn <tempn at twmi.rr.com> wrote:
>> On Thu, 23 Dec 2010 10:38:31 -0500, Joseph Miller wrote:
>>>I keep getting floating point exceptions after doing the following.  I
>>>have attached mencoder output.
>>>
>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o
>>>integra-reencode.mp4 integra-mp4box.mp4
>>>/opt/mplayer/bin/mencoder -oac faac -ovc x264 -of lavf -o
>>>integra-reencode.mp4 integra-lavf.mp4
>>>
>>>That last two give me Floating point exception.
>>>
>>>I have uploaded integra.mp4 and integra-lavf.mp4 and
>>>integra-mp4box.mp4 to the following location:
>>>http://www.calcmaster.net/downloads/fpx/
>>>
>>>I have had this happen on MP4Box files and other .mp4 files.  I'm not

the problem with this bug is that its hard to reproduce. can you tell
us what cpu you are using ?

try running your mencoder on a different box, another user with the
same fpe found he couldnt reproduce it on another box either.

your samples work on my p4 1.5ghz:

F:\>mencoder -oac faac -ovc x264 -of lavf -o integra-reencode.mp4
integra-mp4box.mp4 MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010
MPlayer Team 161 audio & 353 video codecs
success: format: 0  data: 0x0 - 0xf7802
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (mp3), -aid 0, -alang und
VIDEO:  [H264]  400x304  24bpp  30.000 fps  240.5 kbps (29.4 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:400x304  fps:30.000
ftime:=0.0333
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz,
2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400) Selected audio
codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
** MUXER_LAVF
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can
generate INCORRECT files in the presence of B-frames. Moreover, due to
bugs MPlayer will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit. Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ;
-1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Pos:   0.0s      1f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]

1 duplicate frame(s)!
Muxer frame buffer cannot allocate memory!
Pos:   0.0s      2f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.003 [0:0]
Movie-Aspect is 1.32:1 - prescaling to correct movie aspect.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2 Cache64
x264 [info]: profile High, level 2.1
Fontconfig error: Cannot load default config file
Fontconfig failed to select a font. Trying without fontconfig...
Fontconfig failed to select a font. Trying without fontconfig...

1 duplicate frame(s)!
Muxer frame buffer cannot allocate memory!
Pos:   0.0s     42f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.068 [0:0]

Skipping frame!
Pos:   0.0s     43f ( 7%)  0.00fps Trem:   0min   0mb  A-V:0.031 [0:0]
VIDEO CODEC ID: 28
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
[mp4 @ 0102c758]Codec for stream 0 does not use global headers but
container format requires global headers
[mp4 @ 0102c758]Codec for stream 1 does not use global headers but
container format requires global headers
Pos:   2.1s    106f (17%) 17.09fps Trem:   0min   0mb  A-V:0.067
[221:88]

Skipping frame!
Pos:  19.2s    620f (100%) 11.93fps Trem:   0min   0mb  A-V:0.030
[223:93]

Flushing video frames.
Writing index...

Video stream:  226.874 kbit/s  (28359 B/s)  size: 582309 bytes  20.533
secs  620 frames

Audio stream:   93.084 kbit/s  (11635 B/s)  size: 229379 bytes  19.714
secs x264 [info]: frame I:3     Avg QP:20.73  size:  7087
x264 [info]: frame P:221   Avg QP:25.07  size:  1743
x264 [info]: frame B:392   Avg QP:29.22  size:   448
x264 [info]: consecutive B-frames: 11.6%  2.9% 19.6% 65.9%
x264 [info]: mb I  I16..4: 37.1% 33.2% 29.8%
x264 [info]: mb P  I16..4:  6.8%  2.4%  1.4%  P16..4: 36.2% 16.2%
5.5%  0.0%  0.0%    skip:31.6% x264 [info]: mb B  I16..4:  1.1%  0.1%
0.1%  B16..8: 43.0%  3.9%  0.2%  direct: 0.4%  skip:51.1% L0:47.5%
L1:49.0% BI: 3.5% x264 [info]: 8x8 transform intra:21.0% inter:68.7%
x264 [info]: coded y,uvDC,uvAC intra: 21.0% 26.9% 6.1% inter: 8.7% 8.1%
0.7% x264 [info]: i16 v,h,dc,p: 40% 53%  3%  4%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 27% 35%  5%  3%  3%
6%  3%  6% x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 47% 18%  2%
3%  2%  5%  1%  3% x264 [info]: i8c dc,h,v,p: 57% 33%  8%  1%
x264 [info]: Weighted P-Frames: Y:11.3%
x264 [info]: ref P L0: 59.7% 19.4% 16.4%  4.1%  0.4%
x264 [info]: ref B L0: 87.3% 10.6%  2.1%
x264 [info]: ref B L1: 94.4%  5.6%
x264 [info]: kb/s:226.87

F:\>


More information about the MPlayer-dev-eng mailing list