[magick-users] yuv 4:2:0 to yuv:4:4:4 conversion
Fredrik Pihl
pi.arctan at gmail.com
Fri Feb 29 00:10:28 PST 2008
Hi guys,
I have a bunch of files in yuv4:2:0 (CIF 352x288, 8bpp ) format which I need
to convert to yuv4:4:4.
I googled myself silly,reading newsgroups etc. but I cannot find a solution
to my problem.
Looking at the error message below, something is wrong with how I specify
the size of the yuv-frame, but I cannot figure out what...
>convert -depth 8 -size 352x288 -sampling-factor 4:4:4 frame100_420.yuv
test_444.yuv
convert: Unexpected end-of-file `frame100.yuv': No such file or directory.
How do I convert a yuv4:2:0 to a yuv4:4:4 (yuv:4:2:2 is also desirable)?
The end result is to take two CIF yuv4:2:0 files, and downscale the vertical
resolution to half by removing all even lines in file a and all odd lines in
file b and then joining a and b receiving a new file with full CIF
resolution again. a and b are consecutive images from a video decoder and by
joining a and b I will get a interlaced image that I can use for testing my
deinterlacing algorithms.
Can this be achieved with imagemagick?
cheers
//Fredrik
More information about the Magick-users
mailing list