[MPlayer-users] a/v sync problem after multi-file cat

Simon Yan simonyanix at gmail.com
Mon Apr 9 10:27:09 CEST 2007


Hi all,
    Here's what i've been trying to do, to cat multiple .flv files into one
single file. All original files are converted by mencoder using same
options. The following is the command for cat'in files:

[root at localhost video]# mencoder 4/edit_.flv 4/edit_.flv -oac copy -ovc copy
-o lq.flv                                       MEncoder
dev-SVN-r22949-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0  data: 0x0 - 0x2ee896
libavformat file format detected.
VIDEO:  [FLV1]  320x240  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x31564C46  size:320x240  fps:25.00  ftime:=0.0400
videocodec: framecopy (320x240 0bpp fourcc=31564c46)
audiocodec: framecopy (format=55 chans=2 rate=22050 bits=16 B/s=6000
sample-0)
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.
success: format: 0  data: 0x0 - 0x2ee896:   0min   2mb  A-V:0.046 [164:58]
libavformat file format detected.
VIDEO:  [FLV1]  320x240  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x31564C46  size:320x240  fps:25.00  ftime:=0.0400
videocodec: framecopy (320x240 0bpp fourcc=31564c46)
audiocodec: framecopy (format=55 chans=2 rate=22050 bits=16 B/s=7332
sample-0)
Pos: 107.4s   2685f ( 2%)  0.00fps Trem:   0min 137mb  A-V:-0.082 [165:58]
1 duplicate frame(s)!
Pos: 107.8s   2695f ( 2%)  0.00fps Trem:   0min 138mb  A-V:-0.082 [165:58]
1 duplicate frame(s)!
Pos: 108.3s   2705f ( 3%)  0.00fps Trem:   0min  92mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 108.7s   2715f ( 4%)  0.00fps Trem:   0min  69mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 109.2s   2725f ( 4%)  0.00fps Trem:   0min  70mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 109.6s   2735f ( 4%)  0.00fps Trem:   0min  70mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 110.0s   2745f ( 5%)  0.00fps Trem:   0min  56mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 110.5s   2755f ( 5%)  0.00fps Trem:   0min  56mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 110.9s   2765f ( 6%)  0.00fps Trem:   0min  47mb  A-V:-0.082 [166:58]
1 duplicate frame(s)!
Pos: 111.4s   2776f ( 6%)  0.00fps Trem:   0min  47mb  A-V:-0.082 [167:58]
1 duplicate frame(s)!
Writing index...06f (100%) 4473.86fps Trem:   0min   5mb  A-V:-0.067[164:58]
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.

Video stream:  164.366 kbit/s  (20545 B/s)  size: 4368856 bytes
212.640secs  5306 frames

Audio stream:   58.653 kbit/s  (7331 B/s)  size: 1562807 bytes  213.159 secs


The result file comes with really significant a/v sync problem, the audio
plays normally, but the video goes very fast.
Can any one help with this?



More information about the MPlayer-users mailing list