Convert MPG to JPG
Turn MPG videos into JPEG. The first frame, or the one frame_at seconds in, as one high quality JPEG with square pixels, so a 16:9 DVD frame is 1024 by 576.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MPG files on the dialor turn it to pick what to do
One frame from your video as a JPG.The first frame, or one you pick, saved as a single picture.
What you get
One JPG taken from the video. By default it is the first frame. Set Frame at (s) to take the frame at a later second instead, from 0 to 86400.
The picture is high quality and has square pixels. A 16:9 DVD frame comes out at 1024 by 576.
What to expect
Interlaced fields are not merged. Where something moves, the picture shows comb lines.
JPG is lossy, so the picture is not a perfect copy of the video frame.
Setting the size
Set Width (px) or Height (px) for an exact size. If you give only one, the other follows the aspect ratio. If you give both, the picture can be stretched.
Set Max width (px) or Max height (px) to shrink a large frame while keeping its shape. Frames already smaller than the limit stay as they are, so nothing is enlarged. To change the size of the JPG afterward, you can also resize JPG.
When it fails
A file that cannot be parsed stops with
input_corrupted. No picture is made in that case.
MPG and JPG.What each format is, and the options this conversion takes.
- 01 · frame_at
Frame at (s)
The second of the video the picture is taken from. The first frame is used when it is left out.
0 to 86400 - 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000 - 03 · 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 - 04 · 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 - 05 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
1 to 20000
The formats
MPEG Video
MPEG-1 and MPEG-2 video, the formats of VCDs and DVDs.
- Extensions
- .mpg .mpeg .vob
- MIME type
- video
/mpeg - Kind
- Video
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same MPG to JPG conversion through the API, for your app or your agent.
$ cv convert clip.mpg clip.jpg$ cv convert clip.mpg clip.jpgQuestions.What people ask about MPG to JPG.
The first frame of the video. Set Frame at (s) to use the frame at a given second instead.
No. The result is one file with one frame.
Interlaced fields are not merged, so moving parts show comb lines.
Not by Max width (px) or Max height (px), which only shrink. Width (px) and Height (px) set an exact size.