Is it possible to encode image within TIFF file using HEVC codec?
Command:
./TAppEncoderStatic -i cubeImag.tif -wdt 1296 -hgt 1296 -cf 400 -fr 1 -f 1 -c ../cfg/encoder_intra_main_rext.cfg
But I am unable to do it. Any ideas?
I believe TAppEncoderStatic is the JVM HEVC Reference Encoder. From what I remember, reference encoders expect the input to be in YUV format. In order to encode TIFF using HEVC codec, I recommend to do the following
Decode TIFF Image to YUV. You can use ffmpeg with the following command
ffmpeg -i input.tiff -f rawvideo -pix_fmt yuv420p output.yuv
Encode YUV using JVM Encoder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.