Convert AVIF to H264

Turn AVIF images into H264. A raw H.264 stream at 50 frames per second unless video.fps says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop AVIF files on the dialor turn it to pick what to do

An AVIF picture as a raw H.264 stream.You get one H.264 file with no container, at 50 frames per second unless you change it.

  1. What you get

    A raw H.264 stream, the kind encoders and cameras write. The file has no container around it.

    Every frame keeps its own timing, and that includes the hold on the last frame. The video does not loop by itself.

  2. What it leaves behind

    Transparency is not kept. If your AVIF has transparent areas, the output does not keep them.

  3. Options

    Set Frame rate (fps) to a value from 1 to 120. The default is 50. Fewer frames make a smaller file and choppier motion, and 24 to 30 looks natural.

    Set Speed to play the video faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast.

AVIF and H264.What each format is, and the options this conversion takes.

  1. 01 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  2. 02 · video.fps

    Frame rate (fps)

    Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    1 to 120 default 50

The formats

From · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images
To · H264

Raw H.264 Stream

An H.264 elementary stream with no container, as encoders and cameras write it.

Extensions
.h264 .264
MIME type
video/h264
Kind
Video

In your code.The same AVIF to H264 conversion through the API, for your app or your agent.

terminal
$ cv convert photo.avif photo.h264
$ cv convert photo.avif photo.h264

Questions.What people ask about AVIF to H264.

01OF 04

50 frames per second, unless you set Frame rate (fps) to another value from 1 to 120.

No. Transparency is not kept.

No. The video does not loop by itself.

No. The output is one raw H.264 stream with no container.

More conversions.Other ways in and out of AVIF and H264.