Bulk upload game soundtrack on Youtube?



Panopticon
06-03-2016, 01:42 PM
So I have this game which is fine to upload, but the files are in mp3 and mp4 (two versions) and I’ve tried for over an hour to find a way to convert them (all at once) into seperate videos of course (with a still image) to no avail.

There’s no way I’m doing this one by one, and there’s gotta be some way be it in Sony Vegas or something. Since I’ve seen music rips out there with 100+ "videos" / tracks.


nx666
06-04-2016, 03:02 AM
I’m using ffmpeg (https://ffmpeg.org) and the following batch file for this purpose:

create_avi_batch.bat

FOR %%i IN (.\_input\*.mp3) DO .\bin\ffmpeg -loop 1 -r 2 -i image.png -i ".\_input\%%~ni.mp3" -vf scale=1280:720 -c:v libx264 -preset slow -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p -threads 0 "%%~ni.avi"
pause

You then need to create this folder structure:

_input
bin
create_avi_batch.bat
image.png

"_input" is the the folder that contains all your mp3 files
"bin" put ffmpeg.exe in this folder
"create_avi_batch.bat" the batch file from above
"image.png" the image that you want to use for your videos

Starting the batch script will create one avi file for every mp3 in the "_input" folder.

Some notes:
– This works for me with mp3 files and 1280×720 png images. Pictures of a different size should work, but other audio encoders require changes to the script.
– The ffmpeg version I’m using is N-79075-ga7b8a6e


Panopticon
06-04-2016, 09:45 AM
Thank you very much, I’ll check it out asap 🙂

Edit: Worked like a charm!


Read our new section

Online Casino South Africa

Best Online Casino South Africa Sites 2025 Whether you’re new to gambling or a seasoned player, this page highlights the ...

Online Casino New Zealand

Best Online Casino NZ in Overview Our team has reviewed and selected the best online casino NZ based on their ...

Online Casino India

Best Online Casino in India 2025 Still searching for the best online casino in India? We’ve reviewed and ranked the ...

Online Casino Australia

Best Online Casino Australia 2025 We've selected the top online casino Australia for generous bonuses, real money games and fast ...

Online Casino UK

Best Online Casino UK 2025 Here you wil find a list of the best online casinos UK, from those with ...

Online Casino Canada

Find the Best Online Casino in Canada for 2025 Our team of independent reviewers has tested over 50 online casinos ...
best online casino

Online Casinos

Online Casinos - Your Trusted Guide 2025 We aim to make your online gaming experience easy, safe, and enjoyable. With ...