Pascal Schirrmann wrote:
> Duncan Webb a écrit :
>> There are two things that you should do:
>>
>> * Post your TV_VIDEO_GROUPS, I need to see what you have there.
>>   
> Here we go :
> TV_VIDEO_GROUPS = [
>      # Use this group for watching tv
>      VideoGroup(vdev='/dev/video0',
>                 adev=None,
>                 input_type='tuner',

Is this not 'Tuner 1'?
v4l2-ctl --list-inputs should reveal the names of the inputs
v4l2-ctl --list-standards lists the support standards

>                 tuner_norm=CONF.tv,
>                 tuner_type='',
>                 tuner_chanlist=CONF.chanlist,
>                 desc='Chaines Cable SECAM',
>                 group_type='ivtv',
>               ),
>      VideoGroup(vdev='/dev/video0',
>                 adev=None,
>                 input_type='tuner',
>                 tuner_norm='pal',
>                 tuner_type='',
>                 tuner_chanlist=CONF.chanlist,
>                 desc='Chaines Cable PAL',
>                 group_type='ivtv',
>               ),
>      VideoGroup(vdev='/dev/video0',
>                 adev=None,
>                 input_num='2',
>                 input_type='composite',
>                 tuner_norm='pal',
>                 desc='Entree Freebox',
>                 group_type='ivtv',
>               ),
> ]
> 
>> * Try every thing from the command line:
>>  - v4l2-ctl --set-input=0 #Tuner 1
>>  - v4l2-ctl --set-standard=PAL-BGH
>>  - ivtv-tune ...
>>  - cat /dev/video0 > test1.mpeg
>>  wait 10 seconds
>>  - ctrl-C
>>  repeat this for each of your inputs/standards that you are using.
>>   
> I did some of these tests, but instead of working trough a temporary mpg 
> file, I did my tests using xine :
>  xine --stdctl  pvr:///home2/media/tmp/xine-buf-
> 
> Do you think that this will create a diff ?

Ideally no but it adds one extra complication which could effect things.
cat wont mess with the v4l2 controls.

> 
> I did a lot of tests, tuning slightly the freq, and so on, without luck, 
> until now.
> googleing gave me a new command :
> v4l2-ctl --log-status

Try also "v4l2-ctl -T" quite useful.

> Using this command on a TV secam show give me :
>    cx25840 1-0044: Video signal:              present
>    cx25840 1-0044: Detected format:           SECAM
>    cx25840 1-0044: Specified standard:        SECAM
> 
> Using this command on my PAL composite entry give me :
>    cx25840 1-0044: Video signal:              present
>    cx25840 1-0044: Detected format:           PAL-BDGHI
>    cx25840 1-0044: Specified standard:        PAL-BDGHI
> 
> that for the cases working.
> Using this command on my PAL Antenna input give me that :
>    cx25840 1-0044: Video signal:              present
>    cx25840 1-0044: Detected format:           NTSC-M
>    cx25840 1-0044: Specified standard:        PAL-BDGHI
> 
> (In fact, the detected standard is not really stable, it is mostly 
> NTSC-M, but can be PAL or SECAM).

The ivtv driver is not 100% bug free, just like Freevo :)

> I suspect that the trouble is in this area (is the PAL signal of my 
> cable operator not totally clean ? I don't know, but our TV don't have 
> trouble with that signal).
> 
> Unfortunately, I don't find a stable solution, still trying.
>
>> Then you will know if it is working under Linux, I'm pretty sure that it
>> is but it is not something I can test as I only have PAL.
>>
>> I'm also sure that, after my changes, you should be able to do this
>> without using external scripts.
>>   
> I think that I need to find an explanation about my non working PAL 
> Antenna channel, but still, now I can select a PAL or a SECAM input in 
> the TV Menu.
>
> Still, I cannot change from PAL to SECAM or from SECAM to PAL jumpig 
> from channel to channel with the 'C' and 'V' keys.

Are these C and V pressed in xine of freevo? I'm not 100% sure if the
xine plug-in does call the set channel code that I wrote. Do you feel
like adding a print to tv.channels

Index: src/tv/channels.py
===================================================================
--- src/tv/channels.py  (revision 10037)
+++ src/tv/channels.py  (working copy)
@@ -152,6 +152,8 @@


     def tunerSetFreq(self, chan, isplayer, app=None, app_cmd=None):
+        print 'XXX:tunerSetFreq(chan=%r, isplayer=%r, app=%r,
app_cmd=%r' % \
+            (chan, isplayer, app, app_cmd)
         chan = str(chan)
         vg = self.getVideoGroup(chan, isplayer)


A bit of wrap in the above lines app_cmd is on the same line a print

Then when you run freevo you will see it this code is called

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to