Getting AVCHD into AviSynth

  • Google: [avchd avisynth]
    • []
      • My very own question, asked 15 Feb 2009, no replies since then.
      • Stated tha:
        • AviSynth via DgIndex etc. (as used by me) could read MXF files as far as their video was concerned, but not the audio.
    • []
      • Avisynth acts as a conduit for the mts files (you import as simple script into premiere).
    • []
      • *You’ll also need an AVCHD directshow codec installed. If you don’t have one, you can use the latest QTalternative
      • * You’ll also need to install Haali Media Splitter.
      • DirectShowSource(“myclip.MTS”) #use the name of the clip
      • DirectShow needs an MTS file reader/splitter to open MTS files. That’s what Haali Media Splitter is for.
      • There’s also the option of DGavcdecNV, which (if you have an Nvidia card) will use the GPU on the video card for decoding the AVCHD file. (See also
      • … links to two DirectShow AVC decoders: CoreAVC Proffdshow.
      • Deeper advice
        • When using DirectShowSource() AviSynth is asking Windows’ DirectShow subsystem to do all the file parsing, stream splitting, and audio/video decompression. If you can open your M2TS (or whatever) file with Windows Media Player then you have everything necessary for DirectShowSource() to work. If WMP will not play the file then you need to find and install the appropriate file reader, file splitter, and/or codecs.
        • (If) you are getting sound but no picture you probably just need a DirectShow decoder for the video. ffdshow includes MPEG 2 and h.264 decoders.
        • If you can’t get DirectShowSource() working you should try DgMpgDec (MPEG 2) or DgAvcDec (h.264). Run DgIndex or DgAvcIndex, and then use Mpeg2Source() or AvcSource() in the Avisynth script.
          • Sadly, at this time of writing (2010-09-01), it seems that DgAvcDec has been abandoned (due to uncomfortable “ride” along the licensed software approval process, with respect to used libraries ).
    • []
  • []
    • As DGAVCDec is withdrawn, this thread is now closed
      • Indeed I was unable to download it.  Also it was still in a state of development and testing, as far as I could see.   Shame.

Leave a Reply

You must be logged in to post a comment.