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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -