Date: Sun, 09 Nov 1997 19:36:14 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: multimedia@freebsd.org Cc: rhh@ct.picker.com Subject: yuv support for mpeg Message-ID: <199711100336.TAA00860@rah.star-gate.com>
next in thread | raw e-mail | index | archive | help
Why yuv for mpeg encoding? Well, if you try to use fxtv to encode mpeg files the disk requirement is width * height * 16 * 2 per frame vs (width * height + (width * height) / 2). Where we get a big hit is on the disk requirement . fxtv first saves the video stream in raw format then it converts to tiff or ppm which doubles the disk requirement. Additionally, it takes time to convert the raw video stream to ppm or tiff format. Last but not least the thruput requirement for the disk is less than for raw video format which is (width*height*2) * 30 / sec. ftp://rah.star-gate.com/pub/bt848-yuv.tar.gz The tar contains yuv12capture.c a sample program on how to capture yuv and mpeg_encode's param file, foo.param. to encode: cat file | mpeg_encode foo.param I will check in the yuv12 support on Wednesday hopefully after the current round of bt848 patches have been checked in. If it should prove that YUV support for FXTV is tedious to add I will extend and enhance slightly yuv12capture.c to support both video and audio. Enjoy, Amancio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711100336.TAA00860>