Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have about 15 WAV files that I want to upload to my YouTube channel, but YouTube only accepts video files. I know that I can open each file up in Movie Maker or some other video editing software and save it as a video like that, but that's too time consuming.

I've tried a few programs that claim to be able to do this in batch format, but I have had no luck as YouTube fails to process my files. I am at work and don't remember the names of the programs I used, but I figure you all can recommend programs that you know work for a fact.

share|improve this question

2 Answers 2

Youtube won't allow you to upload audio without a video stream, or vice-versa. With a recent version of ffmpeg, the following will attach a black video for the duration of the audio:

ffmpeg -i input.wav -filter_complex 'color[v1]' -map [v1] -map 0:a \
-c:a copy -shortest output.mp4

-c:a copy will not re-encode the audio stream (since youtube will do that itself), but if you want to you can use libmp3lame to encode MP3 audio, or libfdk_aac (or a number of other options depending on your version, see the link) to encode AAC audio.

If you want to use an image instead of blackness (say, an album cover), you can do something like this:

ffmpeg -i input.wav -loop 1 -i image.png -c:a copy -c:v libx264 -shortest output.mp4

See here for information about libx264.

share|improve this answer

If you are using Windows, I actually recommend using Windows Movie Maker. Just drag the song onto the timeline, then export it as any format. It probably won't be any larger than a few megabytes.

You could also attempt using Lightworks on Windows, or VLMC. Windows Movie Maker should NOT be time consuming, as it works very quickly on my 800mhz processor.

For Mac, iMovie will accomplish the same task in the exact same way.

For Linux, you could use Cinelerra, as it has a graphical interface to work with.

share|improve this answer
    
I specifically mentioned in my question that I know I can use Movie Maker, but that it's too time consuming for the 15 or so files I need to do this for. –  oscilatingcretin Aug 16 '11 at 19:46
    
@oscilatingcretin I have added more windows options. –  Simon Sheehan Aug 16 '11 at 20:05
    
I am using Movie Maker for Windows Live Essentials. It sucks. You can't just drop a WAV file into an empty project. You first have to bring in an image. Only then will it allow you to drop in a WAV, but even then you have to play around with the time scale to get it to fit the length of the song. I couldn't imaging doing this for 15 individual songs. I need a batch processor. I think the other guy's suggesting to use ffmpeg will be the best bet as soon as I can find a download link. –  oscilatingcretin Aug 16 '11 at 23:19
    
@oscilatingcretin the link i included for movie maker is version 2.6. Its the old one included on XP. You will find it very easy to use i think microsoft.com/download/en/details.aspx?id=34 –  Simon Sheehan Aug 16 '11 at 23:51
    
I gave it a try, but, apparently, you can't manually adjust the video/audio bitrates separately. I want the lowest possible video bitrate, but maintain a 192kb/sec audio bitrate. To get a high audio bitrate, I have to go with a high video bitrate which yields a huge file size. If I use a low video bitrate, the audio bitrate is too low and sounds like crap. I give up. –  oscilatingcretin Aug 17 '11 at 1:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.