Page 1 of 1

Upload Audio to YouTube

Posted: 04 Sep 2022 18:29
by admin
Hey folks,

I need to upload an audio file (2 minutes) to YouTube. But they accept only videos. When I google this, I get hundreds of replies that try to sell some fat software to do the job. But I only have to do this once. Is there also a cool solution? BTW, I already know that I need some 1920 x 1080 graphic, and I already made one. Just need the conversion and the upload.

thanks,
Don

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 18:36
by Horst
I guess some mkv format may help here.
From the Makemkv forum:

Code: Select all

I suspect that the issue is that MakeMKV is assuming that, since you're using Matroska video format file, you would want the video... :)
You can let MakeMKV create the MKV file, then use tools like mkvmerge to extract just the track(s) you want into your "final" file.

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 18:38
by highend

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 18:41
by omid

Code: Select all

ffmpeg -loop 1 -framerate 1 -i input.png -i input.mp3 -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest output.mkv
https://askubuntu.com/questions/868283/ ... eo-smaller

https://github.com/BtbN/FFmpeg-Builds/releases

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 18:50
by admin
ffmpeg looks good! But which is the right download link? I see 4 of them for Windows...

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 19:10
by omid
admin wrote: 04 Sep 2022 18:50 ffmpeg looks good! But which is the right download link? I see 4 of them for Windows...
Whatever you choose, it works

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 19:26
by admin
Started well, then stopped with error "Unknown encoder 'libx264'" (running on Win8.1).

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 19:30
by highend
https://github.com/BtbN/FFmpeg-Builds/r ... pl-5.1.zip

That one works fine with a input.png and input.mp3...

Re: Upload Audio to YouTube

Posted: 04 Sep 2022 19:36
by admin
Bingo! :party: :appl: