Convert Y4M to OGV
Turn Y4M videos into OGV. Theora video in an Ogg file without sound.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop Y4M files on the dialor turn it to pick what to do
Theora video in an Ogg file.One OGV file comes out, without sound.
What you get
An OGV file with Theora video inside an Ogg container. The conversion produces one file, and the file has no sound.
The source is a Y4M file, which holds raw uncompressed video frames with a small header.
Resize, rotate and trim
Set Max width or Max height to shrink large video. The shape is kept, and anything already smaller stays as it is, so nothing is enlarged.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.
Set Start at to cut seconds from the beginning. Set Stop at 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.
Speed and frame rate
Set Speed to play faster or slower. A value of 2 is twice as fast and 0.5 is half as fast.
Set Frame rate to change the frames per second. Fewer frames make a smaller file and choppier motion, and 24 to 30 looks natural.
When it fails
If the file cannot be parsed, the conversion stops with
input_corrupted.To go the other way, use OGV to Y4M.
Y4M and OGV.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
YUV4MPEG
Raw uncompressed video frames with a small header, the exchange format of codec testing.
- Extensions
- .y4m
- MIME type
- video
/x -yuv4mpeg - Kind
- Video
Ogg Video
Ogg video with Theora.
- Extensions
- .ogv
- MIME type
- video
/ogg - Kind
- Video
In your code.The same Y4M to OGV conversion through the API, for your app or your agent.
$ cv convert clip.y4m clip.ogv$ cv convert clip.y4m clip.ogvQuestions.What people ask about Y4M to OGV.
No. The output is Theora video in an Ogg file without sound.
Yes. Set Max width or Max height to shrink the picture. Lowering Frame rate also makes a smaller file, with choppier motion.
Yes. Set Start at to cut seconds from the beginning, and set Stop at to end at a later second of the original.
The file could not be parsed. The conversion stops with input_corrupted in that case.