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

Joseph Miller josephcmiller2 at gmail.com
Thu Dec 23 16:38:31 CET 2010


I keep getting floating point exceptions after doing the following.  I
have attached mencoder output.

/opt/mplayer/bin/mencoder -oac mp3lame -srate 44100 -ovc x264 -vf
harddup -of lavf -o integra-lavf.mp4 integra.mp4
/opt/mplayer/bin/mencoder -ovc copy -oac copy -nosound -of rawvideo
integra-lavf.mp4 -o video.h264
/opt/mplayer/bin/mencoder -ovc copy -oac copy -of rawaudio
integra-lavf.mp4 -o audio.mp3
MP4Box -fps 30 -new integra-mp4box.mp4 -add video.h264 -add audio.mp3

Then...

/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
exactly sure what triggers it.  I can get around this by encoding to
.mp4 with mencoder and not using lavf, then reencoding that file using
mencoder lavf.

-Joseph
-------------- next part --------------
MEncoder SVN-r32724-4.4.5 (C) 2000-2010 MPlayer Team
success: format: 0  data: 0x0 - 0xf22d5
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.8 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, 48.0 kbit/3.40% (ratio: 6000->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 ( 6%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]

1 duplicate frame(s)!
VIDEO CODEC ID: 28
AUDIO CODEC ID: 15002, TAG: 0
Writing header...
[mp4 @ 0xcc8c40]dimensions not set
Floating point exception


More information about the MPlayer-dev-eng mailing list