[MEncoder-users] Bug: floating point exception when converting to DV
Levente Novák
lnovak at dragon.unideb.hu
Sun May 13 23:09:32 CEST 2007
Corey Hickey wrote:
> Levente Novák wrote:
> > What is strange that the same SIGFPE reappears. I think no SIGFPE should
> > occur normally, it should print an error message instead.
>
> The relevant function in lavf returns an error value, but there is
> (currently) no way in mencoder to pass that error back from the muxer,
> through the encoder, and up the filter chain.
>
> I don't know if I'll address this; I seem to remember a thread about
> muxer return values a long time ago, but I can't find it and I may be
> mistaken.
>
> > Also, I don't really understand why the conversion of this FFVHuff AVI does
> > not work: the video size is OK and audio is also converted to 2 ch,
> > 48000 Hz s16le PCM. Do you see something I missed in my command line?
>
> I don't see anything that should be wrong; please upload the file (or
> enough of it to test).
>
I've cut out a small excerpt from the FFVHuff encoded file and uploaded
it to ftp://upload.mplayerhq.hu/MPlayer/incoming/ as ffvhuff-422p_small.avi
and the same brief description than here as ffvhuff-422p_small.txt.
Here is the command line and the error log:
mencoder-test2 ffvhuff-422p_small.avi -vf
il=d:d,scale,format=yv12,il=i:i -af resample=48000:channels=2 -fps 25
-ofps 25 -of lavf -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames:format=dv -oac pcm
-ovc lavc -lavcopts vcodec=dvvideo -o ffvhuff-422p_small.dv
MEncoder dev-SVN-r23302-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 3.06GHz (Family: 15, Model: 4, Stepping: 1)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x500000
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [FFVH] 720x576 16bpp 25.000 fps -62408.3 kbps (-7618.2
kbyte/s)
[V] filefmt:3 fourcc:0x48564646 size:720x576 fps:25.00 ftime:=0.0400
Input fps will be interpreted as 25.00 instead.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
** MUXER_LAVF
*****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will
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: [il=i:i]
Opening video filter: [format fmt=yv12]
Opening video filter: [scale]
Opening video filter: [il=d:d]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffhuffyuv] vfm: ffmpeg (FFmpeg HuffYUV)
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: Planar 422P)
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x889bc98]SwScaler: BICUBIC scaler, from yuv422p to yuv420p
using MMX2
[swscaler @ 0x889bc98]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x889bc98]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x889bc98]SwScaler: using 1-tap MMX "scaler" for vertical
scaling (YV12 like)
[swscaler @ 0x889bc98]SwScaler: 720x576 -> 720x576
videocodec: libavcodec (720x576 fourcc=64737664 [dvsd])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
VIDEO CODEC ID: 25
AUDIO CODEC ID: 10000, TAG: 0
Writing header...
[dv @ 0x8768e28]Can't initialize DV format!
Make sure that you supply exactly two streams:
video: 25fps or 29.97fps, audio: 2ch/48Khz/PCM
(50Mbps allows an optional second audio stream)
Floating point exception
Levente
PS: I am sending this mail directly from the link at the ML archive
as our mail server does not work ATM. Sorry if it does not appear in
its proper thread.
More information about the MEncoder-users
mailing list