Hello,
there is an unknown TV card with bt878, use v4l function getchannel(), it gives channels' info like following: channel[0]: name=Television,tuners=1,flags=2,type=2 channel[1]: name=Composite1,tuners=0,flags=2,type=2 channel[2]: name=S-Video,tuners=0,flags=2,type=1 channel[3]: name=Composite3,tuners=0,flags=2,type=2 In this instance, using channel1 and channel3 to grab video,
they work
very well, but Television is not good, S-Video is much worse. In order to use 4 composite , we change somewhere in bttv-cards.c, add our card in struct tvcard bttv_tvcards[]: {/* card id 0x4F
*/
name: "4 Composite Card", video_inputs: 4, audio_inputs: 1, tuner: -1, svhs: -1, /* use 4 com */ gpiomask: 0x0f, muxsel: { 2, 3, 1, 0}, audiomux: { 0, 1, 2, 3, 4}, needs_tvaudio: 1, pll: PLL_28, tuner_type: -1, } make install, use v4l_getchannel() we get:
channel[0]:
name=Composite0,tuners=0,flags=2,type=2
channel[1]: name=Composite1,tuners=0,flags=2,type=2 channel[2]: name=Composite2,tuners=0,flags=2,type=2 channel[3]: name=Composite3,tuners=0,flags=2,type=2 The S-Video change to Composite2, and video from the channel2
is
the same with those from channel1 and channel3, but channel0 remains. How can i change channel0 to composite indeed? Thanks, Eric |