Failure to maintain A-V sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



This is a continuation of my search for enlightenment as to why on
playing certain MPEG2 files, mplayer cannot maintain A-V sync.

The two logs (edited for size) attached to this post are from:
mplayer -ao alsa::device=hw=0.3 -vo vdpau -vc ffmpeg2 -alang ENG 
foo.MPEG2

Fox40-test-MPEG2-beforedd.log is from the first few minutes of a 
program recorded OTA with HD HomeRun.

Fox40-test-MPEG2-afterdd.log is the first few minutes of the same file
cut off using dd: 
dd bs=1M count=100 skip=0 if=Fox40-test-beforedd.MPEG2 \
of=Fox40-test-afterdd.MPEG2

On playback of Fox40-test-beforedd.MPEG2 mplayer is unable to maintain
A-V sync and drops frames (see log).

On playback of Fox40-test-afterdd.MPEG2, mplayer mainains
A-V sync, and there are no dropped frames.

In other words, dd appears to solve the A-V sync problem. (cp does not)

I'd really like to understand why this happens. Some readers will 
recognize this as a restart of my thread "audio leads video". My PVR 
was out of commission for a couple of weeks (MB replaced). I'm still 
trying to understand the problem.  FWIW, this happens with only one 
channel, so it may be something in their transmission. On all 
recordings, sound and video are great, and only Fox40 has sync 
problems.

Thanks.


MPlayer SVN-r29251 (C) 2000-2009 MPlayer Team
Playing test.mp2.
TS file format detected.
VIDEO MPEG2(pid=49) AUDIO A52(pid=52) NO SUBS (yet)!  PROGRAM N. 3
VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  19392.8 kbps (2424.1 kbyte/s)
==========================================================================
Forced video codec: ffmpeg2
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12 
A:90168.7 V:   0.0 A-V:90168.703 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 
... (skipped 3117)
A:90221.2 V:90221.2 A-V:  0.007 ct: -0.474 3119/3119 14% 51%  1.0% 0 0 
a52: CRC check failed!  
A:90221.2 V:90221.2 A-V:  0.006 ct: -0.473 3120/3120 14% 51%  1.0% 0 0 
... (skipped 52)
A:90221.5 V:90222.0 A-V: -0.508 ct: -0.524 3172/3172 14% 52%  1.0% 0 0 
Exiting... (End of file)

MPlayer SVN-r29251 (C) 2000-2009 MPlayer Team
Playing Saviors.mp2.
TS file format detected.
VIDEO MPEG2(pid=49) AUDIO A52(pid=52) NO SUBS (yet)!  PROGRAM N. 3
VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  19392.8 kbps (2424.1 kbyte/s)
==========================================================================
Forced video codec: ffmpeg2
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 Planar YV12 
A:90168.7 V:   0.0 A-V:90168.719 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 
... (skipped 5393)
A:90259.6 V:90259.1 A-V:  0.462 ct: -0.475 5395/5395 13% 64%  2.6% 1556 0 
Exiting... (Quit)

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux