VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Is it possible to use ffmpeg (preferably in a batch script for Windows 10) to remove either the 1st or 2nd audio tracks (whichever one I specify in the script) of, say 10 episodes in a folder, then output the muxed files into a separate sub-folder? Hopefully I can use a number based on ID or something. FYI all episode will have identical audio track formats and "order".

    Thanks for any help!
    Quote Quote  
  2. Nevermind I figured this out on my own.

    Solution:
    if not exist DDP md DDP
    for %%g in (*.mkv) do (
    ffmpeg -i %%g -map 0:0 -map 0:2 -c copy DDP\%%g
    )
    This will leave out the audio track with ID 0:1
    Last edited by agon024; 25th Mar 2021 at 13:08.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!