View Single Post
Posts: 24 | Thanked: 2 times | Joined on Feb 2007
#12
Here is an example of a fiel that won't be encoded

here is the mencoder command generated by

>> mencoder in.avi -o out.avi -srate 44100 -oac mp3lame -lameopts vbr=0:br=128 -af volnorm -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400 -vf-add crop=484:242 -vf-add scale=352:176 -ofps 23.976 -ffourcc DIVX -noidx

MEncoder 1.0rc1-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (Family: 15, Model: 2, Stepping: 7)
MMX2 supported but disabled
CPUflags: Type: 15 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilé pour CPU x86 avec les extensions: MMX 3DNow SSE SSE2

succès: format: 0 data: 0x0 - 0x2bc1d800
Fichier de type AVI détecté.
VIDEO: [DX50] 580x242 12bpp 23.976 fps 810.6 kbps (98.9 kbyte/s)
[V] filefmt:3 fourcc:0x30355844 size:580x242 fps:23.98 ftime:=0.0417
================================================== ========================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
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)
================================================== ========================
Ouverture du filtre vidéo: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Ouverture du filtre vidéo: [scale w=352 h=176]
Ouverture du filtre vidéo: [crop w=484 h=242]
Crop: 484 x 242, -1 ; -1
================================================== ========================
Ouverture du décodeur vidéo: [ffmpeg] FFmpeg's libavcodec codec family
Codec vidéo choisi: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
Code fourcc de sortie forcé à 58564944 [DIVX]
Audio MP3 sélectionné
VDec: requête de config de vo - 580 x 242 (espace colorimétrique préferé: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
L'aspect du film est 2.40:1 - pré-redimensionnement à l'aspect correct.
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: BICUBIC scaler, from yuv420p to yuv420p using 3DNOW
SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 484x242 -> 352x176
videocodec: libavcodec (352x176 fourcc=58564944 [DIVX])
Instruction illégale( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]


removing the "-vf-add scale=352:176" makes mencoder accept to encode (but scaling is no good...)

Any ideas ? thanks a bunch.