Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 22:42:18 -0400
From:      Randall Hopper <aa8vb@nc.rr.com>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>, bruno schwander <bschwand@dvart.com>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: fxtv and real-time mpeg capture (status)
Message-ID:  <20011023224218.A12573@nc.rr.com>
In-Reply-To: <XFMail.20011019112942.doconnor@gsoft.com.au>; from doconnor@gsoft.com.au on Fri, Oct 19, 2001 at 11:29:42AM %2B0930
References:  <XFMail.20011019112942.doconnor@gsoft.com.au> <Pine.BSF.4.21.0110182226190.93715-100000@mail.dvart.com> <Pine.BSF.4.21.0110181029420.73452-100000@mail.dvart.com> <XFMail.20011019112942.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Daniel O'Connor:
 |If you could get fxtv to dump YUV frames you would find it would be much more
 |efficient..
 |
 |The BT8x8 cards can generate such frames, and mpeg encoding starts off by
 |generating YUV from RGB (and it is a major CPU killer - witness how much CPU
 |the Xv extension saves you when playing a movie - the CPU no longer has to do
 |YUV -> RGB)

Right.  And with YUV, the bandwidth is less for the same size image.  Also,
you can blow up your window larger than max video capture res and have no
increase in PCI traffic.  And, when your window is partially occluded, you
don't give up DMA transfers to the video card; there are no application
tricks needed as Xv/XFree86 handles all of the clipping.

The problem is, not everyone's video card supports Xv (I suspect most TV
user's cards don't; we should do a poll on that sometime...).  So I haven't
felt this incredible urge to add Xv support to Fxtv yet.

If you want to play around, try the attached "simpletv" prog I threw
together back in May 2000.  Works fine here on my Matrox G450 (and before
on my G200), but hasn't been tried on anything else.  Note you'll need
Hermes from here: http://freshmeat.net/projects/hermes/.  Just configure,
make, make install.  Then, build and run simpletv.  You'll want to run fxtv
first to init the bktr driver settings.  Stretch the window all around.  No
app involvement is req'd -- very simple.

bruno schwander:
 |yes, I know about the YUV stuff, but it seems nobody ever got the driver
 |to output YUV in any other res than 320x240. So said Randall (fxtv
 |author) ...

No, the problem is that no resolution I've tried except 320x240 would
generate YUV frames that mpeg_encode would read correctly.  This could very
well be an mpeg_encode bug.  If anyone has good success capturing and
encoding YUV at varying resolutions w/ audio using other encoders, then
we'll switch encoders!  (or make fxtv more extensible so the user can
choose their own).

Randall

-- 
Randall Hopper
aa8vb@nc.rr.com

--jI8keyz6grp/JLjh
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="simpletv.tar.bz2"
Content-Transfer-Encoding: base64

H4sIAEUl1jsAA+w7a1fjxpL5zK+okBNiewTYwAw5Q5x7jC1Au2BzLcMwO5mjK6S2rRlb8pVk
M+zN/Petqu7Www+GmxOy+2GdjJG6q6urq6rr1e0kmM4mIl3sed+92KdRr785OoLv4M3hUf0N
/sXPwZH8C3B4dHR8BHDcaDSO37w5pOdG47B++B3UX46k/DNPUjcG+C4ej5+EQ7Dh8K8g6K/9
7Neg7c7SeSzADX1I0oieSDz3QQr981MIpu4ImxJsvb6+gmEwEVDb36KB0ewxDkbjFCpeFQ7q
9TpAH7G4kwlcRLOZiLeghv/DqZsIH6IQUYxi937Pg2EcTaEfjUQMF27s4xyhAQ/jwBvDg5vQ
mPtsTAgRzhKE7gRmcYQIpnD/CFdu/BkGQTiai8kj0/4fwRQuowcBe2raFtLB9CUQi0TEC+Hr
rr7wgySNg/t5GvAcPswTAUEISTSPPcmMe5wzfoRhFE8TpC5Ix0gJ/43mKWGZRn4wDDyXcBjg
IudwzdMgTZFyJHUR+PiQjt0UvwTimUyiB6QYvCj0AxrEK6VxU5G+pefG3hJpCURDTZMX+QiJ
CovLSV2klbC699GCupQoCAl+wigNPGEgRJDABPERmnxaXl6ZJpzUm7jBVMTEIzhYJQQnLHBE
E4Lr9OdI3MvQAnKVCpMfefOpCFNXC20f5RFhfwxTNxVx4E6SnPEsMEJcXAYv7nCPdcP1FyJO
g4SmzMfTBAhIjUPh0s5ISOykHkg3LyKJhukDik2RxZzASW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X33Tvmia671u9/YXH16ZeJ/QnXQmK
oyJJ7qqw3PW23GthcfkYKNRWEn8sX1D0ki8se8kXlj3kl/X3H/Uj3muoBbpdUC+mzUnNtF3c
Q1MWj6LaXJ1gQisBtaGHx5O+OlrusSLCudW3l8iyjYwsnE9kXvalg2f/AW6Kh6/4FMlz+kjH
fwFmlxOAy4vFfDbN5/McIJ8s5hz//SvAdzVegZMFgEa9ETTL3E89m1GZvSpLGH7G1sN3412z
HS/z/P1irOPDw9rj9NrC8NppUW1uYVgt9/irtcE/eZ5pEa3fxryhVDq98/1WdVlU1m9EjOGz
bD1kaBPpQ5rIHBEvPQwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBiMfwK/AVoS2/IAeAAA

--jI8keyz6grp/JLjh--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011023224218.A12573>