Richard van Paasen wrote:
> Hi Duncan,
> 
> I have two issues with the 1.7.4 release.
> 
> 1. Did debugging settings change? I have defined "DEBUG=1", but no debug info
> is written to stdout/logfile. What should I do to enable the debugging info in
> ivtv_xine_tv.py ?

Debugging works as before but logging has changed to use the Python
standard logging, you can do stuff like:
DEBUG_RECORDSERVER = 1
DEBUG_ENCODINGSERVER = 2
DEBUG_RSSSERVER = 1
DEBUG_WEBSERVER = 1
DEBUG_CHILDAPP = 1
#DEBUG_TIME = 0
DEBUG_STDOUT = 0
DEBUG_SKIN = 0
DEBUG = 1

#LOGGING = logging.INFO
#LOGGING = logging.WARNING
LOGGING = logging.DEBUG
LOGGING_RECORDSERVER = logging.DEBUG
LOGGING_ENCODINGSERVER = logging.DEBUG
LOGGING_RSSSERVER = logging.DEBUG
#LOGGING_RECORDSERVER = logging.INFO

The reason for this is that msecs are now in the timestamp which is
sometimes useful.

> 2. It seems that the video group handling changed. I now get log entries
> saying:
> 
> setinputbyname failed: 'tuner'
> Cannot set input 'tuner' for '/dev/video0', must be one of:

Here are the names of the inputs:

> ['tuner 1', 'composite 2', 'composite 3', 'composite 1', 's-video 1',
> 's-video 2']
> 
> My video groups setup is:
> 
> TV_VIDEO_GROUPS = [
>         VideoGroup(
>                 vdev='/dev/video0',
>                 adev=None,
-                 input_type='tuner',
+                 input_type='tuner 1',
>                 input_num=0,
>                 tuner_norm='pal',
>                 tuner_chanlist='europe-west',
>                 desc='Regular Cable',
>                 group_type='ivtv',
>                 record_group = None
>         ),
>         VideoGroup(
>                 vdev='/dev/video0',
>                 adev=None,
-                 input_type='svideo',
+                 input_type='s-video 1',
>                 input_num=1,
>                 tuner_type='external',
>                 desc='S-Video Input',
>                 group_type='ivtv',
>                 record_group = None
>         ),
>         VideoGroup(
>                 vdev='/dev/video0',
>                 adev=None,
>                 input_type='composite',
-                 input_type='composite 3',
+                 input_num=5,
>                 tuner_type='external',
>                 desc='Composite Input',
>                 group_type='ivtv',
>                 record_group = None
>         ),
> ]
> 
> Is this setup not correct?

No as the input_type does not match the list of possible inputs.

v4l2-ctl --list-inputs --device=/dev/video0 reports the list of inputs.

Here are some examples:

v4l2-ctl --info --device=/dev/video0
Driver Info:
        Driver name   : saa7134
        Card type     : Pinnacle PCTV Stereo (saa7134)

v4l2-ctl --list-inputs --device=/dev/video0
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Television
        Type    : 0x00000001
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x0000000000FFBDFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : Composite1
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x0000000000FFBDFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite2
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x0000000000FFBDFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : S-Video
        Type    : 0x00000002
        Audioset: 0x00000001
        Tuner   : 0x00000000
        Standard: 0x0000000000FFBDFF ( PAL NTSC SECAM )
        Status  : 0

v4l2-ctl --info --device=/dev/video1
Driver Info:
        Driver name   : ivtv
        Card type     : Hauppauge WinTV PVR-350

v4l2-ctl --list-inputs --device=/dev/video1
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Tuner 1
        Type    : 0x00000001
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x000000000000000F ( PAL )
        Status  : 0

        Input   : 1
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : S-Video 2
        Type    : 0x00000002
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 5
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000007
        Tuner   : 0x00000000
        Standard: 0x0000000000FFFFFF ( PAL NTSC SECAM )
        Status  : 0


HTH
Duncan



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to