[Mplayer-dvb] [PATCH] mplayer.sh: try to scale as little as possible

Juri Haberland juri at koschikode.com
Fri Jan 3 19:16:23 CET 2003


Adis Salcin wrote:
> Hello Juri,

Hi,

> Friday, January 3, 2003, 3:15:18 AM, you wrote:
> 
> JH> I did some changes to mplayer.sh that I want to share.
> JH> The main reason was that my VDR box is not fast enough to scale all
> JH> videos up to full PAL resolution. As some of the videos already are in a
> JH> format that could be directly played via mplayer without additionaly
> JH> scaling I put some logic into mplayer.sh to try to play videos with as
> JH> little scaling as possible.

> DIdnot try your mplayer.sh but will try, what i wonna ask you is:
> is it posible to add suport to choice subtitler when choising video
> from mplayer(in vdr) so i dont more need to start moive manual that
> use TVout of DVB card.
> like: when select moive from directory to choice eny */.sub file from
> that directory or when select movie that ask for subtitler if dont
> need subtitler just pres enter and moive go on.

Hmm, as I don't have any movie with subtitles I can only guess. I could
imagine an easy way where the sub-file has the *exact* same name as the
movie, only with the ending .sub instead of *.avi (or whatever). So the
script would look for a file with the same name as the movie, but with
the .sub ending, and if it finds one, uses it.

Anything else (e.g. asking for a file) would mean that one have to
change the mplayer plugin for VDR. That's beyond what I can do, sorry.

Cheers,
Juri



More information about the MPlayer-dvb mailing list