PEF to MKV Converter

Convert PEF files to MKV format online. Free, fast, no watermarks.

Initializing... drag & drop files here

Supports: PEF

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
Merge strategy
Select Merge images to combine all uploaded files into a single video. Use Video per image to create a separate video for each individual file.
Image Duration
Duration
How long each still image is held on screen. This applies to static images — including a static WebP, AVIF or HEIC. It is ignored for animated sources, which keep their own frame timing: GIF, APNG, and an animated WebP, AVIF or HEIC.
Background Color
Background Color
File Compression
Preset
Video resolution

PEF to MKV — and Whether MKV Is the Wrapper You Actually Want

A Pentax .pef is one photograph; MKV is Matroska, a container designed to hold an arbitrary number of independently typed streams. Putting a still inside it produces a legitimate but unusual file: one video track holding a single motionless frame, no audio track at all, and a duration you choose. That is genuinely useful if your editor, media server or archive tool prefers Matroska — and needlessly awkward if what you wanted was a picture. This page compares the realistic targets so you pick once and stop.

Side-by-side Comparison

MKV (this page) MP4 A still image
What it is Matroska, an open multi-track container ISO base media container JPG, PNG or TIFF
Result from one PEF One frame held for a set duration Same The picture itself
Playback on phones and TVs Patchy on stock players Near universal Universal
Playback in editors and media servers Excellent — Matroska is a favourite of both Excellent N/A
Codec freedom Very wide — 21 video codecs render on this page Narrower, tuned for compatibility N/A
Audio from a photo None; the audio controls are hidden None N/A
Streaming to a browser Not directly Yes Yes
File size from one photo Small — repeats compress to almost nothing Small Smallest
Right when Your Matroska-based pipeline asked for it You need it to just play You wanted a photo all along

When to Pick MKV

  • Your non-linear editor, DAM or home media server ingests Matroska and you want the asset to land natively.
  • You want an unusual codec. MKV is the only target here that offers the full list — HuffYUV for a near-lossless intermediate, MPEG-2 for legacy authoring, VP9 or AV1 for modern efficiency.
  • You are building a slideshow of several Pentax frames and will re-wrap or re-encode later anyway, so container reach does not matter yet.
  • You want the container to be honest about having no audio. Matroska's track model makes a video-only file completely normal rather than a defect.

When to Pick Something Else

  • Phones, TVs, messaging, social: use PEF to MP4. Stock players on many devices will not open .mkv at all.
  • A picture to look at, print or send: use PEF to JPG for reach, or PEF to TIFF with its Compression Type set to LZW for an editable raster master. Both are dramatically simpler than a video wrapper.
  • A modern, compact web image: use PEF to AVIF.
  • A short loop for a chat window: an animated GIF built from several frames may suit better than any video container.

How to Convert PEF to MKV

  1. Upload Your PEF File: Drop your .pef files onto the page or use the file picker. "Merge strategy" opens on "Merge images", which concatenates several photos into one MKV; "Video per image" writes a separate file for each.
  2. Set Image Duration: Choose how long each still is held — the list runs from 1/60 s, 1/30 s and 1/24 s for single-frame stings, through whole seconds, up to 10 seconds per image. The default is 5 seconds.
  3. Choose the Video Codec and Compression Mode: "Video Codec" opens on H.264, which every current player decodes; the dropdown also offers H.265, VP8, VP9, AV1, MPEG-1, MPEG-2, MPEG-4, Xvid, DivX, Theora, MJPEG, HuffYUV, the WMV pair, MS MPEG-4, FLV, Flash Video and the H.26x legacy codecs. "File Compression" offers a Quality Preset, a Constant Quality slider, and a Constraint Quality mode with a Max bitrate ceiling.
  4. Set Background Color and Convert: Background Color fills any letterbox or pillarbox bars and defaults to White for image sources. Click Convert to download. Your file is uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark.

Picking the Codec Inside the MKV

Codec Quality control from a still Sensible use
H.264 (default) Constant Quality slider on a 16–51 CRF scale The safe answer; decodes everywhere
H.265 0–51 CRF Smaller than H.264 at the same look; heavier to decode
VP9 and AV1 0–63 CRF Best compression; slowest encode
MPEG-4, Xvid, DivX, WMV 1/2, MS MPEG-4, MPEG-1, FLV Constant Quality re-scales to a 1–31 quantiser, where lower is better; the Quality Preset has no source bitrate to work from Legacy compatibility only
MPEG-2 Treat resolution as the only reliable control Legacy authoring workflows
MJPEG 2–31 quantiser scale Frame-accurate scrubbing in old tools
HuffYUV Quality controls render but have nothing to act on — the codec is mathematically lossless Intermediate for further editing; very large files

Frequently Asked Questions

Will the MKV have any motion or any sound?

Neither, from a single photograph. The converter renders the raw and shows that one frame steadily for the duration you set — no pan, no zoom, no transition — and writes no audio track. Matroska treats every stream as an independent typed track, so a file with video and nothing else is completely well-formed rather than damaged. Upload several photos and choose "Merge images" and they will cut from one to the next, but each still remains motionless.

Which codec does the MKV use by default, and should I change it?

H.264, and usually no. It is decoded by essentially every current player, editor and phone, and for a single unchanging frame the compression differences between codecs barely matter — there is almost nothing to compress after frame one. Change it only for a specific downstream reason: HuffYUV if you want a lossless intermediate, VP9 or AV1 if the file is heading somewhere that prefers them, MPEG-2 for legacy authoring.

Why does the Quality Preset seem to do nothing when I pick Xvid or MPEG-4?

Because the preset works by scaling a source bitrate, and a photograph does not have one. On CRF-based codecs — H.264, H.265, VP9, AV1 — the preset maps onto a quality value and behaves normally. On the older quantiser-based codecs in the list there is no bitrate to scale from, so the preset has nothing to act on. On those, use Constraint Quality with an explicit Max bitrate, or simply set the resolution, which always works.

Why is there no audio option on this page?

Because the input is an image. On image-to-video conversions the entire audio group is hidden rather than shown and ignored, so you are never offered a codec that could not be applied. If you need a soundtrack, produce the MKV here and add audio in a video editor, which is also where any motion would come from.

Does my Pentax raw get downscaled automatically?

If it is very large, yes. Each image is re-rendered to a clean PNG before encoding and clamped so its long edge does not exceed 4096 pixels, because that is what the video pipeline's image input handles reliably. A 6000 × 4000 frame therefore reaches the encoder at roughly 4096 × 2730. Set an explicit width and height, a percentage or a height preset under "Video resolution" if you want a specific size instead.

Do I lose my raw editing latitude converting PEF to MKV?

Yes. A PEF holds 12 or 14 bits per channel of largely unprocessed sensor data, which is what keeps white balance, exposure and highlight recovery adjustable. Rendering it into a video frame demosaics that data and commits to one interpretation in 8-bit pixels. Adjust the raw first if the look matters, and keep the .pef as the master.

Why are there white bars around my photo?

Your picture's aspect ratio does not match the chosen output frame, and the leftover area is filled with the Background Color, which defaults to White for image sources. Either pick a "Video resolution" whose proportions match the photograph — the height presets keep your source aspect ratio, so they avoid bars entirely — or choose a different fill colour from the list.

My Pentax was set to DNG rather than PEF. Does the result differ?

No. Pentax bodies can write either their own PEF or an in-camera Adobe DNG carrying the same sensor readout, so the rendered frame is effectively identical; the differences are in metadata layout and file size. For those files use DNG to MKV.

How long are my files kept after conversion?

They are uploaded over an encrypted connection, rendered and packaged on our servers, and deleted automatically after a few hours. No sign-up, no watermark, and nothing is shared or made public. The practical limit on a large batch is upload size and time, since Pentax raw files commonly run tens of megabytes each.

Rate PEF to MKV Converter Tool

Rating: 4.8 / 5 - 107 reviews