[MPlayer-users] avi cut and A/V sync

RC rcooley at spamcop.net
Sun Oct 2 23:33:07 CEST 2005


On Mon, 3 Oct 2005 11:21:07 +0200 (CEST)
Kovács Gábor <fottkrumpli at freemail.hu> wrote:

> I'm kind of stuck with this problem.
> 
> Could someone who has mencoder compiled from the newest CVS
> just try to run this command and please check the A/V sync:
> 
> mencoder anything.avi -ss 1:00 -endpos 1:00 -o cut.avi -oac
> copy -ovc copy
> 
> thanks in advance: Gábor

Sure, that's easy enough...

# mencoder-cvs The\ Ghost\ and\ the\ Darkness\ \(R-109m-1996\).divx -ss
 1:00 -endpos 1:00 -o cut.avi -oac copy -ovc copy 
MEncoder dev-CVS-050925-12:18-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1) Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

success: format: 0  data: 0x0 - 0x2cce56d0
AVI file format detected.
VIDEO:  [XVID]  704x304  24bpp  23.976 fps  832.6 kbps (101.6 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:704x304  fps:23.98  ftime:=0.0417
=======================================================================
=== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
=======================================================================
=== videocodec: framecopy (704x304 24bpp fourcc=44495658)
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=8308
sample-0) Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header. ODML: Aspect information not (yet?) available or
unspecified, not writing vprp header. Pos:   0.9s     22f ( 0%)   0fps
Trem:   0min  13mb  A-V:0.085 [0:59] Skipping frame!
Pos:   5.2s    126f ( 0%)   0fps Trem:   0min  48mb  A-V:0.084 [486:63]
Skipping frame!
Pos:  60.0s   1441f ( 1%)   0fps Trem:   0min 339mb  A-V:0.028 [541:68]
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream:  541.061 kbit/s  (67632 B/s)  size: 4059191 bytes  60.018
secs  1441 frames

Audio stream:   68.566 kbit/s  (8570 B/s)  size: 514248 bytes  60.000
secs


"cut.avi" a/v syncs-up perfectly. 




More information about the MPlayer-users mailing list