audio leads video

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

 



OK, Carl. I'll try again. I'm sure that you will give me guidance if 
needed :-)

My problem. I am recording digital television off-the-air using an HD 
HomeRun tuner, which produces an MPEG2 file. On some of the recordings 
(from particular channels, all the time) when they are replayed using 
mplayer (log attached) the audio leads the video by several seconds. By 
this I mean, a character starts talking before his lips starts moving. 

A temporary correction can be made with seek -1 seek +1

The mplayer command being used is:

player -mc 0.2 -autosync 30 -dr -tskeepbroken -ao alsa::device=hw=0.3 
-vo vdpau -vc ffmpeg2 -alang eng -zoom -fs foo.mp2

The '-mc 0.2' and '-autosync 30' do not appear to have any effect.

'-tskeepbroken' is there because the reception is sometimes poor, 
leading to hard-to-play MPEG2 files.

The problem occurs even when reception is perfect.

The configuration of the system being used for reception and replay is:
  MB: ASUS P5N7A-VM
  CPU: Intel Core 2 Duo E8400 Wolfdale 3.0GHz 6MB L2 Cache 
  Memory: Corsair DDR2-800 2x1 GB
  Disk: WD Scorpio Black 2.5" 250GB 16G cache SATA 3.0
  Ethernet: Realtek RTL8211CL Gigabit Ethernet
  Sound: Realtek ALC1200 (ASUS proprietary implementation)
  OS: Linux Fedora 10 kernel-2.6.27.12-170.2.5.fc10.i686
  Alsa: driver and libs 1.0.20 (local compiled)
  Mplayer: SVN-r29251-4.3.2
mplayer -mc 0.2 -autosync 30 -dr -tskeepbroken -ao alsa::device=hw=0.3 -vo vdpau -vc ffmpeg2 -alang eng -zoom -fs /tv/Bones/The_Salt_in_the_Wounds.mp2
MPlayer SVN-r29251-4.3.2 (C) 2000-2009 MPlayer Team
Playing /tv/Bones/The_Salt_in_the_Wounds.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  [fs] [zoom]
A:60982.9 V:   0.0 A-V:60982.855 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 
... (skipped 2652)
A:61118.8 V:61118.8 A-V:  0.001 ct:  0.077 2654/2654 17% 77%  4.9% 202 0 
a52: CRC check failed!  
a52: error at resampling
           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
A:61119.5 V:61118.8 A-V:  0.658 ct:  0.143 2655/2655 17% 77%  4.9% 203 0 
... (skipped 59)
A:61119.8 V:61119.8 A-V:  0.000 ct:  0.746 2715/2715 17% 77%  4.6% 262 0 
[mpeg2video @ 0x878c520]skipped MB in I frame at 60 16
... (skipped 44)
[mpeg2video @ 0x878c520]concealing 3440 DC, 3440 AC, 3440 MV errors

A:61119.8 V:61119.8 A-V:  0.001 ct:  0.746 2716/2716 17% 77%  4.6% 263 0 
... (skipped 166)
A:61123.2 V:61123.2 A-V: -0.001 ct:  0.147 2883/2883 17% 78%  4.0% 416 0 
a52: CRC check failed!  
A:61123.2 V:61123.2 A-V: -0.000 ct:  0.147 2884/2884 17% 78%  4.0% 417 0 
... (skipped 6)
A:61123.4 V:61123.4 A-V:  0.008 ct:  0.152 2891/2891 17% 78%  4.0% 423 0 
a52: CRC check failed!  
a52: error at resampling
A:61124.0 V:61123.4 A-V:  0.660 ct:  0.218 2892/2892 17% 78%  4.0% 424 0 
... (skipped 30)
A:61123.9 V:61123.9 A-V:  0.025 ct:  0.806 2923/2923 17% 78%  3.9% 455 0 
a52: CRC check failed!  
a52: error at resampling
A:61123.9 V:61123.9 A-V:  0.029 ct:  0.809 2924/2924 17% 78%  3.9% 456 0 
... (skipped 1)
A:61124.0 V:61123.9 A-V:  0.046 ct:  0.819 2926/2926 17% 78%  3.9% 458 0 
a52: CRC check failed!  
a52: error at resampling
A:61124.7 V:61124.0 A-V:  0.715 ct:  0.890 2927/2927 17% 78%  3.9% 459 0 
... (skipped 14)
A:61124.4 V:61124.2 A-V:  0.147 ct:  1.402 2942/2942 17% 78%  3.9% 474 0 
a52: CRC check failed!  
a52: error at resampling
A:61124.4 V:61124.2 A-V:  0.139 ct:  1.416 2943/2943 17% 78%  3.9% 475 0 
... (skipped 5)
A:61124.8 V:61124.3 A-V:  0.451 ct:  1.774 2949/2949 17% 78%  3.9% 481 0 
[mpeg2video @ 0x878c520]ac-tex damaged at 43 10
... (skipped 36)
[mpeg2video @ 0x878c520]concealing 2880 DC, 2880 AC, 2880 MV errors

A:61124.7 V:61124.3 A-V:  0.407 ct:  1.814 2950/2950 17% 78%  3.9% 482 0 
... (skipped 19)
A:61125.2 V:61125.3 A-V: -0.045 ct:  1.603 2970/2970 17% 78%  3.8% 502 0 
a52: CRC check failed!  
a52: error at resampling
A:61125.3 V:61125.3 A-V: -0.029 ct:  1.600 2971/2971 17% 78%  3.9% 503 0 
... (skipped 11)
A:61126.0 V:61125.5 A-V:  0.457 ct:  1.800 2983/2983 17% 78%  3.8% 515 0 
a52: CRC check failed!  
a52: error at resampling
A:61126.0 V:61125.5 A-V:  0.468 ct:  1.847 2984/2984 17% 78%  3.8% 516 0 
... (skipped 6)
A:61126.2 V:61125.6 A-V:  0.604 ct:  2.368 2991/2991 17% 78%  3.8% 523 0 
[mpeg2video @ 0x878c520]mb incr damaged
... (skipped 31)
[mpeg2video @ 0x878c520]concealing 2000 DC, 2000 AC, 2000 MV errors

A:61126.2 V:61125.7 A-V:  0.541 ct:  2.422 2992/2992 17% 78%  3.8% 524 0 
... (skipped 17)
A:61126.6 V:61126.6 A-V: -0.040 ct:  2.312 3010/3010 17% 78%  3.8% 542 0 
a52: CRC check failed!  
a52: error at resampling
A:61126.6 V:61126.6 A-V: -0.025 ct:  2.310 3011/3011 17% 78%  3.8% 543 0 
A:61126.6 V:61126.6 A-V: -0.025 ct:  2.310 3011/3011 17% 78%  3.8% 543 0 
a52: CRC check failed!  
A:61127.6 V:61126.6 A-V:  0.944 ct:  2.404 3012/3012 17% 78%  3.8% 544 0 
... (skipped 2)
A:61127.4 V:61126.7 A-V:  0.713 ct:  2.639 3015/3015 17% 78%  3.8% 547 0 
[mpeg2video @ 0x878c520]ac-tex damaged at 64 9
... (skipped 40)
[mpeg2video @ 0x878c520]concealing 3040 DC, 3040 AC, 3040 MV errors

A:61127.3 V:61126.7 A-V:  0.643 ct:  2.704 3016/3016 17% 78%  3.8% 548 0 
... (skipped 28)
A:61127.8 V:61127.8 A-V: -0.009 ct:  2.638 3045/3045 17% 78%  3.8% 577 0 
[mpeg2video @ 0x878c520]skipped MB in I frame at 43 29
... (skipped 23)
[mpeg2video @ 0x878c520]concealing 1600 DC, 1600 AC, 1600 MV errors

A:61127.8 V:61127.8 A-V: -0.007 ct:  2.637 3046/3046 17% 77%  3.8% 578 0 
... (skipped 10)
A:61128.4 V:61128.7 A-V: -0.262 ct:  2.214 3057/3057 17% 77%  3.8% 588 0 
[mpeg2video @ 0x878c520]ac-tex damaged at 29 41
... (skipped 26)
[mpeg2video @ 0x878c520]concealing 2080 DC, 2080 AC, 2080 MV errors

A:61128.5 V:61128.7 A-V: -0.234 ct:  2.191 3058/3058 17% 77%  3.8% 589 0 
... (skipped 24)
A:61129.7 V:61129.8 A-V: -0.075 ct:  1.398 3083/3083 17% 77%  3.7% 614 0 
a52: CRC check failed!  
A:61129.7 V:61129.8 A-V: -0.066 ct:  1.391 3084/3084 17% 77%  3.7% 615 0 
... (skipped 2)
A:61129.8 V:61129.8 A-V: -0.049 ct:  1.375 3087/3087 17% 77%  3.7% 618 0 
[mpeg2video @ 0x878c520]invalid mb type in I Frame at 76 26
... (skipped 44)
[mpeg2video @ 0x878c520]concealing 3440 DC, 3440 AC, 3440 MV errors

A:61130.4 V:61129.8 A-V:  0.590 ct:  1.434 3088/3088 18% 77%  3.7% 619 0 
... (skipped 30)
A:61131.3 V:61131.3 A-V: -0.020 ct:  1.052 3119/3119 18% 77%  3.7% 649 0 
a52: CRC check failed!  
a52: error at resampling
A:61131.3 V:61131.3 A-V:  0.015 ct:  1.053 3120/3120 18% 77%  3.7% 650 0 
... (skipped 45)
A:61132.1 V:61132.1 A-V:  0.006 ct:  1.732 3166/3166 18% 77%  3.8% 696 0 
[mpeg2video @ 0x878c520]skipped MB in I frame at 7 16
... (skipped 42)
[mpeg2video @ 0x878c520]concealing 3360 DC, 3360 AC, 3360 MV errors

A:61132.1 V:61132.1 A-V:  0.007 ct:  1.733 3167/3167 18% 77%  3.8% 697 0 
... (skipped 34)
A:61133.3 V:61133.3 A-V: -0.019 ct:  1.107 3202/3202 18% 77%  4.0% 731 0 
[mpeg2video @ 0x878c520]ac-tex damaged at 72 3
... (skipped 8)
[mpeg2video @ 0x878c520]concealing 3337 DC, 3337 AC, 3337 MV errors

A:61133.3 V:61133.3 A-V: -0.016 ct:  1.105 3203/3203 18% 77%  4.0% 732 0 
... (skipped 2041)
A:61168.0 V:61168.0 A-V: -0.001 ct:  0.469 5245/5245 18% 77%  3.7% 2732 0 
a52: CRC check failed!  
a52: error at resampling
A:61168.1 V:61168.0 A-V:  0.011 ct:  0.470 5246/5246 18% 77%  3.7% 2733 0 
... (skipped 108)
A:61169.9 V:61169.9 A-V: -0.002 ct:  1.439 5355/5355 18% 77%  3.7% 2841 0 
[mpeg2video @ 0x878c520]ac-tex damaged at 28 21
... (skipped 36)
[mpeg2video @ 0x878c520]concealing 2880 DC, 2880 AC, 2880 MV errors

A:61169.9 V:61169.9 A-V: -0.001 ct:  1.439 5356/5356 18% 77%  3.7% 2842 0 
... (skipped 1095)
A:61190.4 V:61190.4 A-V:  0.001 ct:  0.097 6452/6452 19% 75%  3.7% 271 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