[MEncoder-users] scaling segfaulting...
John Doe
jdmls at yahoo.com
Mon Jul 26 18:29:06 CEST 2010
Hi,
I am trying to encode an ogv file
(http://www.longtailvideo.com/jw/upload/bunny.ogv )
While my old mencoder (r26859) version is working fine, a rescent one (r31772)
is segfaulting...
/video/1/bin/mencoder "bunny.ogv" -endpos 30 -o "bunny.flv" -of lavf -lavfopts
format=flv -oac mp3lame -lameopts abr:br=64 -srate 44100 -ovc lavc -lavcopts
vcodec=flv:vqscale=5:mbd=2:v4mv:keyint=125:trell:autoaspect -sws 2 -vf
scale=480:268,crop=480:256:0:6,harddup -ofps 25
MEncoder dev-SVN-r26859-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (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 - 0x4288cf
[Ogg] stream 0: video (Theora v3.2.0), -vid 0
[Ogg] stream 1: audio (Vorbis), -aid 0
Ogg file format detected.
VIDEO: [theo] 720x400 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:18 fourcc:0x6F656874 size:720x400 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
** 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 filter: [crop w=480 h=256 x=0 y=6]
Crop: 480 x 256, 0 ; 6
Opening video filter: [scale w=480 h=268]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0x8814cd0]Missing extradata!
Could not open codec.
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
VDec: vo config request - 720 x 400 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6
[swscaler @ 0x87fd538]BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x87fd538]using 8-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x87fd538]using 8-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x87fd538]using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x87fd538]720x400 -> 480x268
videocodec: libavcodec (480x256 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
[VE_LAVC] Using constant qscale = 5.000000 (VBR).
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
==========================================================================
MP3 audio selected.
Skipping frame!
Pos: 0.0s 1f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 2f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.004 [0:0]
Skipping frame!
Pos: 0.0s 3f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.008 [0:0]
Skipping frame!
Pos: 0.0s 4f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.012 [0:0]
Skipping frame!
Pos: 0.0s 5f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.016 [0:0]
Skipping frame!
Pos: 0.0s 6f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.020 [0:0]
Skipping frame!
Pos: 0.0s 7f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.024 [0:0]
Skipping frame!
Pos: 0.0s 8f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.028 [0:0]
Skipping frame!
VIDEO CODEC ID: 22f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.031 [0:0]
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
Pos: 0.1s 11f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.039 [0:0]
8 duplicate frame(s)!
Pos: 30.0s 752f (95%) 50.34fps Trem: 0min 1mb A-V:0.044 [428:65]
Flushing video frames.
Writing index...
Video stream: 428.461 kbit/s (53557 B/s) size: 1608871 bytes 30.040 secs
752 frames
Audio stream: 65.686 kbit/s (8210 B/s) size: 246444 bytes 30.015 secs
===== segfaulting version =====
/video/2/bin/mencoder "bunny.ogv" -endpos 30 -o "bunny.flv" -of lavf -lavfopts
format=flv -oac mp3lame -lameopts abr:br=64 -srate 44100 -ovc lavc -lavcopts
vcodec=flv:vqscale=5:mbd=2:v4mv:keyint=125:trell:autoaspect -sws 2 -vf
scale=480:268,crop=480:256:0:6,harddup -ofps 25
MEncoder SVN-r31772-4.1.2 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x4288cf
libavformat file format detected.
[theora @ 0xa850180] 7 bits left in packet 82
[lavf] stream 0: video (theora), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0
VIDEO: [theo] 720x400 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x6F656874 size:720x400 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
** 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 filter: [crop w=480 h=256 x=0 y=6]
Crop: 480 x 256, 0 ; 6
Opening video filter: [scale w=480 h=268]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0xa9f1b70] 7 bits left in packet 82
Selected video codec: [fftheora] vfm: ffmpeg (FFmpeg Theora)
==========================================================================
MP3 audio selected.
Movie-Aspect is nan:1 - prescaling to correct movie aspect.
[swscaler @ 0xaa176d0] BICUBIC scaler, from yuv420p to yuv420p using MMX2
videocodec: libavcodec (480x256 fourcc=31564c46 [FLV1])
[VE_LAVC] High quality encoding selected (non-realtime)!
[VE_LAVC] Using constant qscale = 5.000000 (VBR).
Segmentation fault
If I remove the scaling "scale=480:268", it works...
A known problem...?
Thx,
JD
More information about the MEncoder-users
mailing list