Duncan Webb a écrit : > Pascal Schirrmann wrote: > >> 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 > > Perhaps :-)
I did change for Tuner 1 (which is the result of v4l2-ctl --list-inputs), but the result is the same. BTW, what does mean the option : tuner_type ? Could that be something to follow ? >> tuner_norm=CONF.tv, >> tuner_type='', >> tuner_chanlist=CONF.chanlist, >> desc='Chaines Cable SECAM', >> group_type='ivtv', >> ), > >> 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? The key are pressed in freevo (In fact, they are the channel+ and Channel- keys of the Hauppauge remote, but I think that these V and C keys are more freevo common) > 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 > > 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 > The code is called : Starting on a Secam Channel : XXX:tunerSetFreq(chan='42', isplayer=True, app=None, app_cmd=None) <that' the output Changing on a nearby channel, also in SECAM : XXX:tunerSetFreq(chan='47', isplayer=True, app=None, app_cmd=None) < Only one line of message , and the channel is changed as expected Changing to the next channel, PAL : Driver: ivtv Card: Hauppauge WinTV PVR-150 Version: 256.00 Capabilities: 0x01030051 Enumerating supported Standards. 0: 0xf PAL-BGH 1: 0xe0 PAL-DK 2: 0x10 PAL-I 3: 0x100 PAL-M 4: 0x200 PAL-N 5: 0x400 PAL-Nc 6: 0xd0000 SECAM-BGH 7: 0x320000 SECAM-DK 8: 0x400000 SECAM-L 9: 0x800000 SECAM-L' 10: 0x1000 NTSC-M 11: 0x2000 NTSC-J 12: 0x8000 NTSC-K Current Standard is: 0xff0000 Enumerating supported Inputs. 0: Tuner 1 1: S-Video 1 2: Composite 1 3: S-Video 2 4: Composite 2 Input: 0 Width: 720, Height: 576 Read Frequency: 10868 CODEC::aspect: 2 CODEC::audio_bitmask: 0x69 CODEC::bframes: 3 CODEC::bitrate_mode: 0 CODEC::bitrate: 4500000 CODEC::bitrate_peak: 6000000 CODEC::dnr_mode: 3 CODEC::dnr_spatial: 0 CODEC::dnr_temporal: 0 CODEC::dnr_type: 0 CODEC::framerate: 0 CODEC::framespergop: 12 CODEC::gop_closure: 1 CODEC::pulldown: 0 CODEC::stream_type: 10 XXX:tunerSetFreq(chan='5', isplayer=True, app=None, app_cmd=None) Cannot set frequency for Tuner 1/PAL/5: [Errno 16] Device or resource busy It seems that some part of the code detects hat a work need to be done, so there are more lines in debug mode. But the latest line is interresting :-) More funny, the TV stays on the same channel, as if I had not depressed any keys. Next channel, SECAM again Driver: ivtv Card: Hauppauge WinTV PVR-150 Version: 256.00 Capabilities: 0x01030051 Enumerating supported Standards. 0: 0xf PAL-BGH 1: 0xe0 PAL-DK 2: 0x10 PAL-I 3: 0x100 PAL-M 4: 0x200 PAL-N 5: 0x400 PAL-Nc 6: 0xd0000 SECAM-BGH 7: 0x320000 SECAM-DK 8: 0x400000 SECAM-L 9: 0x800000 SECAM-L' 10: 0x1000 NTSC-M 11: 0x2000 NTSC-J 12: 0x8000 NTSC-K Current Standard is: 0xff0000 Enumerating supported Inputs. 0: Tuner 1 1: S-Video 1 2: Composite 1 3: S-Video 2 4: Composite 2 Input: 0 Width: 720, Height: 576 Read Frequency: 10868 CODEC::aspect: 2 CODEC::audio_bitmask: 0x69 CODEC::bframes: 3 CODEC::bitrate_mode: 0 CODEC::bitrate: 4500000 CODEC::bitrate_peak: 6000000 CODEC::dnr_mode: 3 CODEC::dnr_spatial: 0 CODEC::dnr_temporal: 0 CODEC::dnr_type: 0 CODEC::framerate: 0 CODEC::framespergop: 12 CODEC::gop_closure: 1 CODEC::pulldown: 0 CODEC::stream_type: 10 XXX:tunerSetFreq(chan='37', isplayer=True, app=None, app_cmd=None) full set commands, no error messages, and I can watch the good channel Next SECAM channel XXX:tunerSetFreq(chan='S10', isplayer=True, app=None, app_cmd=None) One line of output, everythings OK Next Channel, Composite entry , PAL format : Driver: ivtv Card: Hauppauge WinTV PVR-150 Version: 256.00 Capabilities: 0x01030051 Enumerating supported Standards. 0: 0xf PAL-BGH 1: 0xe0 PAL-DK 2: 0x10 PAL-I 3: 0x100 PAL-M 4: 0x200 PAL-N 5: 0x400 PAL-Nc 6: 0xd0000 SECAM-BGH 7: 0x320000 SECAM-DK 8: 0x400000 SECAM-L 9: 0x800000 SECAM-L' 10: 0x1000 NTSC-M 11: 0x2000 NTSC-J 12: 0x8000 NTSC-K Current Standard is: 0xff0000 Enumerating supported Inputs. 0: Tuner 1 1: S-Video 1 2: Composite 1 3: S-Video 2 4: Composite 2 Input: 2 Width: 720, Height: 576 Read Frequency: 2692 CODEC::aspect: 2 CODEC::audio_bitmask: 0x69 CODEC::bframes: 3 CODEC::bitrate_mode: 0 CODEC::bitrate: 4500000 CODEC::bitrate_peak: 6000000 CODEC::dnr_mode: 3 CODEC::dnr_spatial: 0 CODEC::dnr_temporal: 0 CODEC::dnr_type: 0 CODEC::framerate: 0 CODEC::framespergop: 12 CODEC::gop_closure: 1 CODEC::pulldown: 0 CODEC::stream_type: 10 XXX:tunerSetFreq(chan='21', isplayer=True, app=None, app_cmd=None) Cannot set frequency for Composite 1/PAL/21: [Errno 16] Device or resource busy Same trouble. > Duncan > > > Thanks, Pascal ------------------------------------------------------------------------- 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
