[MPlayer-users] How to make mplayer execute a command or use different options when each time mplayer play next item in playlist?

psboy psboy.liu at gmail.com
Mon Aug 4 12:11:31 CEST 2008


Hi forks,
I want to make mplayer show current playing file name
when each time mplayer play next item in playlist.
Currently i use a script to execute a command with named pipe file (-input
file).
This command echo 'osd_show_property_text "${filename}" 4000 1' into named
pipe file.
But it will only works when first time play a movie,
it does not work when playing next item in playlist.
And i want mplayer load different subtitle with custom file naming rule
subtitles
when mplayer play next item each time.
Is there any way to accomplish this function?

And the osd will truncate if text over the width of the screen.
Is it possible to let text truncated part show at next column below?
-- 
Greets


WS Liu



More information about the MPlayer-users mailing list