How to specify number of frames when conveting YCbCr to bmp
Posted: 2009-12-30T17:45:58-07:00
I have a large YCbCr file, I only want to convert the first N frames to bmp files. How to do that?
if I use
convert -colorspace yuv -size 1920x1080 src.yuv dest.bmp
it takes a long long time, and I have to delete all the unused bmp files.
Alternatively, Is there a way to extract the first N frames of the large YUV files, and save them to a separte short YUV files? Then I can use the above command to convert the short YCbCr file to BMP.
I checked the convert options, there is adjoin. combine etc. but I did not find an option to split the file.
Help please!
if I use
convert -colorspace yuv -size 1920x1080 src.yuv dest.bmp
it takes a long long time, and I have to delete all the unused bmp files.
Alternatively, Is there a way to extract the first N frames of the large YUV files, and save them to a separte short YUV files? Then I can use the above command to convert the short YCbCr file to BMP.
I checked the convert options, there is adjoin. combine etc. but I did not find an option to split the file.
Help please!