Sequence of YCbCr images (YUV)
Posted: 2013-11-16T13:54:51-07:00
I'm trying to blur a sequence of YCbCr images. Format is YV12, i.e. 8bpp, 4:2:0
The classic foreman-cliphttp://trace.eas.asu.edu/yuv/ contains 300 frames in CIF size.
Produces the desired output but I get 1 file per frame, i.e. where n=0..299
Is it possible the get the output into one single file? I tried various options like
with no luck. append does give one file of the correct size but the format given is no known YUV-format as far as I can tell.
Rignt now I'm solving this by doing
in bash.
Can it be done? I.e get one single file containing 45619200 bytes in YV12 format after the convert?
I'm using Version: ImageMagick 6.8.7-6 Q16 x86_64 2013-11-16 http://www.imagemagick.org.
The classic foreman-cliphttp://trace.eas.asu.edu/yuv/ contains 300 frames in CIF size.
Code: Select all
./convert -blur 2x2 -size 352x288 -depth 8 foreman_352x288.yuv slask.yuv
Code: Select all
slask-n.yuv
Is it possible the get the output into one single file? I tried various options like
Code: Select all
[+-]append, [+-]adjoin
Rignt now I'm solving this by doing
Code: Select all
for i in {0..299}; do cat slask-$i.yuv >> slask.yuv; done
Can it be done? I.e get one single file containing 45619200 bytes in YV12 format after the convert?
I'm using Version: ImageMagick 6.8.7-6 Q16 x86_64 2013-11-16 http://www.imagemagick.org.