Log in

View Full Version : HEVC to HEIF


jay123210599
5th November 2024, 02:25
How do I remux HEVC/H.265 videos to HEIF/HEIC files?

Z2697
5th November 2024, 07:59
mp4box -add-image "thumbnail.hevc":primary -brand heis -new "{OUT}"
mp4box -add "video.mp4" -brand heis "{OUT}"

There's no software I know of to view the "image" but if same thing is done to an AV1 video the compatible softwares can view the "image".
Also like I said you can play it like normal video.

Oh, you can probably do it in one command and also let mp4box take the first I frame as thumbnail, no need for a seperate one.

mp4box -add "video.mp4" -add-image :primary:ref -brand heis -new "output.heis"

SeeMoreDigital
5th November 2024, 11:16
It a shame VirtualDub2 isn't able to output (export) images to the 'High Efficiency Image File' format (or even JPEG2000).

VirtualDub2 can however output to: BMP, TARGA, Jpeg, PNG and TIFF

jay123210599
5th November 2024, 14:34
mp4box -add-image "thumbnail.hevc":primary -brand heis -new "{OUT}"
mp4box -add "video.mp4" -brand heis "{OUT}"

There's no software I know of to view the "image" but if same thing is done to an AV1 video the compatible softwares can view the "image".
Also like I said you can play it like normal video.

Oh, you can probably do it in one command and also let mp4box take the first I frame as thumbnail, no need for a seperate one.

mp4box -add "video.mp4" -add-image :primary:ref -brand heis -new "output.heis"

My videos are mkv files.

Z2697
5th November 2024, 14:37
pre-built mp4box (as a part of gpac) downloaded from gpac.io (https://gpac.io/downloads/gpac-nightly-builds/#release-installers) can read mkv using libavformat.

jay123210599
5th November 2024, 15:41
What if I want to exclude the audio from my input videos?

Z2697
5th November 2024, 15:53
-add "linux iso.mkv"#video

jay123210599
6th November 2024, 21:30
-add "linux iso.mkv"#video

Now that I have remuxed my videos into HEIF/HEIC files, what image viewers for Windows can play the animated image files? Video players do not count.