Re: VS: Can somebody tell me what I need to know? Choice of video capture card.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Joni Kähärä (joni.kahara@xxxxxxx):

> If you can spare that amount of RAM then grab YUV42? frames.  More
> knowledgeable people, please correct me if I'm wrong, but I understand
> that YUV420 for example takes WIDTH * HEIGHT * 1.5 bytes of memory;
> one PAL frame would be 768 * 576 * 1.5 = 663552 bytes.  So if you have
> 192 megs of memory you will get:
> 
> 201326592 / 663552 = about 300 frames.

  That's using 4:2:0 sampling.  For best quality from broadcast TV, you
really want to sample at 4:2:2.  That would mean about 864k per frame,
and so only about 9s worth of frames in 200M. :)

  Then again, if you encode to MPEG you're probably going to use a 4:2:0
profile unless you really do care about quality and find an expensive
encoder.  In that case, you can downsample the chroma yourself, but be
careful!  The bttv driver does not give full-frame chroma in the way
MPEG expects it!

-- 
Billy Biggs
vektor@xxxxxxxxxxxx





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux