Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th April 2010, 20:19   #1  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Youtube is butchering my quality!

My quality: http://www.youtube.com/watch?v=0I8Aa...layer_embedded

Raw File: http://rapidshare.com/files/38009488...tled-muxed.mp4

Where am I going wrong?
fonebone10 is offline   Reply With Quote
Old 25th April 2010, 21:07   #2  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,567
Looks fine to me. Youtube always doing reencoding. Video on youtube has something like 5 times less bitrate than your raw file and encoder probably outdated.
Keiyakusha is offline   Reply With Quote
Old 25th April 2010, 22:02   #3  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Then why does this guy have such good quality:
http://www.youtube.com/watch?v=X54LEk6RKnA
fonebone10 is offline   Reply With Quote
Old 25th April 2010, 22:44   #4  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,567
I'm not saying the quality can't be better, I'm saying in your case its fine to me. That guy's video on youtube has higher bitrate. Maybe he uploaded video with better quality (or even lossless) and/or higher resolution. His video is much longer which is depending on what mode youtube uses for encoding absolutely can affect quality. It is possible that there is some other little tricks to get a bit better quality. You should use search for this, it was discussed many times.
Keiyakusha is offline   Reply With Quote
Old 25th April 2010, 23:38   #5  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Well, my quality ought to be better, as I'm capturing with a Blackmagic Intensity Pro (Compressed MJPEG, HDMI) and he's recording with a Hauppauge HD-PVR, which encodes all incoming video with H.264. Could you at least recommend some render settings/what you think would make the quality better? As of right now, I'm rendering with MeGUI, and Sony Vegas Pro 9
fonebone10 is offline   Reply With Quote
Old 25th April 2010, 23:51   #6  |  Link
CWR03
Custom User Title
 
CWR03's Avatar
 
Join Date: Mar 2005
Posts: 3,739
I don't see anything wrong with your YouTube video, but I did view the 720p version. The regular one does look pretty bad, which is something you can't control in any way.
CWR03 is offline   Reply With Quote
Old 26th April 2010, 00:08   #7  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Compared to the other guy's video, mine seems a lot more choppy, blocky... it's probably a youtube bitrate problem, but it's a problem nonetheless. I would like it fixed, which is why I am asking the guys here in Doom9 to help me out, since I know jack shit about video encoding, other than basic MeGUI stuff.
fonebone10 is offline   Reply With Quote
Old 26th April 2010, 01:40   #8  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,567
fonebone10
As I said you can search for some older threads, maybe there is some tips, workarounds for youtube. Other than that, you have absolutely no control over youtube's quality. All you can do is to upload video with higher quality to begin with, which means higher resolution with higher bitrate or even lossless (but be careful with filesize limit - 2GB if i remember correctly). If this doesn't helps, then that guy is more lucky than you.
Keiyakusha is offline   Reply With Quote
Old 26th April 2010, 04:25   #9  |  Link
7ekno
Registered User
 
Join Date: Jul 2007
Posts: 389
Capturing to H264 will always be better than MJPEG (which requires ~ 4x the bitrate for similar output), plus Vegas is pretty aweful for quality as well ...

He's probably just straight out uploading the H264 encode from the capture ...

Your's is going thru a few various conversions from a pretty aweful (MJPEG) source ...

7
PS as mentioned, you have no control over what youtube decides to butcher the video too ...
7ekno is offline   Reply With Quote
Old 26th April 2010, 05:33   #10  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
What if I captured uncompressed instead of MJPEG?

And no, he is not straight uploading the gameplay, as there is color correction, and commentary, and audio adjustments. He had to have used Vegas.




For best quality, do you guys think I should sell my Blackmagic Intensity Pro for a Hauppauge?
fonebone10 is offline   Reply With Quote
Old 26th April 2010, 08:00   #11  |  Link
Warperus
Registered User
 
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 140
Capturing to MJPEG should keep more details than H264 provided you have enough bitrate. Capturing uncompressed is even better.
I don't think that Hauppauge will give better results for you.
What file type? codec and settings do you use to render your file in Vegas?
Warperus is offline   Reply With Quote
Old 4th May 2010, 15:42   #12  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Sorry about the late delay, I was upgrading/moving my computer, and I've also been busy...

The way I render is as such:

I record with BlackMagic Media Express 2, @720p, 59.97 (Compressed MJPEG) onto a 4 TB RAID 0 Setup.

I import the file into Sony Vegas, and my project settings are:



Then, I render the video and audio seperately. I render the video in AVI, with the Lagarith Codec. The settings are as follows:





This is the Lagarith Codec settings:


So I open meGUI and create a script:



Finally, these are my meGUI settings








fonebone10 is offline   Reply With Quote
Old 4th May 2010, 17:40   #13  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,567
Can you record in higher resolution? If yes - do so. EDIT: if you can't, maybe you can upscale video a bit so youtube will think that resolution is higher and will encode with better settings.
Do not capture to mjpeg, use lossless if you can and if you have enough space.
Adjust your megui settings so they won't be very insane but the resulting file size will be little less than 2Gb.
Also if somehow framerate is ~60fps - decimate that down to ~30fps (or better capture at 30 or even 24 fps)

Last edited by Keiyakusha; 4th May 2010 at 17:47.
Keiyakusha is offline   Reply With Quote
Old 4th May 2010, 19:56   #14  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Quote:
Originally Posted by Keiyakusha View Post
Can you record in higher resolution? If yes - do so. EDIT: if you can't, maybe you can upscale video a bit so youtube will think that resolution is higher and will encode with better settings.
Do not capture to mjpeg, use lossless if you can and if you have enough space.
Adjust your megui settings so they won't be very insane but the resulting file size will be little less than 2Gb.
Also if somehow framerate is ~60fps - decimate that down to ~30fps (or better capture at 30 or even 24 fps)
I was under the impression that 720p > 1080i for recording video games? Also, how exactly do I upscale? I can record lossless if necessary. How should I adjust the settings? I will record with 30 fps when my BMIP comes back, since I RMA'd it, it stopped working the other day.
fonebone10 is offline   Reply With Quote
Old 5th May 2010, 10:02   #15  |  Link
7ekno
Registered User
 
Join Date: Jul 2007
Posts: 389
The decimation is your problem, you haven't defined how it's being done, you have just forced it down via DirectShowSource ... DirectShowSource is also not frame accurate on MP4 ...

Also, I don't understand the purpose of Vegas, MeGUI handles trims and will import MJPEG directly from AVI (with the right codecs) ...

If final aim is 30fps, best to capture losslessly at 30fps and work from there ...

7ek
7ekno is offline   Reply With Quote
Old 6th May 2010, 11:56   #16  |  Link
Warperus
Registered User
 
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 140
fonebone10
Youtube will convert your video to 29,97 so it's good idea to capture, process and code in this framerate.
Ideally 24/25 fps is accepted as well, but due to some bug it's possible they'll be converted to 29.97.

If youtube is your only target you can forget about MeGUI. Simply render file in Vegas using internal Mainconcept AVC codec with high enough bitrate.
Main profile, Variable bitrate 25M average, 40M max should be more than enough for preserving quality. I even think it's an overkill. File size for 10 minutes video will be a bit less than 2Gb - just the limit Youtube accepts.

7ekno
Quote:
I don't understand the purpose of Vegas
Vegas is convenient and versatile tool for such video editing. It has much more than just trims, crops and color corrections.

Last edited by Warperus; 7th May 2010 at 08:13.
Warperus is offline   Reply With Quote
Old 7th May 2010, 01:23   #17  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Unfortunately, the Media Express software will not let you record in 30 fps...
fonebone10 is offline   Reply With Quote
Old 7th May 2010, 08:51   #18  |  Link
Warperus
Registered User
 
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 140
Quote:
Originally Posted by fonebone10 View Post
Unfortunately, the Media Express software will not let you record in 30 fps...
Well, then decimate fps in Vegas.
Set it up in project settings and select "Disable Resample" in event properties for every captured video you import.

By the way, check your video for levels range. In Vegas open Histogram scope (Ctrl+Alt+2, select Histogram) and check mean min/max values on it. It should be in 16-235 range to be processed normally.
Warperus is offline   Reply With Quote
Old 11th May 2010, 21:14   #19  |  Link
fonebone10
Registered User
 
Join Date: Apr 2010
Posts: 19
Quote:
Originally Posted by Warperus View Post
fonebone10
Youtube will convert your video to 29,97 so it's good idea to capture, process and code in this framerate.
Ideally 24/25 fps is accepted as well, but due to some bug it's possible they'll be converted to 29.97.

If youtube is your only target you can forget about MeGUI. Simply render file in Vegas using internal Mainconcept AVC codec with high enough bitrate.
Main profile, Variable bitrate 25M average, 40M max should be more than enough for preserving quality. I even think it's an overkill. File size for 10 minutes video will be a bit less than 2Gb - just the limit Youtube accepts.

7ekno
Vegas is convenient and versatile tool for such video editing. It has much more than just trims, crops and color corrections.
Results: http://www.youtube.com/watch?v=ex_x7OrMKHI

There's still a lot of artifacts, etc...

I also disabled resample.
fonebone10 is offline   Reply With Quote
Old 12th May 2010, 11:50   #20  |  Link
Warperus
Registered User
 
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 140
fonebone10
Some fragments of your video are way harder for encoding than others.
Google encoded your video with the following settings:
Code:
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1mn 42s
Bit rate mode                    : Variable
Bit rate                         : 2 828 Kbps
Maximum bit rate                 : 7 750 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 29.917 fps
Resolution                       : 8 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.103
Stream size                      : 34.7 MiB (96%)
Title                            : (C) 2007 Google Inc. v08.13.2007.
Encoded date                     : UTC 2010-05-10 01:39:35
Tagged date                      : UTC 2010-05-10 01:39:36
As you can see maximum bitrate is times more than overall bitrate. Good quality for such cases can eat even more, but bitrate is limited by encoder in order to obey overall bitrate settings.

I see few possibilities for "quality increase":
1) Add some light content to your movie. For example, you can add 10 seconds caption in the beginning. Add 30-60 seconds titles in the end, name youself, thank your mother/father/teacher/friend, name your game, its version, game publisher, developer etc. Well, be creative in words, but make titles as simple for encoding as possible (stationary text on stationary background is best). As stationary images are compressed very well, encoder will be able to borrow bitrate reserved for this light part and give it to hard parts of your movie.
Of cause, this method has its limits and it's hard to expect 25Mbps max bitrate in this case.
2) Reduce details of hard-to-encode pieces to increase their compressibility. Most common way to do so is denoise filter. You can find one though google search. You can also use blur.
3) Trick viewer to avoid hard-to-encode pieces. Add screen freeze or zoom in, make flash/pixelate/push transition etc.

Do you see such artifacts in Vegas rendered movie? I hope not. It's just bitrate limits in youtube.
Warperus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.