[MEncoder-users] lavf floating point exception / dimensions not set

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Dec 22 12:40:26 CET 2010


On Tue, Dec 21, 2010 at 12:08:03PM -0500, Joseph Miller wrote:
> I checked out mplayer on Dec 20, 2010.  I keep getting the lavf
> floating point exception and I don't know what to do.  Could someone
> point me in the right direction?
> 
> /opt/mplayer/bin/mencoder -oac faac -ovc x264 -x264encopts
> qp=5:bframes=0 -o bbcl1-alldealers-cin.mp4 bbcl1-alldealers-web.mp4
> -vf harddup -of lavf
> MEncoder SVN-r32724-4.4.5 (C) 2000-2010 MPlayer Team
> success: format: 0  data: 0x0 - 0x7bafca
> libavformat file format detected.
> [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (mp3), -aid 0, -alang und
> VIDEO:  [H264]  480x360  24bpp  29.970 fps  450.6 kbps (55.0 kbyte/s)
> [V] filefmt:44  fourcc:0x34363248  size:480x360  fps:29.970  ftime:=0.0334
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
> 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 filter: [harddup]
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==========================================================================
> Pos:   0.0s      1f ( 1%)  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 @ 0xda4da0]dimensions not set
> Floating point exception

Your video consists only of one frame. I expect that this will end up
with actually 0 frames in the output file and that ends up with some
important values not set, nobody really considered muxing an empty
file...


More information about the MEncoder-users mailing list