[MPlayer-users] slave mode and dvb
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Apr 18 10:20:09 CEST 2013
Dominique Michel <dominique.michel at vtxnet.ch> wrote:
>I start mplayer with
>
>mplayer -ao jack, -fs -fixed-vo -slave -idle -capture -input
>file=/home/dom/.mplayer/pipe
>
>I can watch the dvb with
>
>echo "loadfile dvb://1@" > /home/dom/.mplayer/pipe
>
>It start on the first channel. According to slave.txt, I can change the
>channel with
>
>echo "dvd_set_channel 2 1" > /home/dom/.mplayer/pipe
>
>but it doesn't work and I get nothing at stderr.
>
>Also if I try
>
>echo "loadfile dvb://2@1" > /home/dom/.mplayer/pipe
>
>this doesn't work either and I get
>
>NO CONFIGURATION FOUND FOR CARD N. 2, exit
>Failed to open dvb://2@1
>
>With
>
>echo "loadfile dvb://1@2" > /home/dom/.mplayer/pipe
>
>it doesn't work and I get nothing at stderr.
>
>If I just press the h or k key, the channels are changing as expected.
>
>Is it something I am doing wrong?
If h and k work almost certainly. They just map to slave mode commands.
So check the exact commands they create (in the example input.conf or in input/input.c I believe) and try them.
Depending on whether they work you'll get an idea where to look further for why it does not work.
More information about the MPlayer-users
mailing list