IO_Bit > IO_HEIF | HEIF/HEVC

require

usage

  • dump as text
    % composer require yoya/io_heif
    % php vendor/yoya/io_heif/sample/heifdump.php -f test.heic

HEVC

  • JPEG =(ffmpeg + x265)=> HEVC =(IO_HEIF)=> HEIF(.heic)
    % ffmpeg -i test.jpg -loglevel warning  -pix_fmt yuv420p -vcodec libx265 -f hevc \
                    -x265-params log-level=1 -crf 12 -preset slower test.hevc
    % php vendor/yoya/io_heif/sample/heiffromhevc.php  -f test.hevc > test.heic

関連