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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
E%;;kWƒ̯b{9C{-@`s-0;+[d3a$&"]y߽اQ9:Q
pxtt|ph4߼9F~_3OR7.C נy,
}H҈H<A
Sla0Pߢ1F*^:@	\DéQb~σaMDnÃИlLfqpWnA8#.{j%D뮾$y>AI4=Ɍ{3~aO.HH	)aF~0<p"p Mr$uL(+qSi	DCM
I]т(	~(
<a D|Z^^&ԛT#8X%',pDHr
ySWmaS7qN,0B\\/pu"NHCHHH7/"MŜIfqi%9&	VɻM/bpO:;CdBwD9QE'|D=29QL+ii
MDyl"whiZ!	!bP~(&e;kM~8}&n>-	Z{uߴm	uu}i(Doui`uۗ7{n\ZW=a!	32|mZ=zf
4ӂV`o.[}_loe/[֕$'h]^Wuj"EKSUuz KKkmуyg"{Y^6~@	Uܴ	K\@~oчoN5pu4{mkM.{636
griQ7|߿Xn\!#0O{]^6Oxr]'b=[Agbk_ZfmRolBlpw-OAcA3
 XgZD&(zRjl_(om6/&cҽ񯅶$4`1n&8\B<&L$SC/L'Լ_;7BD^:q(F\>2
X@\t^H0VFcne܊,"{˘/މd_o.b#%sn-M)R#4Χd>~=	]t#8`KK[˱P~h1"&} %ODNXCx0)FW;)jB#@+G23Hz~;9\muU9|zy6+OԷr\kdo݁)Oԁ^ٓ樎MG?ס0;u~1 Bݎ#4v	Pȷ9w"ϐ11~>XB>>FЄÃly#cVBшwɵxt0OT-[[77L+k`FQE.@$Ym1.-$k#"/0J㬥M0C"	w5K15Ht,"&b|̄E4#%/Ǖe	)' (^uS'@ygJ9V=tэUWz1M؀me*]L}c[mo[6EqMx؊ÍG̈́_#2QYG~mO\D+խm1JnŻIIPy݊Q2fԣ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