Overclock.net › Forums › Software, Programming and Coding › Other Software › Rendering/Encoding HQ video for Youtube, Help?
New Posts  All Forums:Forum Nav:

Rendering/Encoding HQ video for Youtube, Help?

post #1 of 14
Thread Starter 
So I've been taking some gaming footage and stuff with Fraps. I'm recording at 1080p with Max FPS (120). When I watch the videos, they look amazing, exactly like how it is when I'm playing the game. Now when I encode the video to upload to youtube, it pretty much looks like crap. I'm using the Youtube HD setting on Adobe Premiere CS5 when I export the media, except I use 6 Target and 8n Max bitrate. When I do recording with my DSLR it looks amazing even after doing this. But for some reason the footage I take from Fraps ends up lookin like crap and I can't figure out why. Any advice or help? Thanks!
Alice
(14 items)
 
  
CPUMotherboardGraphicsRAM
2600K @ 4.6Ghz (1.400v) AsRock Extreme 4 Sapphire 7970 1125/1575 G.Skill RipjawsX DDR3 1600 CL8 (4x4Gb) 
Hard DriveHard DriveHard DriveOS
Samsung 840 Wester Digital RE4 (Raid0) Seagate Barracuda Windows 7 64bit Pro 
MonitorMonitorKeyboardPower
2x Asus VW246H Qnix QX2710 Ducky DK1008 (Mx Red) Corsair HX1000 
CaseMouse
NZXT Phantom Razer Deathadder 
  hide details  
Reply
Alice
(14 items)
 
  
CPUMotherboardGraphicsRAM
2600K @ 4.6Ghz (1.400v) AsRock Extreme 4 Sapphire 7970 1125/1575 G.Skill RipjawsX DDR3 1600 CL8 (4x4Gb) 
Hard DriveHard DriveHard DriveOS
Samsung 840 Wester Digital RE4 (Raid0) Seagate Barracuda Windows 7 64bit Pro 
MonitorMonitorKeyboardPower
2x Asus VW246H Qnix QX2710 Ducky DK1008 (Mx Red) Corsair HX1000 
CaseMouse
NZXT Phantom Razer Deathadder 
  hide details  
Reply
post #2 of 14

If your encoding your video with to have an average of 6Mbps, then your already going to run into quality problems at 1080p. Especially if you upload it to YouTube. To see what i mean, watch your video after encoding.

Solution: encode the video at 16Mbps average, and max 24-50Mbps. If you don't have the upload bandwidth for that, then do some tests with 8-12Mbps average. If your footage has lots of motion, if will require a higher bit rate to look decent/good. More on that later.

 

The other possible problem is that you may be rendering your video at 120fps. This means that there will be less detail per frame compared to something smaller like 30fps. So although the video may look smoother when playing back on your PC, the quality will be lacking.

Solution: encode the video with four times higher bit rate than the YouTube's recommended minimum(8Mbps for 1080p). If you don't have the bandwidth to upload that, then render the video at 30fps. The first solution will result in higher quality, according to YouTube.

 

The likely reason your camera footage looks amazing on YouTube is due to the amount of motion in video games compared to your camera recordings. For example, in BF3, being in a helicopter and seeing the blades spinning eats away a your average bit rate. Your video will end up looking pretty crap after YouTube has re-encoded regardless of what you do to it. For an example of this, check out my latest video here(~24Mbps avg, ~50 max). Compare the first clip(watch in 1080p full screen, and look at the text) to the second one.


Edited by nawon72 - 2/14/12 at 2:10am
post #3 of 14
Thread Starter 
That makes a lot of sense with the motion thing. In my videos, when the camera isn't moving a lot it looks very crisp, but once it moves then it's a bit blurry again. I'm pretty sure mine are going at 29.97 Fps or wahtever that number is. So you're saying I should try encoding at like 16 Target and 40 Max? That would probably take me a day to encode a 10 min video, haha. It took me about 3.5 hours to do an 11 minute video at 29.97Fps, 8 Target, 40 Max, 2 Passes.
Alice
(14 items)
 
  
CPUMotherboardGraphicsRAM
2600K @ 4.6Ghz (1.400v) AsRock Extreme 4 Sapphire 7970 1125/1575 G.Skill RipjawsX DDR3 1600 CL8 (4x4Gb) 
Hard DriveHard DriveHard DriveOS
Samsung 840 Wester Digital RE4 (Raid0) Seagate Barracuda Windows 7 64bit Pro 
MonitorMonitorKeyboardPower
2x Asus VW246H Qnix QX2710 Ducky DK1008 (Mx Red) Corsair HX1000 
CaseMouse
NZXT Phantom Razer Deathadder 
  hide details  
Reply
Alice
(14 items)
 
  
CPUMotherboardGraphicsRAM
2600K @ 4.6Ghz (1.400v) AsRock Extreme 4 Sapphire 7970 1125/1575 G.Skill RipjawsX DDR3 1600 CL8 (4x4Gb) 
Hard DriveHard DriveHard DriveOS
Samsung 840 Wester Digital RE4 (Raid0) Seagate Barracuda Windows 7 64bit Pro 
MonitorMonitorKeyboardPower
2x Asus VW246H Qnix QX2710 Ducky DK1008 (Mx Red) Corsair HX1000 
CaseMouse
NZXT Phantom Razer Deathadder 
  hide details  
Reply
post #4 of 14
Quote:
Originally Posted by Phry View Post

That makes a lot of sense with the motion thing. In my videos, when the camera isn't moving a lot it looks very crisp, but once it moves then it's a bit blurry again. I'm pretty sure mine are going at 29.97 Fps or wahtever that number is. So you're saying I should try encoding at like 16 Target and 40 Max? That would probably take me a day to encode a 10 min video, haha. It took me about 3.5 hours to do an 11 minute video at 29.97Fps, 8 Target, 40 Max, 2 Passes.

I'm saying that you should encode your video at the highest bit rate(to and extent) you are comfortable uploading, if that's what you're doing. If your are just keeping the video for personal use, then the bit rate is less of an issue, and you should use what ever you think is sufficient.

 

The average and max bit rates i mentioned were merely suggestions that work for me when uploading to YouTube at 30fps. If you're using a lower or higher fps in the final video, then you should adjust your bit rate accordingly(higher fps=higher bit rate needed).

 

Based on my past experience(not much IMO), rendering a video with 8Mbps will take just as long as 16Mbps(YMMV). If you want to check, render a 5s section of your video at 8Mbps and time it. Then do the same at 16Mbps.
 

You may also want to try using x264 -crf(Constant Rate Factor) to encode your videos. It should be more than twice as fast as using 2 pass, with the only disadvantage being you can't accurately predict the final file size and bit rate. But with some experience, you will be able to get it close enough. If you would like more information on how to do this, just ask me here. Ill provide some links, and some instructions/help for you to follow in order to get your workflow moving quicker. biggrin.gif

 

Also, check out this link: http://support.google.com/youtube/bin/static.py?hl=en&topic=1728573&guide=1728585&page=guide.cs

If you don't understand it, don't worry. Just make sure you read through the basic parts, especially the recommended bit rates, and the part about frame rates.

post #5 of 14
Here's what I do.

1. Record using FRAPS at 1080p/30 FPS.

2. Piece everything together with Windows Live Movie Maker and export it.

3. Then I compress it in Handbrake with the x.264 crf set at 20 and export it as a .MOV file.

You will always deal with quality drop when you compress. It's similar to audio, there's the source recording and then there's the MP3. The source will always be better.

Example Video using that method (It can be watched @1080p on YouTube):
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
post #6 of 14
Quote:
Originally Posted by That Guy View Post

Here's what I do.
1. Record using FRAPS at 1080p/30 FPS.
2. Piece everything together with Windows Live Movie Maker and export it.
3. Then I compress it in Handbrake with the x.264 crf set at 20 and export it as a .MOV file.
You will always deal with quality drop when you compress.

What do you "export it as? If its not loss less, your losing a bit of quality. <--- I might have no idea what im talking about because i haven't used WLMM before. But i doubt it can frame serve to Handbrake.

 

-crf 20 is a bit high to me. I wouldn't go above 18 unless unless the video doesn't have much motion. (note to Phry: Higher CRF = lower quality)

 

Careful. You can compress with no quality loss using a loss less encoder such as FLAC, or Lagarith.

post #7 of 14
Quote:
Originally Posted by nawon72 View Post

What do you "export it as? If its not loss less, your losing a bit of quality. <--- I might have no idea what im talking about because i haven't used WLMM before. But i doubt it can frame serve to Handbrake.

-crf 20 is a bit high to me. I wouldn't go above 18 unless unless the video doesn't have much motion. (note to Phry: Higher CRF = lower quality)

Careful. You can compress with no quality loss using a loss less encoder such as FLAC, or Lagarith.

I keep the entire thing as .AVI until it goes through handbrake and then it becomes a .MOV

crf 20 is either DVD quality or Bluray quality. Either way, that's what I used for my video and it looks fine to me.
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
BlueRaven
(13 items)
 
Dead BIOS
(9 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 G74Sx NVIDIA GeForce GTX 560M  Samsung  
RAMRAMHard DriveHard Drive
Samsung  Samsung  Momentus 7200.4 Scorpio Blue 
Mouse
Logitech G700 
  hide details  
Reply
post #8 of 14
Quote:
Originally Posted by That Guy View Post


I keep the entire thing as .AVI until it goes through handbrake and then it becomes a .MOV

.avi is an simply a container, and doesn't say anything about the quality of the video(linky). But ill just make the assumption that you are encoding the video loss less into the .avi container.

 

 

Quote:
crf 20 is either DVD quality or Bluray quality.

 

crf 20 is more like DVD than Bluray. But that is somewhat irrelevant when uploading to YouTube since it gets re-encoded. What matters is that it you upload the video with as high a bit rate as possible in order to get the best results. But make sure you aren't going over YouTube recommendations, or you will be wasting your time.

 

 

Quote:
Either way, that's what I used for my video and it looks fine to me.

 

It looks fine to me too, but i prefer to have it looking as good as possible given YouTube's low bitrate encoding. But whatever you're happy with is what's important. 2cents.gif


Edited by nawon72 - 2/16/12 at 1:10am
post #9 of 14
Youtube will always ruin video quality, as others have stated.

The method I use to encode is outdated and pretty hard, but I get good results and have't needed to change. Basically I render video and audio lossless from program, bring it in megui, choose one of the predefined settings(cause smart ppl make them, my as well trust it) then choose the mbs to encode. 3D takes alot of MBS as ppl said but I can't see adifference in quality past 12mbps on 720p footage.

Look for some of the newer x264 guis out there, there's a big list of programs at a site called "videohelp"

and yeah make sure you set 120fps if you want it that smooth, I'm not sure if youtube will rencode to a lower fps though.
Sniper
(13 items)
 
  
CPUMotherboardGraphicsRAM
720BE - 3.5GHZ GA-MA790XT-UD4P GTX260 216 2x2GB DDR3 G.Skill 
Hard DriveOSMonitorKeyboard
WD 640GB Black x2 Windows 7 64bit IPS 22" 2209WA Saitek II 
PowerCaseMouse
TX750W Storm Sniper G5 
  hide details  
Reply
Sniper
(13 items)
 
  
CPUMotherboardGraphicsRAM
720BE - 3.5GHZ GA-MA790XT-UD4P GTX260 216 2x2GB DDR3 G.Skill 
Hard DriveOSMonitorKeyboard
WD 640GB Black x2 Windows 7 64bit IPS 22" 2209WA Saitek II 
PowerCaseMouse
TX750W Storm Sniper G5 
  hide details  
Reply
post #10 of 14
Quote:
Originally Posted by MiyaDV View Post
choose one of the predefined settings(cause smart ppl make them, my as well trust it) then choose the mbs to encode.

Which setting do you choose that works best for YouTube? I have yet to try a preset, unless i made it.

New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Other Software
Overclock.net › Forums › Software, Programming and Coding › Other Software › Rendering/Encoding HQ video for Youtube, Help?