[MPlayer-users] change tv norm standard

Phil Oleynik Oleynik.Phil at mail.ioffe.ru
Wed Feb 21 10:15:02 CET 2007


Koval Valery wrote:
> 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.
>
What chipset do you use? BT878 or other?
Usually the best choice to set norm is to tell a kernel module to do it.

Philipp



More information about the MPlayer-users mailing list