Convert H264 to WEBP
Turn H264 videos into WEBP. A looping animated WebP at 15 frames per second, at most 640 pixels wide and quality 75 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop H264 files on the dialor turn it to pick what to do
A looping animated WebP from a video stream.Your H264 stream becomes one animated picture at 15 frames per second.
What you get
One animated WebP that loops. By default it runs at 15 frames per second, is at most 640 pixels wide and uses quality 75.
The sound is dropped.
Size and quality
Set Max width (px) or Max height (px) to change the size. Larger pictures shrink and keep their shape. Smaller ones stay as they are, so nothing is enlarged.
Quality sets how much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Set Frame rate (fps) to change how many frames each second holds. Fewer frames make a smaller file and choppier motion. 10 to 15 is common for animated pictures.
Cutting a section
Set Start at (s) to cut seconds from the beginning. Decimals such as 1.5 work. Set Stop at (s) to end at a given second of the original.
Stop at counts from the start of the original, not from where trimming starts, so it must be later than Start at.
When it fails
A stream that cannot be parsed stops the conversion with
input_corrupted.
H264 and WEBP.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.
1 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.
1 to 20000 default 640 - 03 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 75 - 04 · 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 - 05 · trim_start
Start at (s)
Cuts this many seconds from the beginning. Decimals such as 1.5 work.
0 to 86400 - 06 · 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 60 default 15
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
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same H264 to WEBP conversion through the API, for your app or your agent.
$ cv convert clip.h264 clip.webp$ cv convert clip.h264 clip.webpQuestions.What people ask about H264 to WEBP.
No. The sound is dropped, and the WebP is a silent animation.
Yes. The animated WebP loops.
Yes. Set Start at (s) and Stop at (s). Stop at counts from the start of the original.
The file could not be parsed. The conversion stops with input_corrupted when that happens.