Here is the new guide: http://youtube.com/watch?v=hLtTNE61iik
The method described in this video no longer works so your only hope is to go HQ by clicking that link.
(Old description) Want better looking videos that won't be ruined by YouTube's reencoding? This guide shows you how, using free software. Uploading videos in YouTube's native format allows them to slip through untouched. Here are the basic rules:
-Stay under 350kbps
-Make sure your video is resized to an internet friendly size (320x240;448x336;480x360)
-Encode a flash video in the Sorenson H263 codec
For those using FFmpeg, here is what you must paste into Notepad and save as "encode.bat" (thanks vhelpflv):
ffmpeg -i video.avs -pass 1 -ab 32k -ar 22050 -ac 1 -vcodec flv -b 304k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4+trell -y youtubemovie.flv
ffmpeg -i video.avs -pass 2 -ab 32k -ar 22050 -ac 1 -vcodec flv -b 304k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4+trell -y youtubemovie.flv
pause
Make sure you change video.avs to video.avi if you're going directly from avi. You can adjust the bitrates to whatever you want as long as MediaInfo reports the total bitrate is under 350kbps (and no, the Hex hack doesn't work anymore but you can put a still picture at the end for a couple minutes to lower the bitrate).
If you want to resize your video (for example footage.avi) with AviSynth (you must have it installed), you can paste this into Notepad and save as "video.avs" (it should work on normal camcorder footage):
AviSource("footage.avi").SeparateFields().SelectEven().BilinearResize(320,240)
As long as all these files are in the same directory, you can simply run encode.bat and it will create your ready to upload YouTube video! Just be sure to check with MediaInfo that everything turned out okay. Check bitrate especially - it will probably be a little different than you told FFmpeg. Tip: pick the Tree view in MediaInfo to get the detailed information you need.
You can do it! just remember - good encoding takes time. Your DVD's don't look great by accident - someone took the time to do a high quality encode... unless you're shopping on the bargain rack.
Programs mentioned in this guide:
-MediaInfo
-FFmpeg - http://ffdshow.faireal.net/mirror/ffmpeg/ - you can open the file with 7zip File Manager; it contains ffmpeg.exe.
-AviSynth http://www.avisynth.org/
my video keeps on failling with uploading. I converted the mp4 clips. It did work first but now something won't. I use windows live movie maker. What should i do?
bjthedjdutchdude1992 9 months ago
@bjthedjdutchdude1992 Is it the "upload failed" message? That means either something is wrong with the file (unplayable) or YouTube doesn't have the codec to play it (rare but possible). Message me, describing your process and the settings you choose.
DerekForPresident 9 months ago
when i upload my videos that i edited with avs editor 4 it did not work =[
vidmakerpreson 2 years ago
You're not uploading an AVS, are you?
DerekForPresident 2 years ago
@DerekForPresident I am uploading an avs what do i do to make it work
thelaxking25 11 months ago
@thelaxking25 The AVS only works on your system. It's not an actual video file, so you'll have to save it to an AVI with VirtualDub. Xvid or x264 VFW are fine codec choices.
DerekForPresident 10 months ago