[MPlayer-dev-eng] albeu: cwd when playing playlist? + some xvid benchmarks

Alban Bedel albeu at free.fr
Sun Jul 7 02:56:54 CEST 2002


Hi Felix Buenemann,

on Sun, 7 Jul 2002 01:46:07 +0200 you wrote:

> Hi Albeu,
> 
> currently when mplayer plays back a playlist, it does not cwd to the playlists 
> dir nor append the playlists base-path to the filenames added to the list, 
> which makes playlist support inconvenient, as I always have to cwd to the 
> playlists dir and exec mplayer from there (most playlist only contain 
> filename, no path, for good reasons).
> 
> Would you like to fix this or should I try to hack it in?
> 
> (IMHO solution  2, adding basepath to the filename added to playtree is 
> cleaner.)

I'll look at it tomorow but if you want give it a try. The 2* solution is the way to go.

OT : I tried the current xvid cvs and found it very good. So I hacked it a little to add 
per slice rendering. I'w going to submit some patchs to the xvid ppl.
Some "preview" benchwarks with xv as vo :

VIDEO:  [DIVX]  640x272  16bpp  29.97 fps  537.4 kbps (65.6 kbyte/s)

./mplayer ~/download/duality.divx -vc xvid -frames 2500 -benchmark -nosound
-dr -noslices : (here it's the same as odivx but using xvid API)

BENCHMARKs: VC:  22.591s VO:  28.408s A:   0.000s Sys:   1.237s =   52.236s
BENCHMARK%: VC: 43.2472% VO: 54.3840% A:  0.0000% Sys:  2.3688% = 100.0000%

./mplayer ~/download/duality.divx -vc xvid -frames 2500 -benchmark -nosound -dr

BENCHMARKs: VC:  26.455s VO:  18.898s A:   0.000s Sys:   1.394s =   46.747s
BENCHMARK%: VC: 56.5920% VO: 40.4263% A:  0.0000% Sys:  2.9817% = 100.0000%

./mplayer ~/download/duality.divx -vc ffodivx -frames 2500 -benchmark -nosound -dr

BENCHMARKs: VC:  39.825s VO:  18.670s A:   0.000s Sys:   1.293s =   59.788s
BENCHMARK%: VC: 66.6104% VO: 31.2268% A:  0.0000% Sys:  2.1628% = 100.0000%


VIDEO:  [DIVX]  352x240  24bpp  33.00 fps  841.4 kbps (102.7 kbyte/s)

./mplayer test.avi -vc xvid -benchmark -nosound -dr -noslices

BENCHMARKs: VC:   4.923s VO:   3.901s A:   0.000s Sys:   0.476s =    9.299s
BENCHMARK%: VC: 52.9376% VO: 41.9488% A:  0.0000% Sys:  5.1136% = 100.0000%

./mplayer test.avi -vc xvid -benchmark -nosound -dr

BENCHMARKs: VC:   5.849s VO:   2.694s A:   0.000s Sys:   0.307s =    8.850s
BENCHMARK%: VC: 66.0886% VO: 30.4439% A:  0.0000% Sys:  3.4675% = 100.0000%

./mplayer test.avi -vc ffodivx -benchmark -nosound -dr

BENCHMARKs: VC:   5.459s VO:   2.641s A:   0.000s Sys:   0.330s =    8.429s
BENCHMARK%: VC: 64.7617% VO: 31.3265% A:  0.0000% Sys:  3.9117% = 100.0000%

It look promising :))

PS : If these benchmarks are bad for some reasons, don't flame but give some
advices to do better ones ;)

	Albeu



More information about the MPlayer-dev-eng mailing list