[MPlayer-advusers] Mencoder + lavf == BOOM !
Guillaume POIRIER
poirierg at gmail.com
Tue Sep 27 15:06:05 CEST 2005
Hi there,
A command such as:
mencoder input.movie -o 2.flv -of lavf -ovc lavc -oac lavc -lavcopts vcodec=flv
or any command line that uses lavf produces a SIGFPE.
Here is the log+backtrace
success: format: 0 data: 0x0 - 0x788b0000
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
OK, exit
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=320 h=240]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
The selected video_out device is incompatible with this codec.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
VIDEO CODEC ID: 0
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/0ch/??...
Building audio filter chain for 48000Hz/2ch/s16le -> 22050Hz/2ch/s16le...
AUDIO CODEC ID: 15001, TAG: 55
Writing AVI header...
[flv @ 0x7b9020]dimensions not set
WRITTEN HEADER
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 46912528759824 (LWP 17753)]
0x000000000052a447 in av_frac_add (f=0xaffe40, incr=51840000) at utils.c:3151
3151 f->val += num / den;
(gdb) bt
#0 0x000000000052a447 in av_frac_add (f=0xaffe40, incr=51840000) at
utils.c:3151
#1 0x000000000052a645 in compute_pkt_fields2 (st=0xaffe10, pkt=0xb6)
at utils.c:2349
#2 0x000000000052aa27 in av_interleaved_write_frame (s=0xaf0740,
pkt=0x7fffffdf9840) at utils.c:2488
#3 0x00000000004e5b4e in write_chunk (stream=0xaff520, len=182,
flags=0) at muxer_lavf.c:256
#4 0x0000000000409743 in main (argc=182, argv=0xb6) at mencoder.c:1210
I'm gonna see what I wan do to narrow down the problem, but I can say
for sure that mencoder + lavf used to work (an 18-wheeler full of cola
ahead!)
Guillaume
--
Reading doesn't hurt, really!
-- Dominik 'Rathann' Mierzejewski
More information about the MPlayer-advusers
mailing list