Initializing... drag & drop files here
Supports: NEF
NEF is Nikon Electronic Format, the raw capture a Nikon camera writes to the card. Xvid is an open-source implementation of MPEG-4 Part 2 video, and on this page it is also the output extension: you get a file named .xvid. This converter develops the raw photo, rasterises it to a video frame, and encodes that single held frame as a silent Xvid clip. It is a deliberately narrow tool — worth understanding precisely before you use it, because both formats behave in ways their names do not advertise.
| Property | Value |
|---|---|
| Full name | Nikon Electronic Format |
| Owner | Nikon; proprietary, camera-specific variants |
| Kind | Raw sensor capture ("digital negative"), not a finished picture |
| Bit depth | 12-bit or 14-bit, selectable on higher-end bodies |
| On-card storage | Uncompressed, compressed, or lossless compressed |
| What it stores | Sensor data plus metadata: lens, exposure, white balance, Picture Control |
| Colour rendering | Held as adjustable instructions, applied at develop time |
| Opens in | Nikon NX Studio, Adobe Camera Raw / Lightroom, RawTherapee, darktable |
| Typical size | Tens of megabytes per frame on current bodies |
| Property | Value |
|---|---|
| Full name | Xvid video codec |
| Standard implemented | ISO/IEC MPEG-4 Part 2, Simple and Advanced Simple Profile |
| Project | Open source under the GNU GPL; started in 2001 |
| Relationship to DivX | Same underlying MPEG-4 Part 2 standard; Xvid is the free implementation |
What our .xvid file really is |
AVI bytes carrying an MPEG-4 Part 2 stream tagged xvid |
| Encoder used | libxvid |
| Maximum frame size here | 2048 x 2048, including on "Keep original"; each axis is clamped separately, so an over-cap frame comes back square. A Preset Resolution scales proportionally instead |
| Dimension rule | Width and height are rounded down to even numbers |
| Audio in this output | None — the source is a photograph |
.nef onto the page or click "+ Add Files". Multiple Nikon files can be queued; "Merge strategy" starts on "Merge images" for one combined clip, or choose "Video per image" for one file each.The download is literally named .xvid, and almost nothing recognises that extension — Xvid is a codec name, not a container. What the file actually contains is an AVI: a RIFF/AVI wrapper holding an MPEG-4 Part 2 video stream whose codec tag identifies it as Xvid. Rename it to .avi and it opens in VLC, MPC-HC, ffmpeg-based tools and most DivX-era hardware without re-encoding anything. If your destination is fussy about the wrapper as well, NEF to AVI produces the same MPEG-4 family output with the conventional extension in the first place.
Two other Xvid-specific behaviours are worth knowing before you convert. First, the frame is capped at 2048 x 2048 by the codec profile used here, so a full-frame Nikon file is always scaled down — a 45.7-megapixel 3:2 frame of roughly 8250 x 5500 becomes about 2048 x 1364 after the cap and the even-number rounding. Second, "Quality Preset" is inert on this page: it works by scaling a source video's bitrate and a photograph has none, so use Constraint Quality, whose slider is labelled "CRF" but is really an MPEG quantizer from 1 to 31 where lower is better. It opens at 23; drag it down to about 3–6 for a clean still.
.xvid instead of .avi?Because the page's target format is the codec name, and the pipeline honours it literally. Xvid is not a container — it is an encoder for MPEG-4 Part 2 video — so a .xvid file has to be wrapped in something, and here that something is AVI. Open the file in a hex viewer and you will see a RIFF/AVI header. Renaming it to .avi is safe, instant, and lossless: no bytes change, and players stop refusing it. Do that first whenever a device or app says it does not recognise the file.
They encode to the same standard. Both produce MPEG-4 Part 2 video, and Xvid targets Simple Profile and Advanced Simple Profile, which is what DivX-era hardware decodes. The difference is provenance: Xvid is a GPL-licensed open-source project started in 2001, while DivX is a commercial product. In practice a player that lists one usually reads the other. If a specific deck rejects an Xvid file, NEF to DivX is the sibling target worth trying — it, too, arrives with a literal .divx extension holding AVI bytes.
Two limits stack. During preparation each uploaded image is re-rendered to a clean PNG capped at 4096 pixels on its long edge. Then the Xvid encoder configuration here caps the frame at 2048 x 2048 and scales proportionally when either dimension is over, after which both dimensions are rounded down to even numbers. That is why a modern Nikon raw of eight thousand-odd pixels wide lands near 2048 regardless of what "Video resolution" says. If you need the photo at full resolution, do not use a video target at all — NEF to TIFF keeps every pixel.
Not CRF. Xvid has no constant-rate-factor mode, so the value is passed to the encoder as an MPEG-style quantizer coerced into the range 1–31, where 1 is the highest quality and 31 the lowest — the inverse of the H.264 CRF scale most people have in mind. The slider opens at 23, which is deep into the low-quality end and is the single most common reason a still comes out blocky. Choose Constraint Quality, pull the quantizer down to roughly 3–6, and use the "Max bitrate" field alongside it so a large flat area cannot inflate the file.
No. A NEF holds 12-bit or 14-bit sensor data with white balance, tone and Nikon Picture Control stored as adjustable instructions rather than baked-in pixels, which is what gives raw its recovery headroom. Producing a video frame requires demosaicing and developing the raw with one particular set of those values, then flattening the result to ordinary 8-bit video. Once inside the Xvid stream, the latitude is spent exactly as it would be in a JPEG. Keep the original .nef as your master and set the look in a raw editor first if it matters.
It is silent, and there is no audio control on this page at all — a photograph has nothing to encode, so the audio codec group is not rendered rather than being filled with silence. An ordinary Xvid AVI would normally carry MP3 audio, but that only applies when there is a soundtrack to carry. To add music or narration, convert here, rename the result to .avi, and bring it into a video editor such as Shotcut, Kdenlive or DaVinci Resolve, which will mux an audio track alongside the existing video.
Because on image sources the "Background Color" control opens on White. Any area of the frame not covered by the photo — the pad that appears when the picture's aspect ratio does not match the frame — is filled with that colour, and the same colour is used to flatten anything transparent before encoding. The dropdown offers 25 named swatches, so pick Black or a match for your destination before converting. Video sources behave differently: their letterbox bars are black and this control is not shown.
Not from this page. On an image source the File Compression group renders only Quality Preset, Constant Quality and Constraint Quality; the "Target file size (%)", "Specific file size", "Constant Bitrate" and "Variable Bitrate" modes are hidden because each one is derived from a source video's existing bitrate. Constraint Quality is the substitute — set the quantizer for the quality you want and cap the result with "Max bitrate". Lowering "Video resolution" is the other big lever, and it usually costs less visible quality than pushing the quantizer up.
Usually a different target. Xvid earns its place only when a specific DivX or Xvid-era player, car head unit or set-top box requires MPEG-4 Part 2 in an AVI wrapper. For anything current, NEF to MP4 is smaller at the same quality and plays natively on phones, browsers, TVs and editors. And if you do not need video at all — you just want to see, send or print the photo — NEF to JPG is the right tool, with the full list of options on the NEF converter hub.
Your NEF is uploaded over an encrypted connection, developed and encoded on our servers, and deleted automatically a few hours after the conversion finishes. There is no sign-up, no watermark, and files are never shared or made public. If the finished clip still needs to be smaller for a card or a slow link, run it through the video compressor rather than pushing the Xvid quantizer toward 31.