Art S R wrote:
> On Sat, Mar 14, 2009 at 10:33 AM, Duncan Webb <dun...@freevo.org> wrote:
>> Art S R wrote:
>>> Hi Duncan,
>>>
>>> Here are the relevant lines from my local_conf.py:
>>>
>>> NORM = 'ntsc'
>>> INPUT = 'television'
>>> CHANLIST = 'us-cable'
>>> TV_DRIVER = 'v4l2'
>>> TV_DEVICE = '/dev/video0'
>>> TV_INPUT = 0
>>> TV_SETTINGS = 'NORM INPUT CHANLIST DEVICE'
>> This won't work and should never have worked.
>>
>> TV_SETTINGS is a string of values and should be something like:
>> TV_SETTINGS = 'ntsc television us-cable /dev/video0'
> 
> This produced exactly the same poor results as what I'd set originally.

You may need to debug this a bit yourself, it's not too hard. In
tv/v4l2.py add some print statements in the setstd (you can also set
DEBUG=2 in local_conf.py but this will give too much information). When
you see the standard being changed to PAL you can add a couple of lines:
import traceback
traceback.print_stack()
This will show you from where the setstd was called from.

Another trick is to type
freevo prompt
>>> import pprint
>>> import config
>>> pprint.pprint(config.__dict__)
This will show all the configuration settings; to send this to a file use:
>>> f = open('/tmp/x', 'w')
>>> pprint.pprint(config.__dict__, f)
>>> f.close()

grep -i pal /tmp/x
will show you if PAL has been set somewhere.

Duncan
> 
>> The more flexible way to do this is to add a TV_VIDEO_GROUPS setting to
>> you local_conf.py and comment out the TV_SETTINGS. You should be able to
>> generate the TV_VIDEO_GROUPS with the vg helper and then manually fix
>> the output from this command (freevo vg).
>>
>> Please send me the output from the freevo vg as I want to see if it is
>> working correctly.
> 
> Here's my 'freevo vg' output using the svn vg.py you sent me:
> 
> TV_VIDEO_GROUPS = [
>   VideoGroup( # normal device, group 0
>     desc='BT878 video (Hauppauge (bt878))',
>     group_type='normal',
>     vdev='/dev/video0',
>     vvbi='/dev/vbi0',
>     adev=None,
>     input_type='Television',
>     input_num=0,
>     tuner_norm='PAL',
>     tuner_chanlist='FixMe',
>     record_group=None
>   ),
> ]
> 
> Looks like it's erroneously using tuner_norm='PAL'  (instead of
> 'NTSC') and it doesn't know what tuner_chanlist should be.  By the
> way, the Freevo 1.8.3 version of vg.py listed all the available
> tv_norm standards:
> 
> tuner_norm='SECAM-DK,SECAM-L,NTSC-M,NTSC-M-KR,PAL,SECAM-G,PAL-M,SECAM-H,SECAM,SECAM-B,PAL-DK,SECAM-Lc,PAL-I,PAL-BG,NTSC-M-JP,PAL-60,PAL-N,NTSC,PAL-H,PAL-Nc',

I think that you should get the correct default just after boot and
before freevo has changed it to PAL. Or by stopping the record server
and freevo and rmmod and modprobe the driver.

> but tuner_chanlist also said 'FixMe'.

It's a bit difficult to default this. I don't think there a way to
default the channel list?

>> Attached is the current svn version that should set the tv standard
>> (tv_norm) you still need to set the channel list.
>>
>> HTH
>> Duncan
>>
>>> I used the same values in my previous Freevo installations (1.6.x,
>>> 1.7.x) and did not have problems watching live TV with the mplayer plugin.
>>>
>>> Thanks,
>>>
>>> Art SR
>>>
>>> On Tue, Mar 10, 2009 at 1:08 PM, Duncan Webb <dun...@freevo.org
>>> <mailto:dun...@freevo.org>> wrote:
>>>
>>>     Art S R wrote:
>>>     > Hi Duncan,
>>>     >
>>>     > I tried 'v4l2-ctl --set-freq=187.250' but nothing changed on the
>>>     Freevo
>>>     > window playing live TV -- it still displayed the ghosted random
>>>     > station.  I then issued 'v4l2-ctl --all' and noticed that the Video
>>>     > Standard is set to PAL even though it should have been NTSC as it was
>>>     > passed to the mplayer command in the 'norm=NTSC' parameter.  When I
>>>     > issued 'v4l2-ctl --set-standard=ntsc', then the correct station popped
>>>     > up in the Freevo TV window.  However, if I hit Esc to return to the
>>>     > Freevo TV guide and select any station, it displays the garbage screen
>>>     > again and 'v4l2-ctl --all' shows that Freevo had changed the Video
>>>     > Standard back to PAL.
>>>     >
>>>     > I even grabbed the svn version of mplayer.py, but it made no
>>>     difference.
>>>     >
>>>     > Any ideas why the exact same command, when issued outside of Freevo,
>>>     > displays the station correctly but, when passed by Freevo to mplayer,
>>>     > the video standard is changed from NTSC to PAL?
>>>
>>>     Would need to see what TV settings you have in your local_conf.py to see
>>>     what could be causing this problem. Will you post the TV_ settings from
>>>     you local_conf.py?
>>>
>>>     Duncan
>>>
>>>
>>
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to