Convert MKV to MJPEG
Turn MKV videos into MJPEG. A raw Motion JPEG stream at 25 frames per second, one JPEG picture per frame, without sound.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MKV files on the dialor turn it to pick what to do
A raw stream of JPEG frames.One JPEG picture per frame at 25 frames per second, with no sound.
What you get
One MJPEG file, a raw Motion JPEG stream. Each frame of the video becomes one JPEG picture, and the frames play back at 25 frames per second.
The stream stores no timing, so players assume 25 frames per second. If you want the video in a container again, MJPEG to MKV goes the other way.
What it leaves behind
Sound. The stream carries no audio, so every audio track is dropped.
An MKV can hold several audio and subtitle tracks, and MJPEG has no place for them. The result is the picture only.
Size, speed and length
Set Max width (px) or Max height (px) to shrink large frames. The shape is kept, and frames already smaller than the limit stay as they are, so nothing is enlarged.
Set Start at (s) to cut seconds from the beginning, and Set 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 Rotate to turn the result by 90, 180 or 270 degrees clockwise. Set Speed to play faster or slower, where 2 is twice as fast and 0.5 is half as fast.
Failed conversions
If the MKV cannot be parsed, the conversion stops with
input_corrupted.
MKV and MJPEG.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
The formats
Matroska Video
Matroska, an open container that holds any codec plus multiple audio and subtitle tracks.
- Extensions
- .mkv
- MIME type
- video
/x -matroska - Kind
- Video
Motion JPEG
A stream of JPEG frames, what many webcams and IP cameras send.
- Extensions
- .mjpeg .mjpg
- MIME type
- video
/x -motion -jpeg - Kind
- Video
In your code.The same MKV to MJPEG conversion through the API, for your app or your agent.
$ cv convert clip.mkv clip.mjpeg$ cv convert clip.mkv clip.mjpegQuestions.What people ask about MKV to MJPEG.
No. The stream holds only pictures, so the audio is dropped.
25 frames per second. The stream stores no timing, so players assume that rate.
Yes. Set Start at (s) to cut the beginning, and Set Stop at (s) to end at a second of the original.
The MKV could not be parsed, so the conversion stops with that code.