Quote:
	
		
		
			
				Originally Posted by legendhouse
				
			
			I have spent the last 3 days trying every possible way of uploading to YouTube to get HQ. I don't believe it can be done right now. Nothing I have read anywhere works.
			
		
	 
  It can be done. There are a few limitations when you want to achieve reasonable quality control;
- 480x360 pixel resolution preferred, 25 frames/sec.
(640x480, 576x432, 512x384 also quite possible)
- no more than 7 minutes of actual content.
- uncompressed 44.1 kHz wav audio all the way to the final encode
Add solid black to the end (you can do that using 
Vegas or Premiere or any free NLE)
so that the total length of your video is 10:59 (almost 11 minutes). You can even
put some end credits on it if you like, just keep it lightweight.
Resize (and if necessary letterbox) to 480x360 and then sharpen
using your favorite tool for that (
Virtualdub, 
Avidemux, etc.)..
Keep your audio and video in lossless or uncompressed video all the way up to here.
Encode the end result with 
mencoder. Windows users can get their copy of 
mencoder here:
http://sourceforge.net/project/showfiles.php?group_id=205275&package_id=248631&release_id=575226
(most will want the file with "p4" in it for Pentium 4 and faster processors)
It's a 7zip file, can be unzipped with 
totalcommander and the 
7zip plugin, or whatever you like to unzip it with.
You only need to unpack "mencoder.exe" somewhere (and remember the path to this file).
Use 
this to_flv.bat as an example:
	Code:
	
"C:\YOUR_PATH_TO\mencoder.exe" "C:\YOUR_SOURCE_VIDEO.avi" -o RESULTING.flv -mc 0 -ofps 25 -srate 44100 -oac mp3lame -lameopts vbr=2:q=8:aq=0:mode=1:lowpassfreq=16000 -ovc lavc -of lavf -lavfopts format=flv -lavcopts vcodec=flv:vbitrate=277:keyint=125:mbd=2
:trell:v4mv:aic:cbp:last_pred=3:predia=4:dia=4:preme=2:vratetol=1100:vpass=1
"C:\YOUR_PATH_TO\mencoder.exe" "C:\YOUR_SOURCE_VIDEO.avi" -o RESULTING.flv -mc 0 -ofps 25 -srate 44100 -oac mp3lame -lameopts vbr=2:q=8:aq=0:mode=1:lowpassfreq=16000 -ovc lavc -of lavf -lavfopts format=flv -lavcopts vcodec=flv:vbitrate=277:keyint=125:mbd=2
:trell:v4mv:aic:cbp:last_pred=3:predia=4:dia=4:preme=2:vratetol=1100:vpass=2
  Change value "vbitrate=277" to your likings!
Use 
MediaInfo to check the FLV bitrate average;
if it's 350 kbits/s or higher, lower vbitrate to match it to reach exactly 349 kbits/s
You can also change values
keyint=125, q=8, lowpassfreq=16000
to achieve a different end-result bitrate.
keyint=100 (a keyframe every 4 seconds)
keyint=150 (a keyframe every 6 seconds)
  
q=7 (higher bitrate audio-stream)
q=9 (lower bitrate audio-stream)
lowpassfreq=15000 (FM stereo quality range, causes lower rate)
lowpassfreq=19000 (human hearing range, causes higher audio rate)
mode=1 (joint stereo, best choice for lame vbr mp3 audio)
mode=3 (mono audio stream, lowers audio bitrate a little)
More mencoder options: 
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html
You can then upload your 349 kbits/s .flv file to YouTube and have the best quality plus some useless black ending ;-)
It's called the "padding" trick, but I thought I'd remind you it's still working out quite nicely.
Some examples done this way:
http://www.youtube.com/watch?v=g9AeP7UFCn0
http://www.youtube.com/watch?v=bwkrpCqvcR0
http://www.youtube.com/watch?v=9UnQWdPhU8Y
Remember, the 349 kbit/s that 
mediainfo says it is, is spread over the entire duration of the video, including the non-moving low-requirement black ending. 
In reality, mencoder will get your content-part up to 1200 kbit/s video, depending on the duration of course.. Plus you have total control over the end result, and there's no messing with fmt links. Until YT changes its ways, this is what I will use.