Próbuje przekodować materiał wideo z MOV do AVI, i mam problem gdyż mniej więcej w połowie mencoder zgłasza błąd jak w temacie i przerywa kodowanie. Dodam że najpierw wyciągam dźwięk do czystego WAV'a i następnie koduje mp3lame, czyli:
Kod: Zaznacz cały
mplayer film.mov -ao pcm:waveheader -vo null
Kod: Zaznacz cały
mencoder film.mov -ffourcc XVID -oac mp3lame -lameopts cbr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:turbo:vbitrate=1600 -audiofile audiodump.wav -o wyjscie.avi
Kod: Zaznacz cały
MEncoder SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
success: format: 0 data: 0x0 - 0x1ee6a96
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [H264] 854x480 0bpp 25.000 fps 1229.8 kbps (150.1 kbyte/s)
Audio only file format detected.
[V] filefmt:65536 fourcc:0x34363248 size:854x480 fps:25.000 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Forcing output FourCC to 44495658 [XVID].
audiocodec: framecopy (format=55 chans=2 rate=44100 bits=16 B/s=16000 sample-0)
VDec: vo config request - 854 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (854x480 fourcc=44495658 [XVID])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 95.1s 2378f (47%) 9.25fps Trem: 4min 49mb A-V:0.040 [1945:136]
Too many audio packets in the buffer: (4096 in 1330715 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Video stream: 1945.502 kbit/s (243187 B/s) size: 23132021 bytes 95.120 secs 2378 frames
Audio stream: 136.907 kbit/s (17113 B/s) size: 1636622 bytes 95.634 secs