ffmpeg conversion for an entire folder? -
ive been using:
sudo ffmpeg -i test.mkv -vcodec copy -acodec libfaac -ac 2 -ab 328k test.mp4
for individual files, have many gigabytes of mkvs in folder , conversion @ once , walk away computer. appologize ignorance, new linux , dont understand how bash scripts written or if necessary.
also, believe command downsamples dts audio in mkv 2 channel aac. correct 328k highest bitrate can convert to?
one way it, assumes @ least 1 mkv file in folder.
for inf in *.mkv ffmpeg -i "$inf" -c:v copy -c:a libfaac -ac 2 -ab 328k "${inf%.*}.mp4" done
Comments
Post a Comment