[Mplayer-dvb] Audio and video out of sync

Gianluca gianlucarm at freemail.it
Mon Oct 8 20:36:43 CEST 2001


On Sun, 07 Oct 2001 12:07:12 Christian 
Schuld wrote:
> cat /dev/ost/dvr | ts2ps vpid apid | bfr -b 10M 
| mplayer -
>
Thanks, it works, but now there is another 
problem :).

mplayer works fine with many channels, but 
with Italian channels (RaiUno and Italia1) 
mplayer shift audio and video as shows 
below:

(station RaiUno-HotBird)
Playing -
Reading from stdin...
Detected MPEG-PS file format!
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron 
Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using 3DNOW for motion 
compensation
VIDEO:  MPEG2  544x576  (aspect 2)  25.00 
fps  12500.0 kbps (1562.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  
size:544x576  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG 
layer-2, layer-3)
mp3lib: Processor ID: 631
mp3lib: Using AMD 3dnow-dsp(k7)! optimized 
decore.
AUDIO: srate=48000  chans=2  bps=2  
sfmt=0x10  ratio: 24000->192000
Detected video codec: [mpeg12] drv:1 (MPEG 
1 or 2)
Movie-Aspect is 1.33:1 - prescaling to 
correct movie aspect.
VO: [xv] 544x576 => 768x576 Planar YV12 fs
vo: X11 running at 800x600 with depth 16 
and 16 bits/pixel (":0.0" => local display)
Xvideo image format: 0x32595559 (YUY2) 
packed
Xvideo image format: 0x32315659 (YV12) 
planar
Xvideo image format: 0x59565955 (UYVY) 
packed
Xvideo image format: 0x30323449 (I420) 
planar
using Xvideo port 52 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 800 dh: 
600
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 800 
dh: 600
AO: [oss] 48000Hz Stereo Signed 16-bit 
(Little-Endian)
audio_setup: sample format: Signed 16-bit 
(Little-Endian) (requested: Signed 16-bit 
(Little-Endian))
audio_setup: using 48000 Hz samplerate 
(requested: 48000)
audio_setup: frags:  32/32  (4096 
bytes/frag)  free: 131072
Start playing...
A:4676.2 V:4676.4 A-V: -0.181 ct:  0.000    
1/  1   0%  0%  0.0% 0 0
A:4676.2 V:4676.4 A-V: -0.191 ct: -0.004    
2/  2   0%  0%  0.0% 0 0
A:4676.3 V:4676.4 A-V: -0.161 ct: -0.008    
3/  3   0%  0%  0.0% 0 0
A:4676.3 V:4676.5 A-V: -0.151 ct: -0.012    
4/  4   0%  0%  0.0% 0 0
A:4676.4 V:4676.5 A-V: -0.162 ct: -0.016    
5/  5   0%  0%  0.0% 0 0
A:4676.4 V:4676.6 A-V: -0.152 ct: -0.020    
6/  6   0%  0%  0.0% 0 0
A:4676.4 V:4676.6 A-V: -0.156 ct: -0.024    
7/  7   0%  0%  0.0% 0 0
A:4676.5 V:4676.6 A-V: -0.146 ct: -0.028    
8/  8   0%  0%  0.0% 0 0
A:4676.5 V:4676.8 A-V: -0.306 ct: -0.032    
9/  9   0%  0%  0.0% 0 0
A:4676.6 V:4676.9 A-V: -0.296 ct: -0.036   
10/ 10   0%  0%  0.0% 0 0
A:4676.6 V:4676.9 A-V: -0.296 ct: -0.040   
11/ 11   0%  0%  0.0% 0 0
A:4676.7 V:4677.0 A-V: -0.286 ct: -0.044   
12/ 12   0%  0%  0.0% 0 0
A:4676.7 V:4677.0 A-V: -0.301 ct: -0.048   
13/ 13  24% 11%  3.9% 0 0
A:4676.8 V:4677.0 A-V: -0.291 ct: -0.052   
14/ 14  25% 11%  3.7% 0 0
A:4676.8 V:4677.1 A-V: -0.280 ct: -0.056   
15/ 15  25% 11%  3.5% 0 0
A:4676.8 V:4677.1 A-V: -0.281 ct: -0.060   
16/ 16  25% 11%  3.4% 0 0
A:4676.9 V:4677.2 A-V: -0.271 ct: -0.064   
17/ 17  25% 11%  3.3% 0 0
A:4676.9 V:4677.3 A-V: -0.395 ct: -0.068   
18/ 18  24% 11%  3.3% 0 0
A:4677.0 V:4677.4 A-V: -0.395 ct: -0.072   
19/ 19  24% 11%  3.2% 0 0
A:4677.0 V:4677.4 A-V: -0.386 ct: -0.076   
20/ 20  24% 11%  3.2% 0 0
...

A:4694.9 V:4700.6 A-V: -5.746 ct: -1.676  
420/420  23% 10%  1.3% 72 0
A:4694.9 V:4700.6 A-V: -5.774 ct: -1.680  
421/421  23% 10%  1.3% 73 0
A:4694.9 V:4700.8 A-V: -5.973 ct: -1.684  
422/422  23% 10%  1.3% 74 0
A:4694.9 V:4700.9 A-V: -6.000 ct: -1.688  
423/423  23% 10%  1.3% 75 0
A:4694.9 V:4700.9 A-V: -6.039 ct: -1.692  
424/424  23% 10%  1.3% 76 0
A:4694.9 V:4701.0 A-V: -6.068 ct: -1.696  
425/425  23% 10%  1.3% 76 0
A:4694.9 V:4701.0 A-V: -6.092 ct: -1.700  
426/426  23% 10%  1.3% 76 0
A:4694.9 V:4701.0 A-V: -6.114 ct: -1.704  
427/427  23% 10%  1.3% 76 0
A:4695.0 V:4701.1 A-V: -6.124 ct: -1.708  
428/428  23% 10%  1.3% 76 0
A:4695.0 V:4701.1 A-V: -6.113 ct: -1.712  
429/429  23% 10%  1.3% 76 0


(station CNN_International-Astra)
Playing -
Reading from stdin...
Detected MPEG-PS file format!
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron 
Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using 3DNOW for motion 
compensation
VIDEO:  MPEG2  528x576  (aspect 2)  25.00 
fps  18750.0 kbps (2343.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  
size:528x576  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG 
layer-2, layer-3)
mp3lib: Processor ID: 631
mp3lib: Using AMD 3dnow-dsp(k7)! optimized 
decore.
AUDIO: srate=48000  chans=2  bps=2  
sfmt=0x10  ratio: 8000->192000
Detected video codec: [mpeg12] drv:1 (MPEG 
1 or 2)
Movie-Aspect is 1.33:1 - prescaling to 
correct movie aspect.
VO: [xv] 528x576 => 768x576 Planar YV12 fs
vo: X11 running at 800x600 with depth 16 
and 16 bits/pixel (":0.0" => local display)
Xvideo image format: 0x32595559 (YUY2) 
packed
Xvideo image format: 0x32315659 (YV12) 
planar
Xvideo image format: 0x59565955 (UYVY) 
packed
Xvideo image format: 0x30323449 (I420) 
planar
using Xvideo port 52 for hw scaling
[xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 800 dh: 
600
[xv-fs] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 800 
dh: 600
AO: [oss] 48000Hz Stereo Signed 16-bit 
(Little-Endian)
audio_setup: sample format: Signed 16-bit 
(Little-Endian) (requested: Signed 16-bit 
(Little-Endian))
audio_setup: using 48000 Hz samplerate 
(requested: 48000)
audio_setup: frags:  32/32  (4096 
bytes/frag)  free: 131072
Start playing...
A:28841.5 V:28841.7 A-V: -0.250 ct:  0.000  
  1/  1   0%  0%  0.0% 0 0
A:28841.5 V:28841.9 A-V: -0.324 ct: -0.004  
  2/  2   0%  0%  0.0% 0 0
A:28841.6 V:28841.8 A-V: -0.233 ct: -0.008  
  3/  3   0%  0%  0.0% 0 0
A:28841.6 V:28841.9 A-V: -0.314 ct: -0.012  
  4/  4   0%  0%  0.0% 0 0
A:28841.7 V:28841.9 A-V: -0.224 ct: -0.016  
  5/  5   0%  0%  0.0% 0 0
A:28841.7 V:28842.0 A-V: -0.315 ct: -0.020  
  6/  6   0%  0%  0.0% 0 0
A:28841.8 V:28842.0 A-V: -0.223 ct: -0.024  
  7/  7   0%  0%  0.0% 0 0
A:28841.8 V:28842.1 A-V: -0.295 ct: -0.028  
  8/  8   0%  0%  0.0% 0 0
A:28841.8 V:28842.1 A-V: -0.224 ct: -0.032  
  9/  9   0%  0%  0.0% 0 0
A:28841.9 V:28842.2 A-V: -0.285 ct: -0.036  
 10/ 10   0%  0%  0.0% 0 0
A:28841.9 V:28842.1 A-V: -0.215 ct: -0.040  
 11/ 11   0%  0%  0.0% 0 0
A:28842.0 V:28842.3 A-V: -0.276 ct: -0.044  
 12/ 12   0%  0%  0.0% 0 0
A:28842.0 V:28842.2 A-V: -0.205 ct: -0.048  
 13/ 13  19% 11%  2.4% 0 0
...
A:28885.4 V:28885.3 A-V:  0.039 ct: -0.282  
1091/1091  19% 11%  1.1% 0 0
A:28885.4 V:28885.5 A-V: -0.040 ct: -0.286  
1092/1092  19% 11%  1.1% 0 0
A:28885.5 V:28885.4 A-V:  0.039 ct: -0.283  
1093/1093  19% 11%  1.1% 0 0
A:28885.5 V:28885.5 A-V: -0.040 ct: -0.287  
1094/1094  19% 11%  1.1% 0 0
A:28885.5 V:28885.5 A-V:  0.049 ct: -0.283  
1095/1095  19% 11%  1.1% 0 0



What differences are between two stations?





More information about the MPlayer-dvb mailing list