Help with tv tuner setup
Vladimir Kushnir
vkushnir at i.kiev.ua
Thu Aug 11 22:00:55 GMT 2005
Hi Jacib, Karolis
On Thu, 11 Aug 2005, Karolis Tamutis wrote:
> Hi Jacob, I've tried your tools, here's the output:
>
> %bktrplay -n pal -s tuner &
> [1] 30678
> %bktrplay: frame grab timeout
> bktrplay: failed to stream from /dev/bktr0
>
> [1] Exit 1 bktrplay -n pal -s tuner
>
> %tunerctl chanset=xussr channel=1
> chanset=xussr
> channel=1
>
> I guess it's not very promising :/
I had the very same problems with bsdav package until I've changed
METEORSFMT ioctl to BT848SFMT (with corresponding changes to
bsdav_vid_nrms[]), patch attached.
Box: amd64 under -CURRENT, V-Stream TV-PVR 878 (bt878) TV card.
Oh, incidentally, what would it take to add sound there (or do I miss
something?)?
Hope this helps,
Vladimir
-------------- next part --------------
*** bsdav-1.2/lib/bsdav_tables.c.orig Fri Jun 24 20:42:22 2005
--- bsdav-1.2/lib/bsdav_tables.c Fri Aug 12 00:44:04 2005
***************
*** 61,70 ****
#endif
struct bsdav_vid_norms bsdav_vid_nrms[] = {
! { "none", { 0, 1 }, METEOR_FMT_AUTOMODE, 0, 0 },
! { "ntsc", { 30000, 1001 },METEOR_FMT_NTSC, 640, 480 },
! { "pal", { 25, 1 }, METEOR_FMT_PAL, 768, 576 },
! { "secam", { 25, 1 }, METEOR_FMT_SECAM, 768, 576 },
{ 0, { 0, 0 }, 0, 0 }
};
--- 61,70 ----
#endif
struct bsdav_vid_norms bsdav_vid_nrms[] = {
! { "none", { 0, 1 }, BT848_IFORM_F_AUTO, 0, 0 },
! { "ntsc", { 30000, 1001 },BT848_IFORM_F_NTSCM, 640, 480 },
! { "pal", { 25, 1 }, BT848_IFORM_F_PALBDGHI, 768, 576 },
! { "secam", { 25, 1 }, BT848_IFORM_F_SECAM, 768, 576 },
{ 0, { 0, 0 }, 0, 0 }
};
*** bsdav-1.2/lib/bsdav_video_hw.c.orig Fri Jun 24 20:42:22 2005
--- bsdav-1.2/lib/bsdav_video_hw.c Fri Aug 12 00:41:57 2005
***************
*** 145,152 ****
int c;
/* norm */
! if (ioctl(fd, METEORSFMT, &bsdav_vid_nrms[norm].bktr_id) < 0) {
! warn("METEORSFMT");
return(1);
}
--- 145,152 ----
int c;
/* norm */
! if (ioctl(fd, BT848SFMT, &bsdav_vid_nrms[norm].bktr_id) < 0) {
! warn("BT848SFMT");
return(1);
}
More information about the freebsd-multimedia
mailing list