VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Good day everyone

    I'm trying to make a ffmpeg code to mux multible audio(mka) and video(mkv) but it doesn't work could anyone help me with it

    Code:
    :: set paths 
    set ffmpeg=C:\ffmpeg.exe
    
    @echo.
    @echo on
    for %%a in (*.mkv) do "%ffmpeg%" -y  -hide_banner -i "%%~dpnxf"  -i "%%~dpnf.mka" -c:v copy -c:a copy  -map 0:0 -map 1:0 -shortest "%%~nf-remux.mp4"
    
    Pause

    regards
    Last edited by alkoon; 5th Jun 2020 at 11:39.
    Quote Quote  
  2. for %%a in (*.mkv) do "%ffmpeg%" -y -i "%%~dpnxf" -i "%%~dpnf.mka" -c:v copy -c:a copy -map 0:0 -map 0:1 -shortest "%%~nf-remux.mp4"
    Last edited by ProWo; 5th Jun 2020 at 09:16.
    Quote Quote  
  3. You're using "for %%a" but using the letter f in the file names.
    Quote Quote  
  4. thank you guys =)
    Quote Quote  



Similar Threads

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