Hi Lionnel -
 
I tested your monitor on a 4-port Quatro Falcon board (4 physical bt878 
chips).  It worked, but I had to do a few changes in video.c to make it work 
(also, i'm using ntsc).
1st, I had to clear the vid_chnl structure and do a VIDIOCGCHAN to get 
current parameters.  2nd, I set the vid_chnl.norm to NTSC, and the 
vid_chnl.channel to mux input port 0.  Up until then, the VIDIOCSCHAN would 
fail.

Thats it for now.  Nice work.

Joe
    // start jvb
    memset(&vid_chnl,0,sizeof(vid_chnl));
    if( (ioctl(s->dev,VIDIOCGCHAN,&vid_chnl)) < 0 )
    {
        fprintf(stderr,"ERROR:ioctl: VIDEOCGCHAN[%s] 
%s\n",device,strerror(errno));
        return NULL;
    }
    vid_chnl.channel = VIDEO_MODE_NTSC;
    vid_chnl.norm    = VIDEO_PALETTE_YUV420P; // RGB24
    vid_chnl.norm = 1; // pal
    vid_chnl.channel = 0; //
    // end jvb
    if (ioctl (s->dev, VIDIOCSCHAN, &vid_chnl) == -1)         // select 
channel
    {
        perror("ioctl (VIDIOCSCHAN) failed");
        return NULL;
    }



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to