[MEncoder-users] mencoder -ss ?? doesnt seem to want to work
SZABO Zsolt
szazs at mm.bme.hu
Mon Jan 16 16:06:05 CET 2006
On Sun, 15 Jan 2006, Oded Shimon wrote:
> On Sun, Jan 15, 2006 at 04:35:53PM +0100, SZABO Zsolt wrote:
>>
>>> An even better method is to make an editlist (EDL) file with the start
>>> and stop times you want, and use:
>>>
>>> mencoder -hr-edl-seek -edl file.edl ....
>>>
>>> This will give frame-exact cutting.
>>
>> I would like to "reencode" an avi cutting out (or skipping) some seconds
>> from it:
>>
>> mecoder input.avi -hr-edl-seek -edl input.edl -ovc copy -oac copy -o
>> output.avi
>
> -hr-edl-seek is not garunteed to work correctly with -ovc copy, but it
> should work ok in this case.
>
>> however, this did not work. That is the frames to be cut out are still in
>> the output.avi which has the same size as input.avi has. (Testing the EDL
>> with mplayer is OK [it skips the unwanted part]:
>> mplayer -edl input.edl input.avi)
>
> That is odd.. There have been some updates to edl in mencoder since
> 1.0pre7, you might want to try cvs.
Have tried. No change. Generates avi with same length and not regarding
the edl file.
Here is some output:
$ /usr/local/bin/mencoder a.avi -hr-edl-seek -edl a.edl -ovc copy -oac
copy -o a.avi -ffourcc XVID
MEncoder dev-CVS-060116-14:36-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium M Dothan (Family: 6, Stepping: 6)
CPUflags: Type: 6 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 - 0x2e8f5258
AVI file format detected.
VIDEO: [FMP4] 696x456 24bpp 25.000 fps 1199.3 kbps (146.4 kbyte/s)
[V] filefmt:3 fourcc:0x34504D46 size:696x456 fps:25.00 ftime:=0.0400
videocodec: framecopy (696x456 24bpp fourcc=34504d46)
Forcing output fourcc to 44495658 [XVID]
Building audio filter chain for 0Hz/0ch/s16le -> 0Hz/0ch/??...
audiocodec: framecopy (format=50 chans=2 rate=44100 bits=0 B/s=24000
sample-0)
Read 2 EDL actions.
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.
Writing index...83f (100%) 1594.65fps Trem: 0min 736mb A-V:0.040
[1199:192]
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Video stream: 1199.344 kbit/s (149918 B/s) size: 667333090 bytes
4451.320 secs 111283 frames
Audio stream: 192.000 kbit/s (24000 B/s) size: 106831622 bytes
4451.317 secs
$ cat a.edl
2337.3 2597.1 1
4444.0 4451.3 1
Any hint or idea?
sZs
More information about the MEncoder-users
mailing list