[MPlayer-users] change tv norm standard

Koval Valery Valery.Koval at innovinn.com
Tue Feb 20 11:08:20 CET 2007


Hi.

Please forgive me for my bad English ;)

I'm watch TV through mplayer v1.0rc1 under the freevo.
My channel list (from my cable operator) have some channels in PAL and
SECAM standard.

Before first run mplayer I'm set freq, norm and start mplayer.
I watch TV - all ok.
If I try change channel (change freq and standard) I see -
freq changed, but norm - don't.

I change channel through the v4l2-ctl (IVTV 0.9.1, 0.10rc1, kernel
2.6.19) (mplayer running...).

Log:
bash-3.1$ v4l2-ctl -f 135.25 -s 0 --verbose
VIDIOC_QUERYCAP: ok
VIDIOC_G_TUNER: ok
VIDIOC_S_FREQUENCY: ok
Frequency set to 2164 (135.250000 MHz)
VIDIOC_S_STD: failed: Device or resource busy

I think - may be add some command (to run through the slave interface)
like close_device | stop_stream + reopen_device | start_stream.

If this will be done, I'll send to mplayer commands (trough the slave
interface) like this:
1. close(free) device (/dev/video0)
2. run external soft v4l2-ctl OR tv_set_freq + tv_set_norm
3. open(lock) device

May be some thought is crazy ? :)

Thanks.






More information about the MPlayer-users mailing list