[MPlayer-users] WMV Stitching A/V problem

K Saunders information at saunderswebsolutions.com
Mon Apr 20 18:04:08 CEST 2009


Hi,

I've been creating a stitched WMV file on the fly.

After a serious amount of googling I've managed to get the stitching 
process to work OK. Problem is A/V synch. The audio gradually gets out 
of synch so that by the end of a 1 minute movie the audio is lagging 
around 0.5 secs

Here's the command I'm using
mencoder 27wmv.wmv 36wmv_captioned.wmv 8wmv.wmv -o test.wmv \
-ovc lavc -lavcopts vcodec=wmv2 \
-oac lavc -lavcopts acodec=wmav2 \
-of lavf \
-vf harddup -mc 0 -noskip -ofps 25.00

The output shows around 12 duplicate frames per minute of movie.

I've tried different combinations of
-vf harddup
-mc 0
-noskip

Nothing works so far.

I'm getting this kind of result in the log

VIDEO:  [WMV3]  720x576  24bpp  1000.000 fps  3082.2 kbps (376.2 kbyte/s)
[V] filefmt:6  fourcc:0x33564D57  size:720x576  fps:1000.00  ftime:=0.0010

Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16002->192000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))

Pos:   0.9s     23f (36%)  0.00fps Trem:   0min   1mb  A-V:0.039 [0:223]
Pos:   1.0s     24f (36%)  0.00fps Trem:   0min   1mb  A-V:0.043 [0:223]
Pos:   1.0s     25f (36%)  0.00fps Trem:   0min   1mb  A-V:0.042 [0:224]

Any suggestions? I'm really stuck on this one.

Kevin


More information about the MPlayer-users mailing list