Il comando che uso è questo:
Codice: Seleziona tutto
mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:aspect=4/3 -ofps 25 -o file.mpg file.aviCodice: Seleziona tutto
MEncoder UNKNOWN-4.4.3 (C) 2000-2009 MPlayer Team
137 audio & 297 video codecs
success: format: 0 data: 0x0 - 0x308f9e1c
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [mp4v] 592x320 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x7634706D size:592x320 fps:25.000 ftime:=0.0400
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: [scale w=720 h=576]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
audiocodec: framecopy (format=ff chans=2 rate=44100 bits=16 B/s=0 sample-0)
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 592 x 320 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.85:1 - prescaling to correct movie aspect.
[swscaler @ 0x8f91790]BICUBIC scaler, from yuv420p to yuv420p using MMX2
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
Pos: 0.0s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.004 [0:0]
1 duplicate frame(s)!
Writing header...P.S.
Ragazzi ho provato anche con un secondo file ora e funziona. Sarà il file in questione. Può darsi che non sia .avi ma abbia solo quell'estensione?


