Created
January 20, 2024 18:37
-
-
Save KangHidro/124ae6ea9e5b1824872a4a8f09c32e7e to your computer and use it in GitHub Desktop.
Revisions
-
KangHidro created this gist
Jan 20, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ # Download - Download MEGUI: https://sourceforge.net/projects/megui/ - Download AviSynthPlus (Installer): https://github.com/AviSynth/AviSynthPlus/releases # 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"