[MEncoder-users] Error: [NULL @ 00997678]picture size invalid (0x0)

foobaz utne foobaz_utne at yahoo.com
Tue Jun 27 22:06:32 CEST 2006


Hello,

I am trying to encode an flv file to mpeg2 so I can
transfer it to DVD. I have been using the following
commandline parameters with the Windows version up
until now with good results:

mencoder %1 -o "%rootname%.mpg" -oac lavc -lavcopts
acodec=ac3:abitrate=192 -ovc lavc -lavcopts
vcodec=mpeg2video:aspect=4/3:keyint=18:vrc_buf_size=1835:vrc_maxrate=9656:vbitrate=5000
-vf expand=720:480,harddup -of mpeg -mpegopts
format=dvd -ofps 30000/1001 -srate 48000 -af
lavcresample=48000 

I have encountered a file that has crashed the program
with the following output:

MEncoder 1.0pre8-3.4.2 (C) 2000-2006 MPlayer Team
CPU:               Intel(R) Pentium(R) D CPU 2.80GHz
(Family: 15, Model: 4, Step
ping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0
SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x643800
libavformat file format detected.
VIDEO:  [FLV1]  320x240  0bpp  29.970 fps    0.0 kbps
( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x31564C46  size:320x240 
fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec
audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 0.0 kbit/0.00% (ratio:
0->44100)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG
layer-3 audio decoder)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
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: [expand w=720 h=480]
Expand: 720 x 480, -1 ; -1, osd: 0, aspect: 0.000000,
round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg
Flash video)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.

Flushing video frames
[NULL @ 00997678]picture size invalid (0x0)

Is there any way to just skip offending frames and
insert a duplicate or blank frame of the right size?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the MEncoder-users mailing list