I need your help to convert dozen of video from heavy AVC mkv (over 2Gio for ~20min) to light x264 mkv (~400Mo) with chapter, multiple audio track that i want to keep (with the language tag) and convert from AC3/DTS to AAC and multiple subtitles that i want to copy too.
I have tested handbrake but it ignore audio and subtitle in batch...
I'm more or less a noob so don't be too harsh on me ^^
Thanks in advance!
+ Reply to Thread
Results 1 to 6 of 6
Last edited by videobruger; 17th Dec 2017 at 06:07.
If you also need attachments (e.g. fonts) use slightly different:
for %%g in (*.MKV) do ffmpeg -i "%%g" -map 0 -c:v libx264 -crf 22 -c:a aac -c:s copy "%%~ng_converted.mkv"
Firstly thanks for your help.
I have tested the command line and it seem to work well. Only need to find the good value for crf.
For handbrake, i would like to know exactly how you did so i can test and understand my mistake. (i open with "folder (batch scan)", enter my settings for the first video and select "all selection to queue". There will be only the first file with audio and subtitle but the other will be without them.
HandBrake batch behavior changed a bit over time (incl. bugs). Hope you can get it to work ...
But ffmpeg isn't really harder because you only need the single line posted by videobruger.