Date: Fri, 12 Aug 2005 01:00:44 +0300 (EEST) From: Vladimir Kushnir <vkushnir@i.kiev.ua> To: Karolis Tamutis <karolis.t@gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Help with tv tuner setup Message-ID: <20050812003405.R66685@kushnir1.kiev.ua> In-Reply-To: <6f896f9a050811043038553b58@mail.gmail.com> References: <6f896f9a05080902025f8aa5d7@mail.gmail.com> <20050809225048.47d768df.torfinn.ingolfsen@broadpark.no> <6f896f9a05080914057e6744b6@mail.gmail.com> <20050810032119.65de1a75@it.buh.tecnik93.com> <6f896f9a05081005141d557de3@mail.gmail.com> <20050811062517.GC23174@puff.jakemsr.gom> <6f896f9a050811043038553b58@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
*** 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);
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050812003405.R66685>
