Begin3 Title: resizer-yuv Version: 0.4 Entered-date: 2002-10-29 Description: 'resizer-yuv' for use with mjpegtools. Designed to convert 720x576 DVB-s PAL satellite TV mpg to CVD 352x576. (D2) (for video CDs playable in DVD players). This resizes video, without the artifacts (aliasing effects) that yuvscaler causes. I took this code from transcode bbmpeg resize.c, and gave it an yuv interface conform mjpegtools. Also I used low pass pre-filtering using fft followed by reverse fft, to prevent aliasing in the high frequency range. This uses the very cool fft fftw-2.1.3.tar.gz library from: http://www.fftw.org/download.html Use the version best suited for your processor. resizer-yuv will run tests to find out the best fft algo if you specify the -m flag on the command line. To unpack: tar -zxvf resizer-yuv-0.4.tgz cd resizer-yuv-0.4 Then follow the instructions in README. Tested with 720 x 576 to 352 x 576 Documentation: read the provided README. Changes: 0.4: Dropped most command line options, added -v to print out the filter, all coefficients calculated automatically, filter now only uses exp(-u^2 / b). This programs ONLY uses fft low pass in horizontal(rescaling). The program only works without to many artefacts if resizing from 720x576 DVB-s (digital satellite PAL Europe) to 352x576 CVD (China Video Disk). ANY other format seems to give a lot of distortion in the mjpegtools color bar test signal (square waves). If anyone knows a better algo, pls let me know. Filter order is also automatically determined. As everything else here, this is all experimental. Keywords: video, DVB-s, PAL, satellite TV, transcode DVD, CVD, SVCD, resizer, mpeg2, mjpegtools, FFTW, fft, reverse fft, low-pass. Author: panteltje@yahoo.com Maintained-by: panteltje@yahoo.com Primary-site: ftp sunsite.unc.edu/pub/linux/apps/video/ Alternate-site: http://www.home.zonnet.nl/panteltje/subtitles/ (homepage) Platforms: LINUX, UNIX Copying-policy: GPL End