[Mplayer-users] snapshot with skipping
Christoph Lampert
lampert at math.chalmers.se
Mon May 14 11:26:49 CEST 2001
>> can you tell me which was the last CVS-snapshot without the new audio, i.e.
>> with frameskipping still enabled? I need to recompile it for my girlfriends
slow
>> machine.
>
>I think that it's better to re-enable frame dropping in current version:
>change line at mplayer.c:1664 to
> if(!force_redraw && v_frame+0.1<a_frame) drop_frame=1; else drop_frame=0;
>
>Not tested (no slow enough system here :)) but should work.
Doesn't seem to work, at least with -xv null it gives very strange results:
(can't check with output at the moment, as I'm not at home):
If you're not interested in report (as it's just a hack), just ignore...
Mplayer runs for a second, A-V drops to -0.3 or so. Then it stops for a moment,
then A-V is +0.3, it runs again about 2 seconds till A-V is -0.3, stops etc...
Output with -v:
A: 12.1 ( 11.9) V: 11.6 A-V: -0.338 ct: -0.277 292 1% 0% 11.1%
Initial PTS delay: 0.137 sec (calculated: -0.703)
v: audio_delay=0.137 buffer_delay=0.703 a.pts=0.840 v.pts=0.000
### A: 0.844 ( 0.004) V: -0.040 A-V: 0.0444
### A: 0.886 ( 0.010) V: 0.000 A-V: 0.0095
### A: 0.886 ( 0.014) V: 0.040 A-V:-0.0258 2 0% 0% 0.0%
### A: 0.886 ( 0.017) V: 0.080 A-V:-0.0630 3 0% 0% 0.0%
### A: 0.886 ( 0.020) V: 0.120 A-V:-0.1001 4 0% 0% 0.0%
### A: 0.886 ( 0.023) V: 0.160 A-V:-0.1370 5 0% 0% 0.0%
### A: 0.886 ( 0.026) V: 0.200 A-V:-0.1740 6 0% 0% 0.0%
### A: 0.886 ( 0.029) V: 0.240 A-V:-0.2115 7 0% 0% 0.0%
### A: 0.886 ( 0.031) V: 0.280 A-V:-0.2485 8 0% 0% 0.0%
### A: 0.926 ( 0.052) V: 0.320 A-V:-0.2683 9 0% 0% 0.0%
### A: 0.926 ( 0.055) V: 0.360 A-V:-0.3051 10 0% 0% 0.0%
### A: 0.926 ( 0.057) V: 0.400 A-V:-0.3425 11 0% 0% 0.0%
### A: 0.926 ( 0.074) V: 0.440 A-V:-0.3663 12 0% 0% 0.0%
### A: 0.926 ( 0.084) V: 0.480 A-V:-0.3958 13 0% 0% 12.7%
### A: 0.926 ( 0.095) V: 0.520 A-V:-0.4250 14 0% 0% 11.8%
### A: 0.966 ( 0.099) V: 0.560 A-V:-0.4614 15 0% 0% 11.0%
### A: 0.966 ( 0.110) V: 0.600 A-V:-0.4904 16 0% 0% 11.1%
### A: 0.966 ( 0.119) V: 0.640 A-V:-0.5211 17 0% 0% 10.5%
### A: 0.966 ( 0.128) V: 0.680 A-V:-0.5517 18 0% 0% 9.9%
### A: 1.033 ( 0.159) V: 0.720 A-V:-0.5615 19 0% 0% 9.4%
### A: 1.033 ( 0.868) V: 0.760 A-V: 0.1075 20 0% 0% 9.6%
### A: 1.726 ( 0.848) V: 0.800 A-V: 0.0483 21 1% 0% 9.2%
### A: 1.726 ( 0.868) V: 0.840 A-V: 0.0277 22 1% 0% 16.7%
### A: 1.726 ( 0.886) V: 0.880 A-V: 0.0056 23 1% 0% 16.0%
### A: 1.766 ( 0.924) V: 0.920 A-V: 0.0037 24 1% 0% 15.3%
### A: 1.766 ( 0.945) V: 0.960 A-V:-0.0154 25 1% 0% 15.0%
### A: 1.805 ( 0.960) V: 1.000 A-V:-0.0404 26 0% 0% 14.4%
### A: 1.805 ( 1.025) V: 1.040 A-V:-0.0151 27 0% 0% 14.4%
### A: 1.926 ( 1.085) V: 1.080 A-V: 0.0049 28 0% 0% 13.8%
### A: 1.966 ( 1.124) V: 1.120 A-V: 0.0045 29 0% 0% 14.2%
### A: 1.992 ( 1.155) V: 1.160 A-V:-0.0051 30 0% 0% 14.1%
### A: 1.992 ( 1.176) V: 1.200 A-V:-0.0241 31 0% 0% 13.9%
### A: 2.047 ( 1.215) V: 1.240 A-V:-0.0253 32 0% 0% 13.5%
### A: 2.099 ( 1.241) V: 1.280 A-V:-0.0392 33 0% 0% 13.8%
### A: 2.099 ( 1.271) V: 1.320 A-V:-0.0488 34 0% 0% 13.7%
### A: 2.138 ( 1.284) V: 1.360 A-V:-0.0758 35 0% 0% 13.3%
### A: 2.164 ( 1.309) V: 1.400 A-V:-0.0910 36 0% 0% 13.3%
### A: 2.164 ( 1.333) V: 1.440 A-V:-0.1071 37 0% 0% 13.1%
### A: 2.227 ( 1.373) V: 1.480 A-V:-0.1066 38 0% 0% 12.8%
### A: 2.227 ( 1.395) V: 1.520 A-V:-0.1250 39 0% 0% 12.9%
### A: 2.286 ( 1.433) V: 1.560 A-V:-0.1273 40 0% 0% 12.6%
### A: 2.286 ( 1.463) V: 1.600 A-V:-0.1365 41 0% 0% 12.6%
### A: 2.326 ( 1.483) V: 1.640 A-V:-0.1573 42 0% 0% 12.3%
### A: 2.392 ( 1.529) V: 1.680 A-V:-0.1505 43 0% 0% 12.4%
Now if I press PAUSE inbetween, A-V is always growing about 0.7. Pressing Space
multiple times gives:
Initial PTS delay: 0.141 sec (calculated: -0.699)
A: 2.0 ( 1.1) V: 1.2 A-V: -0.063 ct: -0.084 32 0% 0% 12.5%
A: 3.5 ( 2.7) V: 2.6 A-V: 0.151 ct: 0.044 66 0% 0% 11.7%
A: 4.4 ( 3.6) V: 2.8 A-V: 0.723 ct: 0.072 73 0% 0% 13.3%
A: 5.2 ( 4.4) V: 3.0 A-V: 1.386 ct: 0.088 77 0% 0% 14.8%
A: 6.0 ( 5.1) V: 3.2 A-V: 1.988 ct: 0.104 81 0% 0% 16.2%
A: 6.8 ( 5.9) V: 3.3 A-V: 2.626 ct: 0.120 85 0% 0% 17.4%
A: 7.5 ( 6.7) V: 3.4 A-V: 3.270 ct: 0.132 88 0% 0% 18.9%
A: 8.3 ( 7.5) V: 3.6 A-V: 3.908 ct: 0.148 92 0% 0% 20.0%
etc.
perhaps because of the calculated delay -0.7 ?
-delay doesn't change anything. -bps doesn't either.
Also %age is strange, 0% for decoding is not very much, I guess. Old mplayer
had output like this (same file, of course):
A: 5.6 V: 5.6 A-V: -0.001 ct: 0.034 141 50% 0% 11.5% 0
Any hints? Otherwise I have to go through the archives...
gruel
_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users
More information about the MPlayer-users
mailing list