[MPlayer-users] A/V sync problem with rc2

Bohdan Linda bohdan.linda at seznam.cz
Thu May 15 12:03:02 CEST 2008


Hello,

I am using mencoder to downsample avi files for my PMP. My config for
mencoder is attached bellow.

The problem is this worked perfectly for version MPlayer 1.0rc1-4.2.3, but from
rc2 up to  dev-SVN-r26779-4.2.3 the problem is, that during seeking in mplayer
audio get restarted from beginning, but video continues well (PMP just
crashes).

Adding ovf=lavf=yes seems helping a bit, but audio is shifted heavily, so no
fix. Please note, that almost every video has frame reduction, but maybe it is
not related. For more info I have paste mplayer output for both working and non
working version. Note that file although named the same is recoded from
original with mencoder of given version

Removing noodml=yes does not fix the problem.

Please can you advise, what is causing the problem?

Thank you,
Bohdan 


== mplayer.conf
[m7-lo-1]
profile-desc="Low quality encoding for M7 - pass 1"
idx=yes
forceidx=yes
noodml=yes
ofps=16
ovc=lavc=yes
vf=scale=320:-2,expand=:240:::1,crop=320:240
ffourcc=XVID
lavcopts=vcodec=mpeg4:vbitrate=92:vmax_b_frames=0:mbd=1:vpass=1:abitrate=48
sws=9
oac=lavc=yes
af=resample=16000:pan=1:0.5:0.5:volume=8
srate=16000
passlogfile=/tmp/passstats.log

[m7-lo-2]
profile-desc="Low quality encoding for M7 - pass 2"
profile=m7-lo-1
lavcopts=vcodec=mpeg4:vbitrate=92:vmax_b_frames=0:mbd=2:trell=yes:vpass=2:abitrate=48

[m7-hi-1]
profile-desc="High quallity encoding for M7 - pass 1"
profile=m7-lo-1
lavcopts=vcodec=mpeg4:vbitrate=128:vmax_b_frames=0:mbd=1:vpass=1:abitrate=48

[m7-hi-2]
profile-desc="High quallity encoding for M7 - pass 2"
profile=m7-lo-1
lavcopts=vcodec=mpeg4:vbitrate=128:vmax_b_frames=0:mbd=2:trell=yes:vpass=2:abitrate=48

===============================

MPlayer dev-SVN-r26779-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing m7/aa.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  320x240  24bpp  16.000 fps  129.6 kbps (15.8 kbyte/s)
Clip info:
 Software: MEncoder dev-SVN-r26779-4.2.3
[VO_XV] Using Xv Adaptor #0 (NV17 Video Texture)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 16000 Hz, 2 ch, s16le, 48.0 kbit/9.38% (ratio: 6000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 16000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:3171.7 V: 294.9 A-V:2876.863 ct:  0.719 4719/4719  0%  0%  0.2% 0 0
Exiting... (Quit)

MPlayer 1.0rc1-4.2.3 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)
Cannot test OS support for SSE, disabling to be safe.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing m7/aa.avi.
AVI file format detected.
VIDEO:  [XVID]  320x240  24bpp  16.000 fps  129.6 kbps (15.8 kbyte/s)
Clip info:
 Software: MEncoder 1.0rc1-4.2.3
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 16000 Hz, 2 ch, s16le, 48.0 kbit/9.38% (ratio: 6000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding
[AO ARTS] Connected to sound server.
[AO ARTS] Stream opened.
[AO ARTS] buffer size: 20480
[AO ARTS] buffer size: 2048
AO: [arts] 16000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar YV12
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  77.5 V:  77.5 A-V:  0.004 ct:  0.276 1241/1241  0%  0%  0.3% 0 0






More information about the MPlayer-users mailing list