I often record gameplay clips from video games I’m playing with FRAPS. Usually in 1920×1080 resolution depending on the game and the FPS I get with FRAPS running. For transcoding the raw footage to something bearable to upload I usually use only VirtualDub.
Lately I’ve experimented with settings, and I think I found some good ones. Good video and sound quality with small file size were my goals. I think roughly 100 mb for a 5 min. clip and about 300mb for the full 10 min. in full 720p HD quality is awesome.
I’m still experimenting with sound compression but I think with 192 kb/s AC-3 ACM I have a good start.
Please bear in mind that the higher your resolution is the bigger your file size will be and vice versa. Those 100 mb respectively 300 mb are based on my 1920×1080 resolution!
This guide is intended for 16:10 and 16:9 resolutions. If you’re playing on a 4:3 resolution, do not resize down to 1280*720p without maintaining aspect ratio, because the end-result will otherwise look over-stretched/-squeezed.
My settings for VirtualDub are in the picture below. If you want a very detailed explanation what each option does, check this out!
By the way, you have to have the H.264 codec installed to get it working. Download and install the latest VFW-version build here. PAY attention which version you’re downloading, x86 (=32bit) or x86_64 (=64bit).
A warning about the Option “Multithreading” -> “Threads” don’t set it higher than [# of your CPU Cores * 1.5] because then your whole system will start chugging. For example a Core 2 Duo would be 2 Cores * 1.5 = 3, a Q9550 would be 4 Cores * 1.5 = 6 and an AMD Phenom II X3 would be 3 Cores * 1.5 = 4.5 4.
This is by no means a guarantee that it will or will not work on your system. Each system, its components and its software are unique. You’ll probably have to experiment a bit on your own. But those mentioned numbers are a good start.
It also might be necessary for you to adjust the audio volume to your liking. I have -10 dB, because the sound I record is terribad. My onboard sound sucks, period. Some people also experience asynchronous sound, here’s how you can fix it.
Edit 30.05.2012 – FFDSHOW Resize Filter:
There’s an external filter, a better one in my opinion, available to use with VirtualDub. It’s calle ffdshow and it provides amongst other things resize, watermark and sharpen functions. Here’s the guide.
On a side note: When you have uploaded your clip on YouTube and YouTube processed it the quality then will be lowered again. There’s nothing you or I can do about that, it’s up to YouTube.
The whole tutorial is also available on YouTube as a video:
http://www.youtube.com/watch?v=o9XOgnaJ_Hs
A few links to my own HD clips:
http://www.youtube.com/watch?v=nxijbXfIs4A&hd=1
http://www.youtube.com/watch?v=3yt35f2WFFY&hd=1
http://www.youtube.com/watch?v=Oe4jCQ8zzz0&hd=1
http://www.youtube.com/watch?v=eNLlobJbrm8&hd=1
Addendum 16.September 2009: Enabling GPU acceleration
Since version 1.9.4 it is possible to use the GPUs processing power (if your GPU supports it, which most modern GPUs do) as part of whole the transcoding process. This way you can speed up the transcoding process significantly (depending on your compression settings!).
On my computer this cut my transcoding time from an average 1h for a 10 min. clip down to some 40-ish minutes. Under “Options” -> “Preferences” enable “3D accel”.
Addendum 23.10.2009: Crashes during encoding
There’s currently a problem causing VirtualDub 1.9.4/5/6/7/8/9 to crash under Windows 7 while encoding sometimes. The culprit is 3D accel! Turn it off under “Preferences” -> “3D accel” and enjoy VirtualDub once again!
Addendum 16.05.2010: Option “3d accel” slowing down encoding
I’ve been getting mixed messages. Apparently using “3d accel” causes it to render slower than usual on some systems. I can confirm that. With 3d accel turned on, a 10min video takes about 1 hour 10-20 minutes, while turned off it takes about 1 hour max. You’ll have to experiment on your system!
And if you are running on a multicore cpu, don’t forget to enable threading via “Option” -> “Preferences” -> set “Threading” to 1!
Update 30.05.2012:
Added link to ffdshow filter guide.
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
98 Comments
Tell me, is VirtualDub suitable for creating such a Video Mapping https://videomapping.store/ ?
No, unfortunately not. Not even close. Sadly I can’t help you either with recommendations since what I do is strictly transcoding with barely, if any, video editing.
On top of that, Virtualdub hasn’t been updated in a very long time and could or rather should be considered deprecated in today’s fast evolving tech landscape. I personally recommend https://handbrake.fr/ for transcoding or http://www.xmedia-recode.de/ .
Great article!!! 🙂
I have 1 question:
the “ADVANCED ENCODING SPECIFICATION” for YouTube, recommended to use a “CLOSED GOP: GOP of half the frame rate.” What does this mean?
How can I set it with the x264vfw codec into Virtualdub??
Thnks
No idea, I don’t follow YouTube’s specifics, I set my own. As for GOP, GOP = Group of Pictures. I don’t think the option is in Komisar’s version of x264vfw, however you can force command lines into it. I have no idea what the command is for Closed GOP and half the framerate.
Sorry I could not be of more help.
Thanks!!!!
here are all the details to upload the video with advanced specification:
https://support.google.com/youtube/answer/1722171?hl=en&guide=1728585&rd=1
🙂
Dude, I’m still messing with settings to best suit my needs, but I really want to thank you for saving my life. I use Sony Vegas Pro 11 and no matter settings/format I try there, my videos ALWAYS get out of sync on YT. The latest one was driving me nuts (not cool sending a full hd video over and over and over and over), so I followed your simple guide and voilá.. perfect sync!!! Thumbs up to you!
I’ve used the exact same settings for my BF3 recordings. But no matter what I do I cannot get it to render it faster than 15fps.
I have an I7 3770K at 4.6GHZ – I’ve set the threads to 6 (it uses 65-72% of my cpu).
But still it’s too slow and a 15 minute clip takes 38! minutes to render. what’s wrong here?
It doesn’t use my GPU either (ATI 7970 with Opencl enabled drivers)
VirtualDub doesn’t use GPU to render faster, unfortunately.
Your 3770k is a 4 core, 8 threads. If 6 threads only use 65-72%, try upping the thread number. I have mine at 10-12 with my 2600k.
Should be definitely faster than 15 fps, but not insanely faster. It depends what kind of scene you’re rendering. If there’s happening very much you’ll get low fps, if the opposite is the case, your fps will be much higher. In simple terms, many more factors attribute to higher/lower fps numbers.
Hey, for some reason, whenever I create a new filter the input is always at 320×420. How can I change this?
Never came across this problem. o.O
Hello Don,
I have a really weird problem with virtualdub (used to be ok few days ago) maybe i have done something I don’t remember…
Anyways after encoding the movie my VIDEO is in .mp4 file as it should be thee is no sound… instead the AUDIO is in dummy .avi file which is created while encoding…
It is weird because couple days ago it was normal… after encoding the mp4 file had sound with it…
Any idea?
Oh and btw it only happend when encoding in .mp4 when I don’t choose mp4 format and encode it in .avi there is only one output file with video and sound.
But when i try to encode it in .mp4 it finish with 2 files:
.avi- the dummy file with audio only
.mp4- video only without the sound
🙁
I guessing you’re using either a modded VirtualDub or a plugin for mp4. Because the official VDub cannot handle mp4 output.
I can’t help you in this matter as I’ve never used a VDub other than the official one.
However there’s a workaround I believe. You got a mp4 with video and no audio, and you got an avi with sound.
Load up the avi, then “File” -> “Save Wav…” and extract the audio.
Load up the mp4, go to “Audio” -> “Audio from Another File” and select the newly extracted wav-file.
Then save as mp4 I guess. Should work then, I believe. If not then I can’t help you, because I don’t use a modded VirtualDub or a mp4 output plugin.
Thx for fast reply Don!
I will try your idea next time when I will encode some video.
Fixed it a little bit with the new version of Virtual Dub 1.10.0 and putting the same settings that were shown in the picture. I now do around 10min for a 6go file. But I am still running at 50-65% cpu usage. I am sure I could get more from my cpu, I have put the Multithreading – Threads at 8 in the video encoder settings. Any tips would be appreciated. Thanks!
If you’re running at 50-65% CPU usage try upping the number of threads in the x264 codec.
Other than that, try playing around in Options -> Performance. Render pipelining, AVI output buffering, etc.
Hey, I have a 2600k and I am wondering what I should change in the settings above to be able to encode faster. I mean a 6go video with the settings at the top takes around 25minutes to encode. I do not think that it should be slow like that, I was wondering what I could do to be able to encode faster. Thanks!
appreciate the help, i think right now i got the encoding dialed in, whether using virtual dub or cs5. The finished product quality is amazing, and what im posting on youtube now looks 10x cleaner. The only catch is, i still gotta figure out the initial project settings in premiere, since i have some preset limitations. Thanks a ton for your time. learned alot since yesterday.
Thanks for the response. I got a couple more questions if you don’t mind helping a noob.
1.) If I understand correctly 1680*1050 is considered 16:10 ratio. the 1920* dimension doesn’t appear as a choice for me in either game or video card settings.
2.) What combination of editor and virtual dub do you suggest for gaming videos? Do I record raw with fraps, put it in [Insert suggestion], then export full size, and use virtual dub as the final compression? I ask this because my slightly broken copy of premiere cs5 doesnt have hdv preset and anything i export from premiere craps out at 720×480. Any suggestions are much appreciated.
3.) thanks for your time.
1) Yes, 1680*1050 is 16:10 aspect ratio. If you monitor can’t handle 16:9 then it can’t. I mean you could force a lower 16:9 ratio, but as long as the display resolution is not native the picture on your screen will appear blurred. Leave it at 1680*1050.
2) I personally only use VirtualDub, because I don’t need to edit my videos a lot if any. My friend, McAkomx, swears by Sony Vegas Studio. He uses it to edit his videos and to encode it. He doesn’t use VirtualDub at all.
If you have a video editing program, like Premier CS5 or Sony Vegas Studio, you usually don’t need Virtual Dub, as it’s redundant. Premier CS5 does what VirtualDub does, and then some. You can use this guide to set up your encoding in Premier CS5.
Because Premier CS5 uses the same codec as VirtualDub does. The only questions is HOW, which I can’t help you with because I don’t use Premier CS5. You should have the option to choose an encoding codec. Choose the x264 and you should get the same options layout like above in the guide, set it up like described, and encode.
Addendum 2)
I personally record with Fraps raw. Load it into VirtualDub, choose encoding codec and let it run.
Do you have any suggestions or FRAPS settings? my monitor is set to 1680×1050, and i have FRaps set to 30 fps and half size. loop buffer length 30 seconds. is that considered 4:3 ?
No, I don’t have any suggestions, as every computers has its own strength and weaknesses.
4:3 has nothing to do with Fraps. 4:3 is the aspect ratio of your monitor. https://en.wikipedia.org/wiki/Display_resolution
Try around with Fraps until you find it to your liking. Though there’s not much to set up in Fraps. Whether you record in 30 fps or not, depends how much HDD you can hold. The more FPS the bigger the files.
Loop is only important if you take frequent breaks and don’t want to waste HDD space. So you can loop it if you take a break and resume when you’re back.
Been uploading game vids to YT for a couple of years now. Tinternet (Yorkshire dialect) got slower in the last few months and uploads sometimes show a time of eighteen thousand minutes for 1.7GB files. Such large files often fail after a day or so of uploading. Used your method and the same file is now a third of the size and takes a lot less time so the upload is much more likely to succeed. After two weeks of failed uploads I decided to miss a vid out of a series, going from vid five to vid seven, but now vid six is on You Tube thanks to you.
Thank you so much for all your efforts.
Graham, from the United Kingdom’s beautiful Yorkshire.
Cheers! Glad I could help!
Hmm. I encoded with these settings a 20 min long video. I recorded at 1280×1028 and my overall size was 40gb. and after i encoded it. it was 2gb. and you said in the first post that 10min videos would net you around 300mb. i have lower res than you then how come my file is 6 times larger?
I havent had the time to read over all the comments. Excuse me if you addressed this issue before.
I dunno. Makes no sense. Mid July I recorded in 1920×1080, about 60gb which was about 700mb final encoded size ( http://www.youtube.com/watch?v=Cvy-v92d3Ag ). Same settings as above.
Must be you somehow.
hey man. the image isnt working. please fix
Fixed.
Thank you, it’s a very nicely detailed and easily understandable guide. You should also add a sharpen filter to your screenshot. Before that guide I always wondered how people are making HD videos for youtube, I thought that they always downscale.
My video: http://www.youtube.com/watch?v=Vv7YwTbH0so
Black boxes at sides – I know but my resolution is 1400×1200.
Anyway, Thank you again 🙂
Regarding sharpening:
http://www.kaputniks.org/fraps-virtualdub-save-disk-space-good-quality-small-filesize/
I having a problem uploading the tutorial video I wanted. The video size is about 5 mb and when I tried your tutorial and upload it in youtube, it became so choppy. But when I’m previewing it in my desktop, it still fine. Do you know what’s the problem. btw it is 480p. next time I’ll just put it in 360p.
No idea, sorry. Not much to go on from your description.
it is possible to me to increase the bitrate? I think my bitrate is so low. it is about 58 kbps only.
Yes, http://i.imgur.com/hXbIb.png
High Quality = high bitrate
Low Quality = low bitrate
so are you saying that I must put it to 1 so I can get a higher bitrate? what is your settings in your tutorials?
No, you have to experiment to find the one to your liking.
My settings are in the screenshot in the post.
Thx man ! It’s work ! VERY GOOD !
I followed your tutorial with the exactly same settings n all. I resized my video from 1080p to 720p, its a 10 min video but the file is still way too big, 1.3GB! Am I doing something wrong?
I can’t answer this question. There’s too many variables to consider.
– Sound uncompressed
– You’re recording with more than 29.97 fps
– You’re compressing a scene where a lot happens
– Different codec, different compression algorithms
This guide is a bit old, the basics though are the same. I too sometime get more than the size I wrote down in the tutorial. It’s normal. But 1.3gb for 10min. is definitely too much for my taste.
Best compromise quality< ->filesize I get with my own settings are about 700-800mb per 10 min. clip.
There is a slider in the menu of x264vfw configuration for the quality of a video. The farther you move it to the right, the smaller your video will be. But it is also losing more and more quality. If your videos are too large with the kaputniks.org standard settings for 720p videos, move that slider to the right (low quality) until you have found your desired size and quality.
Hey there, I’m using VDub for a while already and wanted to try this out.
I got the latest versions of vfw x264 and VDub, installed it and all works fine – until it hit the “configure” button.
The window that pops up looks like this:
As you can see there are no tabs for “Analysis & Encoding” or “Rate control & Other” so I can’t adjust these settings. Would you know any reason why?
Yes, you’re using a different version of x264vfw codec. I mean same version, but different GUI.
As far as I know there’s 2: Komisar’s x264vfw, the one I have in the screenshots and MasterNobody’s, the one in your screenshot.
Thanks for the quick reply. Unfortunately it seems my computer doesn’t like Komisar’s version.
I tried a clean re-install with it, but it just won’t show up in VDub.
I guess I’ll have to stay with Nobody’s.
Dam, i always used the mpeg-4 to convert my videos, but the files were still to big. Now im converting with your tutorial… It takes fking long time but the quality and its size are quite impressive.
After converting ill upload on youtube and i make here the link for u guys to see…
Hope YT doesnt f**k my vid like i’ve read the comments above.
Thanks for the info but after working through it and converting a file (took a couple hours) then uploading it to YouTube I was met with the dreaded “cannot convert file” (and of course YouTube tells me this after taking 30-60 minutes to upload the file and more to process it lol.
So if you’re gonna upload this to YouTube, be wary.
Must be something you did. Just yesterday, I uploaded two videos on YouTube.
Have you got the newest x264vfw codec? 1713 according to Komisar. Latest VirtualDub? 1.9.10.
I setup my settings just like yours except I have 3 cores select (since i have a dual core 1.5×2 = 3) and I avoided the other 3daccel settings you mentioned. Not sure what happened.
I recorded with FRAPS originally and the file came out as 5GB, uploaded it to youtube as less than 500mb which is awesome but it didn’t work =( I’ll have to check if I have the latest versions but I just got the codec a day or so before posting my earlier comment and just downloaded virtualdub like 2 weeks ago.
Can’t really help you. Not much information there to go on. No idea what’s happening, sorry.
That’s too bad 🙁
I’ll give a try to a solution I came up with – before abandoning all my hope…
Also half-size recording is worth a try. Since these files I have are super-massive!
Maybe it can reduce or perhaps prevent async completely.
If not, it’s either Xfire, its setting or my PC. – I have to do some experiments then..!
Thanks for helping out Don!
Try recording with Fraps
Yeah, FRAPS crossed my mind, but its free version has record length limitation.
Besides Xfire can do those short recordings without problem too!
And YES! Solved my problem partially with VDub!
Solution for syncing A/V for raw *.AVI video:
In VDub goto Video//Frame Rate…//change so A/V durations match and set “Direct Sream Copy” for both audio and video!
This helped to keep audio synced over 50% of the video (33.5GB and ~27min). After that audio started to come before video, in the end of the vid difference was about 1-2 seconds in favor of sound.
Note: this works only once, running the procedure after you’ve completed it once seems to do absolutely nothing.
By what I have learned now, I’m better off by keeping maximum file size less than 3GB – no perceivable async!!!
And btw didn’t FRAPS automatically split recordings into 2GB files? I remember reading something like it somewhere… o.O
Fraps splits files after 4GB, FAT32 max. size, because apparently not everybody has switched to NTFS.
I’m afraid I have to bother you again!
I have this older game which max resolution is 640*480, and I’d like to maintain the quality also on youtube. So, I re-sized raw video into a 480p (854*480 – since 16/9 * 480 = 853.3333), I’m aware that I lost some quality in the process BUT on my screen it was still crystal clear after re-size!!! However after youtube finished processing the video was pixelated beyond my wildest dreams!
Question is what I did wrong here?
Is that correct (exact) resolution for 480p?
Should I’ve gone for 360p?
Aren’t youtube’s definitions following:
1920*1080 for 1080p
1280*720 for 720p
854*480 for 480p???????
640*360 for 360p
428*240 or 426*240 since (16/9 * 240 = 426.666667) for 240p????
What would be correct re-sizes for each lower definition IF I can’t provide the HD footage 720p+?
Help appreciated!
You didn’t do anything wrong. After you upload a video YouTube re-encodes the whole video again, it’s like running VirtualDub a second time over the video.
There’s nothing you can do about that. You can try lower or original resolution of course and hope YouTube doesn’t f’k it up.
Generally 480p, 360p and 240p videos have miserable qualities on YouTube with a few exceptions for which I have no explanation.
Hello!
Great settings for youtube HD Video!
My first ever youtube video: http://www.youtube.com/watch?v=hAbNk1PDJ0I
I had to slightly modify your settings though, was getting only 4fps at first… now I’m getting about 10.5-12.5fps.
With these modified settings my PC encodes 33.5GB – 26min 46sec video into a 905MB! Processing took about 1h 10min, not bad either.
I do have some questions though, since been processing videos for 5 days now:
1. Although I had enabled this in VDub; Video/Frame Rate…/Change so video and audio durations match.
I still got video and sound unsynced in that near 30min video!
How do I prevent this unsync from happening?? Why it happened in firstplace if I had that option checked?
2. Why is this Format filter; 4:2:2 interleaved YCbCr (UYVY) needed, since video color depth remains unchanged?
Let’s say I’d change vid output to 24bit RGB, do I need to add different filter or is this 4:2:2 interleaved YCbCr good?
3. How do I “cut” my videos, say into 15min clips? With VDub or any other freeware program?
Should it be done with raw video or can I do it after compression?
Great guide! Keep up good work!
1. Most likely because your CPU is overwhelmed. I’ve had the issue in the past, but really couldn’t find the cause. So I’m only speculating.
Think of it this way: The CPU has to process the images, compress it, etc. AND on top of that it has to match the sound to the exact image, process, compress etc. said sound. Most likely the CPU then is overwhelmed with the work and that’s when it becomes asynchronous. But like I said, just speculation on my part.
How to prevent asynchronous sound? Process the video first, leave the sound (“Audio” -> “Direct Stream Copy”) intact. After you encoded the video, process the sound. Set the sound compressions, volume, etc. then “File” -> “Save WAV…”, save the compressed sound this way. Close VirtualDub. Reopen VirtualDub.
Open your compressed video, go to “Video”, set “Direct Stream Copy”. Go to “Audio” and choose “Audio from another file…” and choose the compressed audio you previously saved via “Save WAV…”, then “File” -> “Save as avi” and you’re done.
2. Obsolete settings, can be ignored. I was just experimenting back then, and thought it would make a difference size-wise, it doesn’t.
3. Howto: Split a single video file into multiple video files with VirtualDub
Howto: Add multiple video files into one single one with VirtualDub
It’s probably it (1.) Got AMD Phenom II X3 720BE and I set threads to 5 in order to get 100% CPU utilization, I’ll give a try with 4 threads, since 4.5 isn’t an option here 🙁
If that doesn’t do the trick, I’ll try the workaround!
Ohh, seems that I missed those videos totally 🙁
You might want to add those links on that front page too!
And what I experimented with sound… like you said about the volume setting: it’s individual, I had to add +28dB, and actually less would do too.
One thing I don’t understand with sounds is that VDub says my recorded videos are Mono, which cannot be correct. I do use headphones though.
Thanks for helping out so fast!
Yes, it can actually. When you’re using Xfire. Xfire only records sound in mono.
Thanks for sorting out how to split/add videos together, it’s incredibly easy!
And if Xfire records it mono then there’s not much I can do about it.
I’m still having problems to sync sound with video, even with your advice :S
I did as following: I took this massive 33.5GB file, split it half (part 1&2 both 16.7GB), keeping both video and audio at direct stream copy (DSC).
Then I took the part 1: processed the video, keeping sound DSC. Got 399MB file (with DSC sound).
Extracted the sound: now I kept video at DSC, edited the audio and saved it as *.WAV (12.3MB).
Then I merged A/V together as you said: opened compressed video (set the DSC), took audio from file. Saved as *.AVI and ended up asynced file 337MB in size.
Note: my audio was already unsynced in the raw video! I’m now believing that’s the initial cause. So I guess I’ll have to sort it out before I can do anything.
Solution I came up with:
I’ll try just running whole 33.5GB file as: DSC for both A/V but I goto; Video//Frame Rate…//change so A/V durations match. I hope I get the raw video synced with sound then!
If this doesn’t sync it for raw video then I’m lost 🙁
Yes, if your audio was already asynchronous in the raw file, there’s not much to be done in VirtualDub. You’d need to match the Audio to the Video via more professional tools, like Sony Vegas Movie Studio or Adobe Premiere.
I don’t know how do sync it in VirtualDub because I never had the issue with raw videos. I’ve had them with transcoded videos, which is how I solved it like I described it.
Maybe you can try to fiddle around with “Audio”->”Interleaving”.
You could try a sound editing software like Audacity, but I doubt it’ll solve anything, I’m sorry not to be able to help.
Yeah, everything works on my PC, just not once uploaded.
I’ll continue searching for a solution, thanks for your time!
Hello, Skylar K.
I had the same problem as you have. The only solution that has helped me so far was to activate the option “Zero Latency”. I’m no expert but it has something to do with the B-frames in the compression of the video. Enable this Option and set the Speed in the menu “Basics/Presents” to Fast or Medium (less speed is better if you like to get smaller filesize). This has solved the problem for me. If it doesn’t work, enable in “Encoder&Avi Muxer” the “Disable decoder” option.
Oops. Sorry, i just saw that you are updated the codec to the old UI. Just try to disable the B-Frames in the Analysis&Encoding tab. That may work.
Disabling B-Frames worked! Thanks a bunch.
I tried following your guide (think I have a new version of the codec as it doesn’t give me near as many options as the one in your screeenshot, but I matched the settings as best I could)), and the video ended up coming out gray and pixelated:
http://www.youtube.com/watch?v=Je4fFGiUnMs
Do you have any idea how I would go about finding what the problem is and fixing it?
That’s strange. It’s the second time I’m seeing this. First my friend, McAkomx and now you.
Try ditching K-Lite Mega Codec pack and get the VFW-version http://komisar.gin.by/ . The 1688 has the same UI like in the screenshot.
I did that about 20 seconds after I posted the comment, matched all your settings, and it transcodes a bit faster (5FPS average to 7FPS) and shaved off about 25% of the file size, but it still does the same thing (just uploading a 3mb file to test).
Did your friend ever fix this issue?
He did, I don’t know how. I’ll show him this comment when he’ll be around. I personally have no idea how or why it’s happening.
But I do know it must be the codec AND YouTube. Something’s gone awry. Because I guess, you can watch the encoded/transcoded clip on your pc without any problems, just uploading to YouTube causes this.
I have the same trouble Skylar K. reported in August:
I used FRAPS 3.0.3 to record footage, then used VirtualDub 1.9.9 and x264vfw build 1713 (downloaded @ http://komisar.gin.by/ ) configured according to the OP to encode.
I’ll try upgrading to VirtualDub 1.9.10 and switching to the MasterNobody builds of x264vfw and try again, but if anyone could post a confirmed solution to the “gray video” problem, I’d greatly appreciate it.
I just tried upgrading to VirtualDub 1.9.10 (64-bit) and using MasterNobody’s x264vfw build 1713. Unfortunately, I had the same problem:
All three videos I’ve encoded using a x264vfw codec have played without issue on my computer but display as pixelated and mostly gray after YouTube receives and processes the files.
Uninstalling x264vfw build 1713 and re-installing build 1195 (I had a copy of the installer from late February in my downloads directory) fixed the problem. I know it’s not the ideal solution, but it’s at least a temporary workaround.
See McAkomx’s solution: Link.
Disabling B-frames (by setting Max Consecutive B-frames to 0 under the Analysis & Encoding tab) fixed the problem. Thanks!
My pleasure!
Worked great.
Thanks for the help
Yes, of course, IF you can figure out how to translate the settings I have in the screenshots to the new h264 codec settings.
I personally stay with K-Lite 6.0.
so i should get the same quality as your vids with the new codec?
You don't. 6.2 has a new h.264 codec.
How do you change the h.264 options like you have them with Mega K-Lite Codec Pack 6.2?
I’m guessing you’re using the Mega K-Lite Codec Pack 6.1.0? If so, go back to 6.0.4, if this error still appears try 6.0.0 or even 5.9.0.
Apparently 6.1.0 has a faulty h264 codec. 6.0.4 works for me, but for some it doesn’t.
quote:
"Utzu January 18th, 2010 at 09:06 PM
i did follow your steps. (thanks a lot btw, the quality is really great), but youtube says it can’t process it….(saved .avi and .mkv…tried both)….did i miss something?"
quote:
"
Don Salva January 18th, 2010 at 09:17 PM
YouTube should’ve no problem processing .avi. But how you managed to save .mkv with VirtualDub is beyond me, since VirtualDub doesn’t support anything other than .avi .
Try the newest VirtualDub 1.9.8"
I'm having VirtualDub 1.9.9 and having the same problem as Utzu is… 🙁
Any help?
Thank you
PS: Otherwise great tutorial, videos are awesome!
You talked about the slider and sharpen filter, so I thought I should use the sharpening filter.
But if I already have the best quality possible on Youtube, it's fine.
So i tested the quality slider first.
51 gave me a strange video:
However I didn't notice much difference between 25:
and 1:
Then I tested the sharpening by 64 filter and I noticed a difference between quality slider to 25:
and 1:
The sharpening seems to improve some graphics but also decreases others which look more blurred than without sharpening.
Quickly looking at these videos, would you have any other ideas of Virtual Dub settings that could give me a better quality ? (at the moment I only record this game with these resolution/graphic settings)
So what’s the problem? 51 gave you the “strange” video, because 51 is the WORST quality.
25 looks better because it’s about the middle. 1 looks even better, because 1 is the BEST quality.
And why are you using sharpening? If you record in 1440*900 then you don’t need to sharpen anything, since resizing from 1440*900 to 1280*720 doesn’t “lose” any quality.
If you were to record in half-resolution, meaning 720*450, then and only then, in my opinion, should you use the sharpening filter if you resize from 720*450 to 1280*720, because UPSCALING, that’s what it’s called, is always linked with loss of quality.
But you’re not UPSCALING, you’re downscaling from 1440*900 to 1280*720. You actually “put in more quality” this way.
Let me try to explain it. For example in 1440(*900) to 1280(*720), looking at the width, you have 160 (1440-1280) pixels worth of redundant information which can be used any way you see fit. Whereas in 720(*450) to 1280(*720) you’re actually MISSING 560 (720-1280) pixels worth of information which have to be interpolated (equals loss of quality) by algorithms.
All you have to do with your 1440*900 raw footage is resize DOWN to 1280×720, move the slider to your convenient quality (I’d recommend 23-25), use the VirtualDub settings I provided and that’s it.
Ultimately YouTube WILL lower the quality of your video, even if you upload your videos in the best possible quality there is. There’s nothing you can do about it. It’s YouTube fault, because they re-encode the whole video with their own settings.
Hey thank you for this tutorial, I've been looking for one working on my computer for some time.
The K-Lite Mega Codec Pack didn' t show me the codecs needed in the options settings so I downloaded each separately.
The first time I clicked on "save as AVI" it didn't work well: it took a second to get the file and it wasn't readable by VLC. I don't know what happened but I tried again and it worked.
Then the first time I tried to upload on Youtube it gave me an unknown error message, second try it worked.
So thank you again I'm now able to put some vids on Youtube 🙂
Do you know how I could change the settings to get a better quality video on Youtube ? (I already have 720p but maybe better 720p or 1080p could be possible)
I record the game with fraps in 1440*900 resolution and I don't mind about the time needed if I can get better quality.
@Yarska: To get better quality, experiment with the quality slider. 1 is best, 51 is worst.
To get 1080p you need to change the 1280 and 720 into 1920 and 1080. But because you are recording in 1440*900 it would mean quality-LOSS to go to 1920x1080p. You’ll have to expirement again with the slider and the sharpen filter. Section “Upscaling and Sharpening”.
Hello, i recorded a video with Fraps, my problem is I dont know how to upload it correctly, the clip got split into 3 different (about) 3minute clips which are roughly 4Gb each, do you have any tips on how to getting down the file size or what format i should upload them, or maybe how to get them into ONE film clip that still matches youtubes restrictions?
@Patrick: Seriously? Have you even read this article? This article is precisely what you need in order to reduce your filesize ;).
As for your question about how to merge 3 files into 1: http://www.youtube.com/watch?v=I9eM7ikdwjU !
Yes, the same.
Did you use the same settings for your Fear 2 Mission 1 gameplay as well?
http://www.youtube.com/watch?v=CPCyNTY_wh4
Because after Youtube’s post processing my upload looks a lot more pixelated than yours. Your crosshair although really slim looks sharp enough.
Okay, finally, I've found out the problem. It's due to Max consecutive B-frames, had to set it to 0 (default value) in order to get rid of the blinking. I'm using i7 920, 6GB of RAM, ATI 5850 and Windows 7 Ultimate. Thanks for the suggestion 😀
No idea, sorry 🙁 . But do tell when you’ve reached a solution! If I had the problem I'd do this, it'll be a chore and pain in the a** but this way I'll know what's wrong:
Activate 1 option, compress, activate next option, compress, activate next option, compress, change value, compress.
You can take a small video, about 30-40 mb, 10 sec or something, and check after each compression. Until you've found the problem that's causing the blinking.
Hiya, I followed your tutorial, used the newest VirtuablDub, and tried to compress some fraps clips of Bad Company 2. However the compressed video blinks, like a broken light bulb. I have compressed 3 different videos so far and all of them have the same corruption. Do you know what is it happening?
YouTube should've no problem processing .avi. But how you managed to save .mkv with VirtualDub is beyond me, since VirtualDub doesn't support anything other than .avi .
Try the newest VirtualDub 1.9.8
i did follow your steps. (thanks a lot btw, the quality is really great), but youtube says it can't process it….(saved .avi and .mkv…tried both)….did i miss something?
No can do, because my pc hard- and software setup aren't the same as yours. Therefore the config file is specifically made for my pc. Won't work with others.
you swhould include the config file