Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: MPlayer <-> VDR, the second one
- To: vdr@linuxtv.org
- Subject: [vdr] Re: MPlayer <-> VDR, the second one
- From: huels@iname.com (Stefan Huelswitt)
- Date: 27 Oct 2001 14:39:42 GMT
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: mhonarc@limes.convergence.de
- Newsgroups: local.linux.vdr
- Organization: Home, sweet home
- References: <3BD9DD57.16532.87B30A@localhost.SOMEWHERE> <001901c15e5c$f76ca820$6400a8c0@p3.SOMEWHERE>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
On 27 Oct 2001 "Johannes Feigl" <jaf.corporation@gmx.at> wrote:
> i've think about it ...
> it is not necessary if we edit the codec.conf -file ...
I don't like this idea much. I would prefer to differ the file
types inside mplayer.sh without changing the mplayer setup.
I have made a sample mplayer.sh:
#!/bin/bash
# where to find mplayer
MPLAYER="mplayer"
# mplayer options, -vc will be added below
# add "-lircconf <lircrc>" to enable LIRC support
OPTS="-vo mpegpes"
#####################
FILE=$1
type=`file "$FILE"`
case "$type" in
*AVI*)
VC="ffdivx"
;;
*MPEG*)
VC="mpegpes"
;;
*)
echo "Unknown video file format $type"
echo "Edit mplayer.sh to support this file type"
exit 1
;;
esac
$MPLAYER $OPTS -vc $VC "$FILE"
What do you think?
> some minutes ago i've tried the latest mplayer-patch ... nice work ...
> but it would be better when you end mplayer with the "blue - d" - key on the
> remote control then mplayer recieve a sigint (killall mplayer) ...
I'm sending a 'kill -TERM' to the mplayer.sh process ...
Isn't mplayer killed by this?
> and ... what about giving the keys (like +, -, p+, p-) with to mplayer like
> when you are pressing it on the console?
> do you understand ?
No I don't. :-(
But anyway, if you wants remote control for mplayer, you have to
configure LIRC for this. I'm not going to pass remote keys to
mplayer in any way.
--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan
Home |
Main Index |
Thread Index