Convert HEVC to Y4M
Turn HEVC videos into YUV4MPEG. Uncompressed YUV 4:2:0 frames in a YUV4MPEG2 file, without sound; the file is very large.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HEVC files on the dialor turn it to pick what to do
Raw frames for codec testing.An HEVC stream becomes uncompressed YUV 4:2:0 frames in one Y4M file.
What you get
One Y4M file, which is a YUV4MPEG2 file: uncompressed YUV 4:2:0 frames with a small header. This is the exchange format of codec testing.
The file has no sound. The file is very large, because every frame is stored as raw data.
Shaping the video
Set Max width (px) or Max height (px) to shrink the frames. The shape is kept, and frames that are already smaller stay as they are, so nothing is enlarged. Both accept 16 to 20000.
Set Start at (s) to cut seconds from the beginning. Set Stop at (s) to end at a 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.
Set Frame rate (fps) to change the frames per second, from 1 to 120. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Set Speed to play faster or slower, from 0.25 to 4.
When it stops
A stream that cannot be parsed stops the conversion with
input_corrupted.To go the other way, use Y4M to HEVC.
HEVC and Y4M.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 HEVC Stream
An HEVC elementary stream with no container.
- Extensions
- .hevc .h265 .265
- MIME type
- video
/h265 - Kind
- Video
YUV4MPEG
Raw uncompressed video frames with a small header, the exchange format of codec testing.
- Extensions
- .y4m
- MIME type
- video
/x -yuv4mpeg - Kind
- Video
In your code.The same HEVC to Y4M conversion through the API, for your app or your agent.
$ cv convert clip.hevc clip.y4m$ cv convert clip.hevc clip.y4mQuestions.What people ask about HEVC to Y4M.
No. The output holds video frames only.
It stores uncompressed frames. Shrinking the frames with Set Max width or Set Max height changes the frame size.
Yes. Set Start at (s) and Stop at (s) to choose the part of the original you want.
The file could not be parsed as an HEVC stream, so the conversion stops.