DGMPGDec 3.0.0.1 is a free MPEG-1 and MPEG-2 indexer and decoder that feeds DVD and TV recordings frame-accurately into AviSynth+, offered here with DGDecNV 259, its NVIDIA-powered sibling for H.264 and HEVC.

Updated
Size
1.3MB
Downloads
142.8K

DGMPGDec is a free tool pair that reads MPEG-2 video from DVDs, TV recordings and transport streams into AviSynth with every frame in place.

DGIndex scans the video and writes an index file, and DGDecode serves the frames to your AviSynth script from that index.

Version 3.0.0.1 is the current release, and the download page also carries DGDecNV 259, the NVIDIA-accelerated sibling for MPEG-2, AVC, HEVC and VC-1.

What DGMPGDec Actually Does

Older tools such as DVD2AVI could lose a few frames at the start or end of a stream, which pushed the audio out of sync. DGMPGDec returns every coded frame and lets you jump to any frame accurately.

  • DGIndex - open VOB, MPG, M2V, TS, M2TS or PVA files, set a crop if you like, and save a .d2v project. It also pulls out the audio as AC3, DTS, AAC, MPA or LPCM.
  • DGDecode - an AviSynth plugin. One line, MPEG2Source("movie.d2v"), loads the video into your script.

It works with AviSynth+ and AviSynth 2.6, and can also feed VapourSynth.

What Changed in 3.0.0.1

Version 3.0.0.1, from August 2025, is a small fix for VapourSynth users. Streams coded at 1088 lines now come out at their real 1080, and the crop you set in DGIndex is now applied.

It builds on 3.0.0.0, which made the tools 64-bit only and dropped the old VFAPI frameserver. That release also added an indexing_path option and stopped MPEG2Source from overwriting your settings when it indexes a file automatically.

For an old 32-bit setup, take 2.0.9 from the download page. It is the last version with a 32-bit DGIndex and DGDecode, and it ships a 64-bit DGDecode alongside.

DGDecNV: The GPU Version

DGDecNV does the same indexing job but decodes on an NVIDIA graphics card. It handles MPEG-2, AVC (H.264), HEVC and VC-1, which makes it the choice for Blu-ray and HDTV sources.

It needs an NVIDIA card with a video decode engine; for HEVC, a GTX 1050 or newer is the practical minimum. Keep your NVIDIA driver current, as laptops and Remote Desktop are not officially supported.

DGDecNV has been freeware since 2021, after years as a paid tool. The current build is 64-bit only and comes with two versions of the plugin, one for any modern processor and a faster one for CPUs with AVX2.

What Is New in DGDecNV 259

Build 259, released in October 2026, follows 258 closely, so the two are best read together.

  • Faster frame delivery - DGSource() hands frames over about 23 percent faster on an 8K 10-bit HEVC test clip, at the cost of one extra decoded frame in memory.
  • HDR to SDR on the GPU - the built-in tone mapping now checks its settings properly, so a wrong h2s_mode value gives an error instead of silently picking the other mode.
  • Cleaner filters - fixes for a stripe artifact in chroma denoising, colour shifts on odd frame heights, combing with bob deinterlacing, and several crashes in the levels and tweak filters.
  • Memory leaks fixed - reloading a script many times no longer slowly eats memory, in AviSynth or VapourSynth.
  • MKV demuxing - the "MKV add AUDs" option no longer produces green, damaged video on multi-slice AVC and HEVC streams.

The older DGDecNV 2053 builds still on the download page date from 2023 and include 32-bit versions. Use them only if you are stuck on a 32-bit chain.

Where It Fits in an Encode

A typical DVD job runs like this: rip the disc to VOB files, index them in DGIndex, filter in an AviSynth script, then encode with x264 or x265.

MeGUI runs DGIndex for you and builds the script, and StaxRip can use DGDecNV for hardware-decoded sources.

For audio, eac3to handles demuxing and converting the tracks, and MKVToolNix puts video, audio and subtitles together at the end.

Who Should Look Elsewhere

If you just want a DVD as an MP4 file, HandBrake does it in a few clicks with no scripts. To back up a disc to MKV without re-encoding, MakeMKV is simpler.

To just play MPEG-2 files, VLC Media Player needs nothing extra. Windows apps can use the MPEG-2 Video Extension.

Many modern scripts load sources with the LSMASHSource or FFMS2 plugins instead, which open almost any format without an index step. DGMPGDec still wins for frame accuracy on difficult MPEG-2 captures.

Quick questions

Is DGMPGDec free?

Yes. DGMPGDec is free and open source under the GNU GPL, and DGDecNV is freeware.

Do I need to install it?

No. Unzip it to a folder, run DGIndex.exe, and load DGDecode.dll in your script or put it in the AviSynth plugins folder.

Does it read encrypted DVDs?

No. DGIndex needs unprotected VOB files, so the disc has to be copied to your drive first.

DGMPGDec or DGDecNV?

DGMPGDec for MPEG-1 and MPEG-2 on any PC. DGDecNV if you have an NVIDIA card and also work with H.264, HEVC or VC-1, or need HDR converted to SDR.

More frameservers and encoding tools are in our Video Codecs section.

Download DGMPGDec 3.0.0.1 or DGDecNV, or tell us what you index with it.

Available files

See all 12 files and mirrors
SC
Sony camcorder
29 Apr 2007
2/5Poor
Tried to play my .m2ts file from my Sony HD camcorder with this program but I got an error. This is even that it is pointed out that it should support this file format.

This is a BETA version, but anyway it should work. We will se when the final version is coming.
Reviewed on DGMPGDec 1.4.9 beta 17

Share your thoughts on DGMPGDec 3.0.0.1 / DGDecNV 2.59

0 / 3000
Your rating
Verification code picture

Letters and numbers, not case sensitive. Hard to read? Get a new code.

Reviews and comments get a quick check before they go live - no spam allowed.

Related to DGMPGDec

More free downloads to try
  1. AviSynth screenshot

    AviSynth Closest match

    1.220.235 downloads Open Source (GPL) 46.3MB

    AviSynth+ is a free, script-based video frameserver that filters video and serves the frames to encoders and editors on Windows.

    Mentioned in our DGMPGDec write-up

  2. MKVToolNix screenshot

    MKVToolNix Top rated

    4.8 (4) 916.839 downloads Open Source (GPL) 31MB

    The standard toolkit for rebuilding MKV files - merge, split, retag and extract tracks losslessly, because it rewrites the container and never the video.

    Mentioned in our DGMPGDec write-up

  3. StaxRip screenshot

    StaxRip Top rated

    4.8 (8) 199.596 downloads Open Source (MIT) 895MB

    StaxRip is a portable Windows video encoder frontend that drives x264, x265, SVT-AV1 and VVenC through a unified GUI.

    Mentioned in our DGMPGDec write-up

  4. HandBrake screenshot

    HandBrake Top rated

    4.8 (5) 91.492 downloads Open Source (GPL) 22.5MB

    HandBrake is the free, open-source video transcoder most people start with when a video needs to get smaller or play on another device.

    Mentioned in our DGMPGDec write-up

  5. VLC Media Player screenshot

    VLC Media Player Most popular

    4 (62) 4.313.664 downloads Open Source (GPL) 37.66MB

    VLC Media Player is the free, open-source player that opens almost any video or audio file with no codec pack to install.

    Mentioned in our DGMPGDec write-up

  6. MeGUI screenshot

    MeGUI

    4 (2) 85.290 downloads Open Source (GPL) 106MB

    MeGUI is an application whose main feature is DVD ripping, but which can perform other transcoding tasks as well.

    Mentioned in our DGMPGDec write-up

View all in Video Encoders