Skip to content

Instantly share code, notes, and snippets.

@KangHidro
Created January 20, 2024 18:37
Show Gist options
  • Save KangHidro/124ae6ea9e5b1824872a4a8f09c32e7e to your computer and use it in GitHub Desktop.
Save KangHidro/124ae6ea9e5b1824872a4a8f09c32e7e to your computer and use it in GitHub Desktop.
How to use MeGUI (2944) - update 2024

Download

Install

Install AviSynthPlus Extract MEGUI

Config

  • Open MEGUI
  • Select "Options" in menu bar
  • "Main" tab:
    • Uncheck "Always use the included AviSynth"
    • Check "Enable DirectShowSource() in the AVS Script Creator
  • Save and Restart MEGUI

Encoding

  • Menu "Tools" -> "AVS Script Creator"

  • In "Input" section -> "Video Input" -> Select Video

  • A popup will show, select "DirectShowSource"

  • Back to "AVS Script Creator" dialog, select tab "Filters"

  • In "Subtitles" section -> "File" -> Select sub file (ass/srt)

  • Click "Preview AVS Script" if you need to re-check Video and Subtitle

  • "Save"

  • In main MEGUI window -> "Input" tab -> "Video encoding" section:

    • Encoder settings: x264 scratchpad
    • File format: MP4
    • Press "Queue"
  • In main MEGUI window -> "Input" tab -> "Audio encoding" section:

    • Audio Input: select original video
    • Encoder settings: FFmpeg AAC: scratchpad
    • Extension: M4A
    • Press "Queue"
  • Wait for MEGUI encoding, you will got 2 file: MP4 (video no audio) and M4A (audio)

  • Menu "Tools" -> "Muxer" -> "MP4 Muxer"

  • Select Video MP4 (no audio) as Video input

  • Select Audio M4A as Audio input

  • Press "Queue"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment