Convert H264 to AVI
Turn H264 videos into AVI. MPEG-4 Part 2 video in an AVI file without sound, for old players and editors.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop H264 files on the dialor turn it to pick what to do
An AVI file from a raw H.264 stream.The video is stored as MPEG-4 Part 2 in an AVI container, without sound.
What you get
One AVI file with MPEG-4 Part 2 video, made for old players and editors that expect the AVI container. A raw H.264 stream has no container, and the result is wrapped in one.
The AVI has no sound track. The video is re-encoded as MPEG-4 Part 2 rather than kept as H.264.
Shaping the video
Set Max width (px) or Max height (px) to shrink large frames. The shape is kept, and frames already smaller than the limit are not enlarged. Both accept values from 16 to 20000.
Set Start at (s) to cut seconds from the beginning, and Stop at (s) to end at a given second of the original. Stop at counts from the start of the original, so it must be later than Start at.
Set Frame rate (fps) to change the frames per second. Fewer frames make a smaller file and choppier motion, and 24 to 30 looks natural.
Set Speed to play faster or slower. 2 is twice as fast and 0.5 is half as fast. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.
When it stops
If the stream cannot be parsed, the conversion stops with
input_corrupted. This means the file is damaged or is not a readable H.264 stream.
H264 and AVI.What each format is, and the options this conversion takes.
- 01 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
16 to 20000 - 02 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
16 to 20000 - 03 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270 - 04 · 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 - 05 · trim_end
Stop at (s)
Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.
0 to 86400 - 06 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 07 · 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
The formats
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
AVI Video
Microsoft's original video container. Old, large and still around.
- Extensions
- .avi .divx .xvid
- MIME type
- video
/x -msvideo - Kind
- Video
In your code.The same H264 to AVI conversion through the API, for your app or your agent.
$ cv convert clip.h264 clip.avi$ cv convert clip.h264 clip.aviQuestions.What people ask about H264 to AVI.
No. The AVI holds video only, without a sound track.
No. It is MPEG-4 Part 2 video, so the stream is re-encoded.
Yes. Set Start at (s) and Stop at (s). Stop at counts from the start of the original.
Yes. See AVI to H264 for the reverse conversion.