Maidens of the Kaleidoscope

~Hakurei Shrine~ => Help Me, Eirin! => Topic started by: Drake on July 26, 2009, 02:29:19 AM

Title: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on July 26, 2009, 02:29:19 AM
2014 update: Note, this is a very outdated tutorial.
There are various ways to get decent HD-quality videos up on Youtube now, which generally follow the same sort of flow. Youtube's post-processing has gotten significantly better since this was written.
Record your video using some lossless recording program (30fps is all that's needed since Youtube limits the framerate), join multiple parts together using VirtualDub or something similar and upscale the video to 960x720 (DO NOT ADD LETTERBOXING), and encode the video (AVI is perfectly fine) using x264 or something. You don't really have to use MeGUI to encode.

Read the latest posts for tips on various things.



You might often see a Touhou video on Youtube that looks like this (http://www.youtube.com/watch?v=ksa8XwtuD3w). Then later you go and see something like this (http://www.youtube.com/watch?v=LGTwRxWugYM&fmt=22) and go HOW DO I DO THAT?!???


First of all, download a recording program that can record uncompressed video such as Fraps or CamStudio. CamStudio has a free trial and stuff, but you'll probably just want to go buy the program anyways. Secondly, go grab MeGUI here (http://sourceforge.net/projects/megui/). You'll also need Avisynth (http://sourceforge.net/projects/avisynth2/files/). Not only that, but a bunch of filters. Go get those elsewhere. I'm not sure which you need, but just get as many as you think will be useful, lol.



Record your video using the program. If possible, record at 60 fps instead of the default 30fps some programs use.

(http://img258.imageshack.us/img258/3516/78371934.jpg)

(http://img266.imageshack.us/img266/540/49487212.jpg)

Programs like Fraps usually cut videos into segments to keep audio and video in sync and other such things. This is where you'll want VirtualDub. Well, get it anyways; it's a good program.

(http://img24.imageshack.us/img24/3969/63208854.jpg)

Open the first part of your avi video with VirtualDub. The amount of frames pop up at the bottom, you can watch it and trim off unneeded segments, if need be. Under File, choose "Append AVI segment". Choose the next video in line and it'll put itself on the end of your clip. Do this until all your files are in one video.

(http://img169.imageshack.us/img169/8080/63256904.jpg)

At the moment, don't bother with much else unless you know what you're doing. Choose "Save as AVI". The rendering process takes a while to finish, so just wait it out.

(http://img16.imageshack.us/img16/7576/85680118.jpg)

Now, you have one giant file with your entire video. This is the time to open MeGUI. If it's your first time, it'll ask you for a bunch of updates. Just choose them all.

(http://img228.imageshack.us/img228/5539/57872626.jpg)

Under Tools, choose AVS Script Creator. This should open up a new window. For Video Input, choose your new giant AVI file. A preview window should pop up, just exit.
Go to the Edit menu. Here it should show four placeholder options with a # in front. Replace them with these lines:

BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12()

(http://img266.imageshack.us/img266/4695/79235039.jpg)

(http://img443.imageshack.us/img443/8729/86366415.jpg)

You can also switch "Neutral" with "Sharp" and "Soft". Sharp might be good for some videos, but I just go with Neutral.
Click Save at the bottom. Another window should pop up with BIG. Just exit again.

In the Encoder settings option, you should have a bunch of options. I haven't experimented much, but Youtube likes x264 video, so choose "x264: *scratchpad*. If the File format underneath it isn't set to MP4, set it.

(http://img24.imageshack.us/img24/1848/69991178.jpg)

Click Config. Ignore most of the stuff, set the bitrate option at the top to something like 5000. The bitrate does not enable HD video, it just improves the quality once a standard has been set. I'm setting in to 10000 for lols.

(http://img249.imageshack.us/img249/1545/71211024.jpg)

For the Audio Input option, once again choose your full video file. Under Encoder settings here, choose Lame MP3: *scratchpad*.
NOTE: YOUTUBE NO LONGER HAS FAAC SUPPORT OR SOMETHING. LAME MP3 ALL THE WAY.
Press Config. If the ABR level isn't set to 192 already, set it. Don't bother with anything higher, Youtube dumbs it down.

At the bottom of the screen, click AutoEncode. Container should say MP4. Under Size and Bitrate, choose No Target Size and hit Queue.

(http://img228.imageshack.us/img228/5336/97475554.jpg)

Go to the Queue menu. There should be three items on the list; an MP3 file, an x264 MP4 file and a muxer. Just go to the bottom and hit Start.

(http://img443.imageshack.us/img443/766/17778979.jpg)

Once again, just wait. Set Priorities to Normal, or if you're not using the computer while you wait, Above Normal. Above Normal kills your processing speed for absolutely everything else, but Normal just kind of slows things down. You'll have to change Priority three times as it processes different files.

(http://img249.imageshack.us/img249/854/38478960.jpg)


And this should be it. You have for new MP4 file, in a fairly small file. Well, at least enough to throw onto Youtube.



For those thinking that it's a lot of work, it only really is to install the programs. This is generally what you do.

SHORT VERSION
-Record video
-Join all the pieces together with VirtualDub and save
-Open MeGUI and create a script with the video
-Go to the Edit tab and resize
BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12()

-Set to mp4 video (x264) and configure bitrate
-Set audio to the video (FAAC)
-AutoEncode with no target size
-Mux it and done.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: c l e a r on July 26, 2009, 05:36:58 AM
yay, thanks Drake for making our lives wonderful again!

I'm going to try it sometime soon.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Ghaleon on August 01, 2009, 07:30:57 PM
I tried it (game other than touhou so I don't really wanna link it here >=P), and it worked great! Thanks a bunch drake >=).

edit: arrrgh.. so that video I mentioned has 2 parts.. Part 2 which I uploaded after..  has no HD, and it's quite visible. The kicker is that part 1 has hd, and I SAVED MY SETTINGS in megui, and just loaded em up with part 2 and reused it. Right-clicking the mp4 and checking properties also yields the same everything (except the non hd one has more bps for some reason).. blahflakjfas.

update:
I think I figured it out (not sure yet, uploading a 3rd part for a video). I THINK the problem is the part where I copy and paste:
BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12()
under the edit part of the aviscript window. Out of habit I would delete the (blank) line after "converttoyv12()".. and hit next Resulting in the preview window showing up. Tried it again and..well it was bigger (like stated in allcaps). Go figure how a blank line can screw it all up.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: meronpan on August 04, 2009, 11:22:51 PM
wholy cow, that's beautiful!  i'll have to try this next time i upload something (not that my replays are any good... but at least then they'll be *beautifully* mediocre. ^^;)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on August 05, 2009, 01:01:01 AM
That seems like a lot of effort but if the video quality is anywhere near the quality of your TAS video i guess its worth it. I might try this out later, i don't know.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 05, 2009, 01:44:20 AM
Once you figure out how everything works it's actually really easy.

Just gonna edit the first post.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: bjw on August 05, 2009, 06:28:49 AM
Once you figure out how everything works it's actually really easy.

Vouched :)

Back in November when I first came across this method from a friend, it felt pretty involved, but most of the hassle comes from just finding and installing the programs. After encoding two or so videos, I pretty much had the very simple process memorized with the sole exception of the code for changing the video size (but hey, we all copy and paste that stuff anyway).

If you have the ability to record Touhou at full size 640x480 without any FPS jumps, then you should really settle for nothing less than an HD upload. It'll be better in the long run.

And if you're too lazy to get VirtualDub for splicing up videos, even something like Windows Movie Maker would be sufficient. (Personally, I like Camtasia).

Edit: Looking through this guide, 3000 bitrate is actually fine. It will enable HD in YouTube. I can't imagine what the filesize would be with a bitrate of 10,000 >_>
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 05, 2009, 07:01:46 AM
I know, I had a 12 second video and it ended up like 100MB or something lol
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on August 06, 2009, 01:25:13 AM
Well the short version certainly makes it less confusing to us birdbrains. I'll still have to wait though cause i can't really record anything at 60fps with that 2.16ghz processor of mine. (Vista might even make things worse.)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Alice Fact on August 06, 2009, 01:40:39 PM
of course it never hurts to know the long version, and uh not be such a birdbrain
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SP on August 07, 2009, 03:07:11 AM
Edit: Looking through this guide, 3000 bitrate is actually fine. It will enable HD in YouTube. I can't imagine what the filesize would be with a bitrate of 10,000 >_>

For those wishing to compare post-youtubing -

http://www.youtube.com/watch?v=Zl_10sbDhFo&fmt=22 1500 bitrate
http://www.youtube.com/watch?v=vd-osUPs4H8&fmt=22 15000 bitrate
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 07, 2009, 03:09:44 AM
Yup yup, much better.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on August 08, 2009, 05:57:30 PM
of course it never hurts to know the long version, and uh not be such a birdbrain

Well sometimes it just happens that i stumple across things that makes me confused. It can be anything from a guide on Gamefaqs or a tutorial about how to do stuff. It does become rather confusing when there is a giant wall of text describing how to do something simple.

The short version of Drakes guide here is good though. It make it so i don't have to read it all again in case i forget what to do next.

Now if i could just find out where the video was saved... i can't wait to see if i did everything right.

EDIT: Okay i tried to follow this tutorial but the quality i end up with after Youtube did their processing is pretty terrible and my old videos composed through Windows Movie Maker are better. A link for the video: http://www.youtube.com/watch?v=T9a5Y0M2f3o

Is there anyone who knows what i have done wrong?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: bjw on August 08, 2009, 11:38:51 PM
Okay i tried to follow this tutorial but the quality i end up with after Youtube did their processing is pretty terrible and my old videos composed through Windows Movie Maker are better. A link for the video: http://www.youtube.com/watch?v=T9a5Y0M2f3o

Did you make sure that your raw is actually being recorded in 640x480? In the Movies tab, make sure that "Full-size" is bubbled rather than "Half-size."

And as a little extra tidbit, disable the FPS counter in the corner :P
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on August 08, 2009, 11:47:41 PM
Okay i tried to follow this tutorial but the quality i end up with after Youtube did their processing is pretty terrible and my old videos composed through Windows Movie Maker are better. A link for the video: http://www.youtube.com/watch?v=T9a5Y0M2f3o

Did you make sure that your raw is actually being recorded in 640x480? In the Movies tab, make sure that "Full-size" is bubbled rather than "Half-size."

And as a little extra tidbit, disable the FPS counter in the corner :P

Well actually the problem is pretty embarassing. I almost should switch out my avy for a Cirno one because i was really dumb. I simply forgot to set the bitrate properly. The option was left at 92...

Anyway i have made a video and i'm quite satisfied with the quality. http://www.youtube.com/watch?v=MwD9Xw8pC4s
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Ghaleon on August 09, 2009, 12:12:35 AM
Nice. I recommend we all collectively hug Drake until his eyeballs pop out.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LtC on August 09, 2009, 11:03:33 AM
You can do it a bit more simple with Allok Video joiner. Just press a couple buttons and it joins the uncompressed files, encodes them to whatever you like and lets you change the resolution the same way instructed in this thread.

(http://img199.imageshack.us/img199/7861/25969747.jpg)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on August 09, 2009, 12:27:38 PM
This thread requires sticky.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on August 09, 2009, 01:35:46 PM
This thread requires sticky.

Indeed it does. This is way too useful to just being forgotten.

Drake, you were right btw. Its incredibly easy to do this once you've learned what to do. It doesn't even take a minute to make a video and the filesize ended up for me around 60-140 Mb compared to my original method through Windows Movie Maker where i had to upload files of 1-1.5 GB size in order to get quality which isn't anywhere as good as HD.
Thanks Drake ;)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Alice Fact on August 10, 2009, 07:47:31 AM
(http://www.rosebrand.com/images/product_320x320/Gorilla-Glue.jpg)
splat, etc
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sen on August 12, 2009, 05:59:52 PM
Er, I'm having trouble with this. I understand the process and all, but MeGUI isn't allowing me to open my LOLHUEG video file ):
It says I need AviSynth 2.5, but I already have it. (http://i28.tinypic.com/2zrdvus.png) ;_;

EDIT: Oops, nevermind. Turns out I downloaded the wrong AviSynth. I had 2.0, not 2.5. =w=b
*idiot*
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on August 13, 2009, 09:38:20 AM
Adding so I don't forget:

Code: [Select]
BicubicResize(960, 600, 0, 0.5) # Bicubic (Neutral)
AddBorders(160, 60, 160, 60, 0)
ConvertToYV12()
For recording PC-98 HD'd.

EDIT: lol-fix.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Generalguy on August 15, 2009, 08:26:55 PM
The games tend to lag when I record them. It seems most of the stuff you have to do is done after the recording, though. For the recording, do I use a codec (Xvid or whatever) or record it uncompressed? Never mind, stupid question. I'll ask this, then : Does recording uncompressed take a lot of ressources? I only have 2 GB of RAM.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: TheMasterSpark on August 15, 2009, 11:27:22 PM
I seem to be doing something wrong somewhere in this process, as MeGUI gives me an error when it tries to process "job2", the one with the video Mode. I've followed the tutorial to the letter, although I've deviated slightly since I haven't downloaded any additional filters (Drake's instructions on those additional filters were a little too vague for me, heheh) nor did I get my Fraps video in more than a single segment. I guess it wasn't long enough.

Anyway, here's what I think is the problem, at least according to MeGUI's log,

"Standard error stream: C:\Program Files\megui\tools\x264\x264.exe: unrecognised option `--no-mbtree'"

I hope I've provided enough information here to give anyone a clue as to what it might be. Any help would be much appreciated. :)

Thanks!

Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 16, 2009, 07:38:51 AM
First: yes. Saving everything uncompressed constantly will take a lot of resources.

Second: Download the asdf filters.

When you first open MeGUI, a popup will appear, asking you to download filters. There should be a big list with check boxes. Just check them all, wait to download and continue on. Even if you don't do it the first time it should regularly show up.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: TheMasterSpark on August 16, 2009, 08:30:32 AM
I still can't get it to work, sadly. I did download all of the available updates (none of the presets that they ask if you wish to import though) and just to be sure I uninstalled MeGUI and did it all over again with the same outcome, sadly. I saw on another forum that someone else had had the same problem as me and it was solved by "putting in the latest version of x264.exe". Might that be the solution to this? Where do I find this latest version of the program? It's not like it carries a date-of-creation number with it, heheh. :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 16, 2009, 06:30:53 PM
http://www.free-codecs.com/x264_Video_Codec_download.htm
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: TheMasterSpark on August 16, 2009, 11:54:18 PM
Thank you for that link Captain, now it worked without a hitch. HD-quality uploads ahoy! :)

Edit: Oh and also, would there be a quick and convenient way to add custom music to the video clip, apart from shooting the footage with said music running in the background? I couldn't really find an option for it, although I probably didn't look very closely..
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 17, 2009, 12:57:11 AM
Instead of using the original avi file for the audio, use whatever music.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Generalguy on August 17, 2009, 05:59:54 PM
First: yes. Saving everything uncompressed constantly will take a lot of resources.

How can I make it take less ressources then? I tried recording IN Extra uncompressed. At first, it wasn't too bad, it just lagged at 55 FPS once in a while. But after Keine, it was full of lag spikes everywhere, and it froze completely for a good 5 seconds during the death fairy.

I'm mostly asking if I should lower the color depth to 16 bit or play around with the rendering rate, or if that just kills the point of recording in HD in the first place.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 17, 2009, 06:44:57 PM
Generally you don't want to use 30fps for a higher quality video. The point is for them to see it as a they would a replay.

Believe it or not, the VSync patch helps a lot. Try setting 16-bit color and killing unused processes.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Generalguy on August 17, 2009, 08:22:45 PM
Well, it seemed to work, though I'm pretty sure there's one part of the video where the audio jammed (I'm not sure because I can't hear any sound while recording).

Unfortunately, when I clicked Stop Recording, HyperCam crashed, and I ended up with a 16 GB file of nothing.

I'll try HD when I get a better computer. For now it's just a total pain. I was recording at 20 FPS anyway.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: meronpan on August 27, 2009, 08:08:45 AM
i'm not sure if the whole megui part that adds borders to the video is necessary anymore.  At the time I first read this, the video i had uploaded didn't trigger the full wide screen hd mode in youtube so i planned to try it out... but now both it and a replay i just uploaded (http://www.youtube.com/watch?v=thCUrrihDTs) (warning: i suck, replay may be painful to watch ^^;) today (no borders added on either) seemed to turn out just fine. (or at least similar to the quality of the videos drake uploaded?)

source files were 640x480 recorded at 60fps.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 27, 2009, 08:15:25 AM
Yes, Youtube is actually starting to get better with their quality. The borders are unneeded. Although it could still improve a tad. Not enough that it's a worry at all.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: jisakujien on August 30, 2009, 07:52:52 PM
If you use the git version of x264 (which you should be anyways) there is a new set of preset options and one of them is --tune touhou.  Just throwing bitrate at it isn't exactly the best way to encode things.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: lmagus on September 07, 2009, 10:40:29 PM
Seems a bit choppy in Youtube. It's not very smooth

http://www.youtube.com/watch?v=T0caEkd9uTU&hd=1

weird.

ps: i used a 10000 bitrate.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on September 07, 2009, 11:28:27 PM
It's fine. Probably just your computer~
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: lmagus on September 08, 2009, 01:07:15 AM
well, your video plays smoother than mine, for some reason...

and i really doubt it's my computer, as i have a high end pc...

ah well, i'm satisfied anyway :P
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on September 14, 2009, 09:46:58 AM
Hmmmm now this is some strange error.

(http://i29.tinypic.com/21dl5x5.png)

I followed everything step by step. Download Avisynth + 264 codec.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Blumiere on September 17, 2009, 07:43:38 AM
E: Actually, I have a completely different problem now.

Instead of a video, all I get is audio. I'm pretty sure I did everything the tutorial said, so what can be causing the problem? I still have 3 processes when I click queue, plus I get the .mp4 file and open it with WMP, which just plays audio, there's no visual whatsoever.

(I'd appreciate if someone helped out this time...)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on September 19, 2009, 05:50:08 PM
Is there a way to make the AVI segments join faster? It takes like 2 hours to join together 2 segments which are 5 minutes total.... :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on September 19, 2009, 06:40:15 PM
E: Actually, I have a completely different problem now.

Instead of a video, all I get is audio. I'm pretty sure I did everything the tutorial said, so what can be causing the problem? I still have 3 processes when I click queue, plus I get the .mp4 file and open it with WMP, which just plays audio, there's no visual whatsoever.

(I'd appreciate if someone helped out this time...)
Sorry I didn't catch the first question, first of all. This is actually kind of weird, as it's actually giving you an mp4 file. Your WMP might not have the correct codecs or something, if that's the case. Is it black video, or just nothing? Have you tried opening it in a different program? Can you open other mp4 files?

Is there a way to make the AVI segments join faster? It takes like 2 hours to join together 2 segments which are 5 minutes total.... :V
You can change the processing priority higher, the same way as with MeGUI. It'll just kill everything else you're doing at the time, so you pretty much just don't use the computer at the time. Kill unused processes and other large processes such as Firefox and possibly Fraps because they take up a bunch of memory.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Blumiere on September 20, 2009, 02:23:47 AM
Hmm. You're right, WMP doesn't have the correct codecs to display the video. I just uploaded the video onto youtube and they display it perfectly.

All I need now is a player that does have the right codec. Know of any?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on September 20, 2009, 02:39:08 AM
http://www.cccp-project.net/ (http://www.cccp-project.net/)

Installing the codec pack will give you the option of getting Media Player Classic, which is what I use for pretty much anything. The CCCP is good to have even if you don't use it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on September 20, 2009, 12:50:55 PM
waitwaitwait

how do you have video rendering rate at almost 20 fps? It goes barely at 4 for me, no matter what I set it to.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on September 20, 2009, 05:59:30 PM
?(?_o)/?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on September 20, 2009, 07:38:28 PM
I guess dependant on your computers build as in CPU, memory, harddisks and graphic card.
Title: Oi Donut
Post by: LHCling on September 23, 2009, 10:55:57 PM
http://www.youtube.com/watch?v=XL0onULF0jw

Seriously, it doesn't get any more comprehensive than this.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: nintendonut888 on September 23, 2009, 10:57:44 PM
I'll watch this when I have the time, but rest assured I'll find a way to misinterpret this. :P
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on September 26, 2009, 01:25:54 PM
I guess dependant on your computers build as in CPU, memory, harddisks and graphic card.
I don't really understand that too much, but this is what the diagnostic tool puked out:

Intel Core 2 Duo CPU E6550 @2.33 GHz(2 CPUs)
2 GB RAM
NVIDIA GeForce 8600 GT
232 and 74GB HDs
Running XP.

Is 2-4 FPS expected? :V

EDIT: Just remembered that I didn't defrag any of my HDs, PERIOD. Which is like, 2 years. Could that be caused by that? :V

EDIT2: Weird.....my second HD(ancient, only 74 GB) renders it like 15x faster than the newer 232 GB one. Anyways, it's 30 FPS now :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ebarrett on October 06, 2009, 04:16:05 PM
Any tips on how to make CamStudio not totally suck? Or any sneaky workaround for recording the PC-98 games with Fraps? I'm getting 20fps input at best, and that's disabling sound recording, while Fraps can capture at 90fps if needed when recording the Windows games.

I'm using Anex86, by the way - Next is giving me too much slowdown while playing no matter how much I tweak it, so I do not plan on changing emulators unless it's the only choice.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Gpop on October 12, 2009, 10:34:01 PM
Drake, I can't seem to update ANYTHING past mencoder, so I tried without updates but I keep getting errors when trying to encode D=
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on October 13, 2009, 03:00:50 AM
If the checkbox is grayed out you already have the most recent version :|

What does the log say?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Gpop on October 13, 2009, 03:09:51 AM
If the checkbox is grayed out you already have the most recent version :|

What does the log say?

That's the thing, it's not, and they that updates are available, but they skip them until it tries to download one but it just doesn't. It just stays at 0%

And the log usually says that there's an error in job1. That's it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Formless God on October 13, 2009, 03:42:29 PM
EDIT: nobody needs to see this anymore :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on October 13, 2009, 06:16:15 PM
Looks good to me. It is choppy for you? I've heard a few people complaining of choppiness because their computer can't handle the awesome. The filesize is more or less due to the bitrate you use, you could tamper with it if you need.

Can you view my videos any better? (http://www.youtube.com/watch?v=LGTwRxWugYM)

As for Gpop I honestly have no idea. It's going to keep giving you errors until you update, but if it just never updates...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Formless God on October 15, 2009, 04:07:35 PM
Same as above.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LiteYear on December 06, 2009, 01:29:31 AM
Youtube encodes your videos after you upload your videos using their own specs.  I do not think they have any format, at least available to free users, that will display at higher than 30 FPS (although it's been a while since I looked into their formats). 
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on December 06, 2009, 01:31:03 AM
Might add a guide to encoding it straight in VDub, saves a lot of time :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Reprosa on December 20, 2009, 06:46:32 AM
Youtube encodes your videos after you upload your videos using their own specs.  I do not think they have any format, at least available to free users, that will display at higher than 30 FPS (although it's been a while since I looked into their formats). 

Yeah, if higher framerates are what you're interested in for your videos (and with Touhou, it should be) I would suggest using WeGame or blip.tv over Youtube. Of course, at those less popular sites the odds of people stumbling across your videos is a lot less.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on December 22, 2009, 10:05:09 AM
Can anyone tell me how to dub your own music onto your videos? I have tried taking the muxed file into Windows Movie Maker and adding the music to it there but it didn't really seem to work.

I'd be thankful for any information.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on December 22, 2009, 07:04:12 PM
Do it in megui.

Take all your audio and audacity it into one clip. Timing music and whatever should be pretty easy if you just open your video clip in VirtualDub; you can see what happens at exactly what time. If you're only using one music clip, then obviously don't bother with that. When you go do this
Quote
For the Audio Input option, once again choose your full video file.
Don't choose your video file, but instead use the clip. That's all.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on December 23, 2009, 03:59:55 AM
Update: Youtube has been denying a bunch of videos made using this tutorial recently. For some reason they no longer like FAAC audio, so it was erroring. I'm sorry if nobody was able to upload any videos for a while, lol.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on December 23, 2009, 08:18:18 PM
Update: Youtube has been denying a bunch of videos made using this tutorial recently. For some reason they no longer like FAAC audio, so it was erroring. I'm sorry if nobody was able to upload any videos for a while, lol.
Had no problems with the VirtualDub method :V
Had a few vids also denied when I've encoded them with megui, and not only touhou so 60fps is probably irrelevant.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on January 09, 2010, 11:30:37 AM
My latest tutorial video dates from 24 December. And had no issues because I have been using the same settings in megui as shown in this thread.

But my encoding method is retarted and I don't know why I do this:

Sony vegas -> RAW output ( uncompressed, audio pcm uncompressed )
Virtual dub -> RAW resave because Windows keeps giving error when viewing it in explorer and also Megui whines about "not talking to me".
Megui -> RAWvirtualdub into Muxed mp4.

( if you want, I can post screenshots of the error messages and such. Because this type of conversion takes hours and pisses me off )
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ebarrett on January 17, 2010, 06:52:52 AM
For PC-98:

crop( 0, 40, 0, -40)
BicubicResize(1152, 720, 0, 0.5) # Bicubic (Neutral)
AddBorders(64, 0, 64, 0, 0)
ConvertToYV12()

That's if you're recording at 640x480, which is often the case when recording fullscreen; if recording windowed at 640x400, ignore the first line, of course.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Mitsuhana on January 26, 2010, 11:23:58 PM
Thanks to this guide I've been able to record and upload my 1st video. Or rather videos  >:( For me the quality of the video goes bad after running them through VirtualDub. I get a huge sound lag and choppy videos as the final product. If I go straight to MeGUI from Fraps I can have clean videos with beautiful quality, but it would be nice to have to upload one video instead of two, plus I have to selectively record segments in Fraps.

So why is VirtualDub being mean?

Well these are the finished products (sans VirtualDub):
1:http://www.youtube.com/watch?v=3_l_IE-REic (http://www.youtube.com/watch?v=3_l_IE-REic)
2:http://www.youtube.com/watch?v=0wrSmr5sbsE (http://www.youtube.com/watch?v=0wrSmr5sbsE)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on January 27, 2010, 02:03:18 AM
Beautiful.

Well, considering VDub really only does what you tell it to, you might have an off setting. Although... I'm not quite sure what's wrong with just those details. You can either look around to see what might be wrong, or you can try to use a different program to join the files.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Mitsuhana on January 27, 2010, 02:16:48 AM
Well, considering VDub really only does what you tell it to, you might have an off setting. Although... I'm not quite sure what's wrong with just those details. You can either look around to see what might be wrong, or you can try to use a different program to join the files.

Well I just did what the guide said, nothing more. So nothing about is changed from default figures & settings as installed. I don't know why VDub gives me bad results. Maybe it's racist, or sexist, or both  :-X I've tried Windows Movie Maker but it just sits there and does nothing when I import a file.

Now I've developed another problem: reading threads in this message board is making me want to play more Touhou at absurd difficulties D: I'm not that good!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LiteYear on January 28, 2010, 01:24:05 AM
You can use VDub for some basic video editing (like combining files) without it compressing those files.  Under the Video menu, change the setting from "Full Processing Mode" to "Direct Stream Copy".
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on January 28, 2010, 01:28:21 AM
I stopped using MeGUI altogether after finding out how to get HD in VDub. It's much faster :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sen on February 07, 2010, 09:21:51 PM
So, I tried this again, after the last time failed, and it sorta worked! Is it supposed to produce 720p or 1080p, though? I keep getting 720p, which is fine, but I'm wondering if I did something wrong...D:


Also, apparently x264 has a Touhou setting (http://i47.tinypic.com/2qm19nd.png). Do you know anything about that, or how effective it is?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bananamatic on February 07, 2010, 09:23:29 PM
Also, apparently x264 has a Touhou setting (http://i47.tinypic.com/2qm19nd.png). Do you know anything about that, or how effective it is?
WHAAAAAAAAAAAAAAAAAAAAAT
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ebarrett on February 07, 2010, 09:30:31 PM
Also, apparently x264 has a Touhou setting (http://i47.tinypic.com/2qm19nd.png). Do you know anything about that, or how effective it is?

Doesn't seem to make a dramatic difference, certainly doesn't make a difference that Youtube won't butcher anyway.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on February 07, 2010, 09:37:43 PM
This produces 720p, as the height reaches 720 pixels. Borders are added to the 960 width to make it 1280 pixels. However, stretching a 640x480 video to 1080p nearly triples it's size and will likely skew details, which I wouldn't really recommend. I haven't tried it though, so my word isn't much.

My most recent video (http://www.youtube.com/watch?v=wmKMg92WFps) used the tune touhou option for x264. I thought it wasn't that great as I didn't notice any significant changes, but again I haven't compared it to a duplicate without the tuning, so I can't say much about that.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 09, 2010, 10:19:45 PM
My most recent video (http://www.youtube.com/watch?v=wmKMg92WFps) used the tune touhou option for x264. I thought it wasn't that great as I didn't notice any significant changes, but again I haven't compared it to a duplicate without the tuning, so I can't say much about that.
It's somewhat dependent on other x264 settings and it's just there to tune some options:

The more interesting thing was introduced late last year and should be enabled by default in new builds is macroblock tree ratecontrol.  In simpler terms (as posted by one of the developers):

Quote
It tracks the propagation of information from future blocks to past blocks across motion vectors. It could be described as localizing qcomp to act on individual blocks instead of whole scenes. Thus instead of lowering quality in high-complexity scenes (like x264 currently does), it'll only lower quality on the complex part of the scene, while for example a static background will remain high-quality. It also has many other more subtle effects, some potentially negative, most probably not.

Since there's a ton of moving objects on the screen we may not be able to really see a major difference in the videos you upload (and Youtube can always butcher them further), but it at least improves quality enough that the SSIM measurement you can have x264 print shows a noticeable increase (probably from the background).  It'll probably be more noticeable if you lowered the bitrate or raised the qp/crf values.

Here's the test clip they used (http://mirror05.x264.nl/Dark/force.php?file=./LosslessTouhou.mkv), though with all the items that drop in UFO it may be a better choice for a new torture test.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Whinette on February 19, 2010, 08:59:00 AM
The --touhou settings (changed again) is due to Dark Shikari. <3 Dark Shikari. it helps with some block, getting a bit more qual with little bit less size.
For local stockage, --placebo works well (old insane afaik).

On an interesting note, I'm upload to youtube some of my vid (I'm not a good tōhō player myself, nothing to brag about :().
I did some quality test.

Youtube massacre the quality of 480p game (640x480 for tōhō, for example), to keep a nice quality you have to upscale into 720p.
it's pretty easy, use a spline64 resize, and edit manually the .avs spline64(640;480) into spline64(960;720). Not sure of the exact syntax, I'm not at home right now. :P
That way, the replay are quite watchable in 480p, and even better in 720p.
I could link my channel for you to observe that, but I'm not a youtubewhore (so I will not if not requested).

Another interesting thing with youtube is that they reprocess the vid into A 30fps one. To lighter the upload, there is noneed to encode into 60fps.
I use basic framedrop, with virtualdub, before the x264 encoding (video > frame rate > source @60fps; output at 30 ;; again I'm not sure of the exact syntax but it's close to that).

Is someone know how to resample the video with motion blur (better then framedroping for quality) with uncompressed / x264 project, I'm interested. :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 19, 2010, 11:02:10 PM
Is someone know how to resample the video with motion blur (better then framedroping for quality) with uncompressed / x264 project, I'm interested. :)
You may be interested in this (http://avisynth.org.ru/mvtools/mvtools.html) since it sounds like you're using AVISynth.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on February 21, 2010, 02:54:31 PM
Megui and Windows 7 makes me cry. Everytime I add the video to the avisynth script it crashes and and closes down. I checked several sources on google but none of them give a solid answer. ( Internet fails )
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 25, 2010, 08:38:00 PM
Well Baity, It took a bit longer than I expected and I decided to uninstall TF2 so I could record a video, but it's finally done.

Here's two short clips from the beginning of SA's Extra.  This one (http://www.youtube.com/watch_private?v=-9laB1J4X5U&sharing_token=p3bXRbTRI-Ps5ub6qdOYjw) was made by dropping every other frame so I could get it to 30FPS before handing it off to Youtube.  You can tell it already has some jerky bits, and if you pay attention to the FPS you can see that the person was having more frame rate troubles than you were.

Here's (http://www.youtube.com/watch_private?v=PibLCMPamPQ&sharing_token=pBgT57kWMY9nufHiVPrUow) the same clip, encoded the same except without dropping every other frame.

And finally, here (http://www.youtube.com/watch?v=KcL75F5fQyE) is part of one of your UFO Lunatic replays using the V-Sync patch.  It looks fine to me.

I downloaded the videos after Youtube processed them and think that maybe one of the reasons you might be seeing some jerking is that Youtube seems to be changing them to 29.97 FPS as opposed to an even 30 (a strange number since for film at that rate it's supposed to be 30000/1001, and the original for progressive content would be 60000/1001).  If you look at one of the first two clips and pay attention to where those rings of bullets are expanded near the bottom 1/3 or so of the screen the movement isn't as fluid (slightly choppy) as they are at a full 60FPS.  When the bullets are still dense the movement appears to be smoother, so that's either a trick of the eye or some other side effect on their end.

The frame-stepped video looked smoother (though jerkier than the other clip) on my end before uploading it to Youtube, so it could be the case that them dropping frames (which is probably how they're altering the frame rate) coupled with the fact that the video is playing back a bit slower than it should (though I'd like a full 60FPS ;)) is making any jerking movement more obvious.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on February 25, 2010, 08:46:01 PM
The frame-stepped video looked smoother (though jerkier than the other clip) on my end before uploading it to Youtube, so it could be the case that them dropping frames (which is probably how they're altering the frame rate) coupled with the fact that the video is playing back a bit slower than it should (though I'd like a full 60FPS ;)) is making any jerking movement more obvious.
I'm willing to go with this.
Title: I Just made my first HD Touhou upload!!
Post by: hinoris on February 28, 2010, 08:05:27 AM
http://www.youtube.com/watch?v=l4kHFh8weMk

I used Fraps and Windows Movie maker. Its Kinda like a collection of the replays I played. Enjoyed :)
Title: Re: I Just made my first HD Touhou upload!!
Post by: hinoris on February 28, 2010, 08:09:25 AM
I made this Video so I can play it in the coffee shop I work. It'll be fun to watch my customers reaction.

(I'm planning to play this only when my boss is not around tho.)
Title: Re: I Just made my first HD Touhou upload!!
Post by: Sen on February 28, 2010, 06:01:57 PM
Really could have just gone in the HD Touhou tutorial thread, but congrats either way. It really is nice to know you've finally gotten an HD video up. :)

But tell me, what SOUND HOLIC album is that Sleepless Night of the Eastern Country arrange from?


also kanako's opener wtf people can actually do that?
Title: Re: I Just made my first HD Touhou upload!!
Post by: Barrakketh on March 01, 2010, 12:55:54 AM
also kanako's opener wtf people can actually do that?
You think that's crazy?  Watch this (http://www.youtube.com/watch?v=bYKLMCPyC2w#t=1m30s).  Fucking insane.

That track is from this album (http://touhou.wikia.com/wiki/SOUND_HOLIC_MEETS_TOHO_~東方的幽々舞踏劇~), though the only one I found on Youtube is the wrong song.  SOUND HOLIC's site plays the one we hear in his video.
Title: Re: I Just made my first HD Touhou upload!!
Post by: Sapz on March 01, 2010, 12:58:02 AM
You think that's crazy?  Watch this (http://www.youtube.com/watch?v=bYKLMCPyC2w#t=1m30s).  Fucking insane.
That attack looks threatening, but it's actually just simple streaming made to look intimidating via loads of bullets per stream. :P That's actually considered one of Kanako's easiest attacks, while her opener is possibly her hardest.
Title: Re: I Just made my first HD Touhou upload!!
Post by: Barrakketh on March 01, 2010, 03:38:31 AM
That attack looks threatening, but it's actually just simple streaming made to look intimidating via loads of bullets per stream. :P That's actually considered one of Kanako's easiest attacks, while her opener is possibly her hardest.
I wasn't talking about the attack itself.  Note that I linked to a specific point in the video, and then look at that dodge that starts at about 1:33.  I know the hitboxes on those things are lenient, but damn.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Whinette on March 03, 2010, 02:43:49 PM
You may be interested in this (http://avisynth.org.ru/mvtools/mvtools.html) since it sounds like you're using AVISynth.
I'll have a try. :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chaotic Phoenixma on March 06, 2010, 04:29:50 AM
Any chance of adding PC98 recording to this? I wouldn't want to try it and end up with just a black screen.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 07, 2010, 02:46:54 AM
Any chance of adding PC98 recording to this? I wouldn't want to try it and end up with just a black screen.
Why not try it yourself?  You could even try write up a contribution to the guide if there are any differences that should be noted.

I go about things a different way since I use Linux (though I have to use Windows for the actual recording), so I might try writing up a Python script to automate the process since it's a bit verbose the way I do it...I think the mencoder command alone would intimidate some people:

Code: [Select]
mencoder -o vidout.yuv -ovc raw -noskip -mc 0 -sws 10 -vf format=i420,scale=-2:720,expand=1280:720 -nosound -of rawvideo -fps 60
Nevermind how I handle the actual encoding, muxing, and audio.

Maybe an option to let you give it a file with the video segments and beginning/ending timestamps so you can just create one and let it handle splitting and encoding the segments (which would usually be stages). Right now that would just be waiting for me to have the time and motivation to get around to it :yukkuri:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Demonbman on March 20, 2010, 08:37:25 PM
So the AVI script thing is supposed to look like this?

Code: [Select]
AVISource("C:\Users\Brandon\Desktop\th125 2010-03-20 12-45-41-81.avi", audio=false)
BicubicResize(960, 720, 0, 0.5)
#Bicubic (Neutral)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12()


???

I tried it earlier and I get the Audio way ahead of the video, the video plays at at least, 8 FPS....
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on March 20, 2010, 09:19:36 PM
Should be more along the lines of
Code: [Select]
AVISource("C:\Documents and Settings\M*****\My Documents\My Videos\video.avi", audio=false)
BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12()

Regardless, I'm thinking that the de-synchronization of the audio video is of a different nature. Though, you should probably change the script first and see what happens to the resulting video.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 20, 2010, 09:55:29 PM
I'd be inclined to say that you should make sure that when you're muxing (combining) the audio and video to make sure that the framerate is set correctly.  There will be a noticeable sync problem in the difference between 60 FPS and 60000/1001 FPS, and the audio will drift more and more out of sync as the video goes on.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ebarrett on March 20, 2010, 11:27:42 PM
I tried it earlier and I get the Audio way ahead of the video, the video plays at at least, 8 FPS....
Consider the possibility that it is the player, and not the video itself, which is having issues. I get that pretty much 100% of the time. Some codec/script configurations end up with a video which is excellent for Youtube but absolutely horrible for Media Player, for whatever reason.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Generalguy on April 13, 2010, 04:37:20 AM
Are there recording devices that aren't compatible with Windows 7? I can't make a single one work properly. Only HyperCam is close to not being crap, but the video and audio are NEVER synched.

How strong does your computer need to be to record in HD? I have a new laptop now but it still lags a lot.

EDIT : Never mind, I'm an idiot. The synching problem was already answered in another thread a few months ago.
As for computer lag, it's just Fraps being crap because I can't figure out how to use it properly.

Uploaded a small video to make sure I did everything correctly : http://www.youtube.com/watch?v=WIf7g0UZKFs (http://www.youtube.com/watch?v=WIf7g0UZKFs)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on April 16, 2010, 02:31:46 PM
I am wondering if Megui is finally Win7 compatible after a few months. Need to try it out to be honest.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on April 16, 2010, 02:48:26 PM
I am wondering if Megui is finally Win7 compatible after a few months. Need to try it out to be honest.

It was ever not Win7 compatible? I always worked on my computer.

I have a question of my own. How do you dub your own music on your video's while still keeping the soundeffects from the game?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on April 16, 2010, 05:05:58 PM
Eaiest way would be to record your game with BGM set at 0%, then mix the sound-effect-only track with your music in Audacity or something. You just use this file as audio instead of the avi file when muxing.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on April 17, 2010, 09:34:55 AM
It was ever not Win7 compatible? I always worked on my computer.
Every time  I load the RAW video into the program it crashes. I cannot do anything.

Ran megui, it auto-updated to 3.4.
(http://i39.tinypic.com/5pdlw.jpg)
Hooray...

.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on April 17, 2010, 07:21:18 PM
Every time  I load the RAW video into the program it crashes. I cannot do anything.

Ran megui, it auto-updated to 3.4.
(http://i39.tinypic.com/5pdlw.jpg)
Hooray...

Have you tried this? I know it says Vista but it might work with Win7 as well seeing as they're so similar and all.

Quote from: MeGUI/FAQ
MeGUI doesn't work in Vista!
This is often due to the new UAC (User Account Control) system in Vista. There are two solutions:

1.Disable UAC. The disadvantage of this is obvious - no more UAC.
2.Set MeGUI to run as an administrator in the shortcut/.exe compatibility properties. The disadvantage of this method is that you need to authenticate MeGUI each time you start it up.

I have otherwise no idea why it shouldn't work.  ???
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: RainfallYoshi on May 08, 2010, 07:29:32 PM
I've been using this method to upload videos to YouTube for a long while and only just recently have I had issues.

2 of my videos have really horrible audio lag, where the video is stupidly ahead of the audio. The weird thing about it is that it seems to be YouTube's doing, because the videos play just fine on my computer. It's not until they are uploaded that the audio lag occurs.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on May 08, 2010, 09:38:33 PM
Yeah, it happened with my last video as well. I'm not entirely sure what causes this problem though, because for some reason some videos work fine and some have weird shitty errors that Youtube spits out. I'm not sure how I ended up fixing that issue, either...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: lmagus on May 13, 2010, 08:51:28 PM
one of my videos got really crappy as well and i've been to lazy to fix

no idea why it got like this, and it was one out of 40 or so.

http://www.youtube.com/watch?v=h_hHeyjBOu4
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on May 17, 2010, 11:52:43 PM
What kind of filters are we talking about here? I'm wanting to start uploading videos to YouTube, and everything else I can handle, but what sorts of filters do I need?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: 7h3d4rkw0lf on May 22, 2010, 12:47:44 AM
Sadly no matter how simple or what programs you use, when the only PC you have is a crappy netbook with an atom processor...

Do the math xD (although nice to know, cuz now I can use my friends comp to do this :3)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: DDRMANIAC007 on May 27, 2010, 08:44:45 PM
I use Fraps for recording a game with the game audio and Debut Capture Software version 1.34 for most of my Let`s Plays. Just putting it out there as a Let`s Player.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: jbsnv on June 02, 2010, 01:08:56 AM
thx ill try it out some day
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 02:26:42 AM
Uploaded the video, and it's giving me a "processing" signal. Should I be concerned that the length currently says 0:00?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 02, 2010, 02:28:41 AM
Not at all.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 02:42:08 AM
Oh shit, it says this is the finished quality. What did I do wrong?
http://www.youtube.com/watch?v=H_R4m_6_S8k (http://www.youtube.com/watch?v=H_R4m_6_S8k)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Naut on June 02, 2010, 02:45:26 AM
Click the 360p button in the lower right of the player. It'll allow you to choose higher resolutions. Your video goes up to 720p, which is HD.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 02:48:21 AM
Did that. 720p looks even worse, and takes longer to load.

I did this with a 5000 bitrate, don't know why I'd be having these problems. I followed all the directions, and the upload to YouTube went smoothly. I did sneak a peek at the video as it was processing, but I doubt that's the problem.

Also, whenever I try to preview the video on QuickTime, it gives me an error. Says that an invalid sample description was found in the file.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Naut on June 02, 2010, 02:51:12 AM
Hmm, you're right, your video looks like shit :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 05:05:06 AM
Well then, what do I do? The video is crap quality in VirtualDub once I resize it to YouTube-appropriate dimensions. How do I get Fraps to record a larger resolution and not shrink the video down to a tiny window? As it is, it looks like pixel soup once I stretch it out.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 02, 2010, 05:34:04 AM
How do I get Fraps to record a larger resolution and not shrink the video down to a tiny window? As it is, it looks like pixel soup once I stretch it out.
There's a likely source of quality degradation. Make sure that Half-size isn't checked. I don't know of any other sources which would decrease resolution in the recording stage of things.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 10:22:47 PM
Oh crap, I forgot about that!  ::) I'm not sure my processor is uber enough to handle it, though. What are your specs, guys?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 02, 2010, 10:33:11 PM
XP SP3
DualCore 2.40 GHz (Intel)
2 GB RAM (for what it's worth)
GeForce 7600 GS - this also has 512 MB Memory, given the purpose of Memory in a graphics card it's essentially additional RAM.
Sound card is irrelevant to recording speeds I believe.

... :colonveeplusalpha:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 02, 2010, 11:38:43 PM
I don't have a graphics card like that or a dual-core CPU, but I think I can manage. Will post results. Knowing my luck with anything Touhou-related, I'll probably fail.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 03, 2010, 10:49:35 PM
One more thing: what determines how different the progressively high definitions look? Every video automatically comes with 480p and 720p variants, but do I have to do anything special to make sure they look better?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 05, 2010, 01:18:28 AM
Recorded full-size with only moderate lag, but the sound jitters in VirtualDub. It doesn't when I play a preview in the video folder. Should I be concerned? And if so, how do I fix it?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 08, 2010, 12:03:55 AM
That's normal considering that the program is trying to playback a (largely, mind you) uncompressed video. Add the fact that VirtualDub isn't designed as a Media Player of sorts and the problem becomes really apparent. I wouldn't worry about it unless the finished product suffers from the same problem.

Every video automatically comes with 480p and 720p variants, but do I have to do anything special to make sure they look better?
Increase the bitrate in the encoding stage?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 09, 2010, 03:48:38 AM
After going through VirtualDub, the file has choppy audio and lag even when I preview it. Guess very few things are meant to handle 12 GB uncompressed files. I won't worry unless the same problem strikes the finished mp4.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: omgrandomnumbers on June 09, 2010, 04:32:22 AM
It looks exactly the same as when I recorded half-size. Why? I couldn't set the "quality" on my edition of MeGUI (the bitrate) above 64. What just happened?  >:(

I suspect that the bitrate has something to do with the video quality. What's up with my MeGUI? I used the Touhou setting, if that's any help.
http://www.youtube.com/watch?v=yoMX93UbpR4 (http://www.youtube.com/watch?v=yoMX93UbpR4)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on June 09, 2010, 05:41:32 PM
I suspect that the bitrate has something to do with the video quality. What's up with my MeGUI? I used the Touhou setting, if that's any help.
http://www.youtube.com/watch?v=yoMX93UbpR4 (http://www.youtube.com/watch?v=yoMX93UbpR4)
The Touhou setting is just a tuning option for x264 and nothing more than an extra set of predefined options that will be applied after any preset you choose.  Any options set by a preset or tune will be overridden extra options specified.

You said "quality"...try setting it lower.  I don't use MeGUI, but it might be for either the --qp or --crf preferences.  In that case, lower is better.  Lower than 16 is probably unnecessary.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Generalguy on July 16, 2010, 11:20:27 PM
Is there a way for VirtualDub to split muxed files? I always have to do it before using Megui so I pretty much have to copy my entire giant .avi file.

And why does Windows Sound Recorder keep recording all that background noise?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Code Slasher on July 27, 2010, 09:33:41 PM
Maybe it's because you're trying to record at too high of a volume?

On a side note, for those of us that have x64 computers (there's a x86 version as well, but the x64 version is out-of-sight awesome), I'd recommend what I use for my Touhou fan game, Windows Media Encoder!  It's free off of the Microsoft website!  It does so much more than record nearly flawless screen videos, by the way.  It has a very professional design as well (it's not too hard to use, though).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: neosaver on August 09, 2010, 02:26:39 PM
Ok, I'm going to give it a try, even if I had fun with my broken hypercam. :V
But first, I need details:
http://avisynth.org/mediawiki/External_filters
On this page, I suppose it shows all the different filters, but like drake said, just get as many as you can, howeover, can someone summarise me the filters I really need to use? I don't have to download them all...or is it the case?

edit: ok, I did without you shrne maiden, tired of waiting. :V

well, no need of filters actually, but still, if you use Fraps, be sure to rec at 30fps (in the fraps movie menu) and force the 1/3 frameskip in the game custom, if you want to rec at full size and have a good quality. That's what I did and it works perfectly.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on August 16, 2010, 07:29:26 PM
edit: ok, I did without you shrne maiden, tired of waiting. :V

well, no need of filters actually, but still, if you use Fraps, be sure to rec at 30fps (in the fraps movie menu) and force the 1/3 frameskip in the game custom, if you want to rec at full size and have a good quality. That's what I did and it works perfectly.
Eh...in the rare occasions I record I do so at 60 FPS, no frameskip.  The only "filters" used are the scale and expand filters in mencoder (scale for upscaling, expand is used to pillarbox the video).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: HyperGumba on August 18, 2010, 12:46:45 PM
Question before I even dare to try it out (seems like a lot of work, but I love how detailed the tutorial was) :
I only have 2GB RAM and a processor with 3.1 GHz. Alone playing Touhou games is fine, but when I record the stuff the games tend to lag in a perverted way, I can't go over 30fps in Fraps without making a spell practice replay longer than ten minutes. (that's how much it lags while recording). Anyone has an idea of how to reduce the lag effectively?  :3
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on August 19, 2010, 03:08:17 PM
Question before I even dare to try it out (seems like a lot of work, but I love how detailed the tutorial was) :
I only have 2GB RAM and a processor with 3.1 GHz. Alone playing Touhou games is fine, but when I record the stuff the games tend to lag in a perverted way, I can't go over 30fps in Fraps without making a spell practice replay longer than ten minutes. (that's how much it lags while recording). Anyone has an idea of how to reduce the lag effectively?  :3
A 3.1 GHz what?  Core 2 Duo?  Old AthlonXP?

Do you have a slow hard drive (perhaps you're using a laptop)?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: HyperGumba on August 21, 2010, 09:01:55 PM
Oh, I lack the knowledge of getting this information together, but I hope that a screenshot of the system specs gives you a clue (sorry about the screenshot, I can't copy the text in that window for some reason...)  :3

Oh, and I guess that it is no problem even if the language is German  :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on August 22, 2010, 12:50:12 AM
Is it a laptop?  Regardless of whether the answer is yes or no, what graphics card are you using?

If you right-click the deskop, select Personalize, then pick "Display Settings" (for me it is at the bottom of the window) and you should be able to tell by that window.  For me it says "Generic PnP monitor on ATI Radeon HD 3300 Graphics" for the monitor I have my machine connected to, so your GPU will probably be listed at the end as well.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on August 22, 2010, 01:02:43 AM
dxdiag is your friend.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: HyperGumba on August 22, 2010, 01:19:09 PM
Oh yeah, I learned something new, thanks for the help. This is what dxdiag gave me:

Code: [Select]
------------------
System Information
------------------
Time of this report: 8/22/2010, 14:00:17
       Machine name: HG
   Operating System: Windows Vista? Home Premium (6.0, Build 6002) Service Pack 2 (6002.vistasp2_gdr.100608-0458)
           Language: German (Regional Setting: German)
System Manufacturer: Gigabyte Technology Co., Ltd.
       System Model: M61PME-S2
               BIOS: Award Modular BIOS v6.00PG
          Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (2 CPUs), ~3.1GHz
             Memory: 2046MB RAM
          Page File: 1473MB used, 2862MB available
        Windows Dir: X:\Windows
    DirectX Version: DirectX 11
DX Setup Parameters: Not found
     DxDiag Version: 7.00.6002.18107 32bit Unicode

------------
DxDiag Notes
------------
      Display Tab 1: The file nvd3dum.dll,nvwgf2um.dll is not digitally signed, which means that it has not been tested by Microsoft's Windows Hardware Quality Labs (WHQL).  You may be able to get a WHQL logo'd driver from the hardware manufacturer.
        Sound Tab 1: No problems found.
          Input Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D:    0/4 (retail)
DirectDraw:  0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay:  0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow:  0/6 (retail)

---------------
Display Devices
---------------
        Card name: NVIDIA GeForce 9600 GT
     Manufacturer: NVIDIA
        Chip type: GeForce 9600 GT
         DAC type: Integrated RAMDAC
       Device Key: Enum\PCI\VEN_10DE&DEV_0622&SUBSYS_00000000&REV_A1
   Display Memory: 1269 MB
 Dedicated Memory: 501 MB
    Shared Memory: 767 MB
     Current Mode: 1280 x 1024 (32 bit) (60Hz)
          Monitor: PnP-Monitor (Standard)
      Driver Name: nvd3dum.dll,nvwgf2um.dll
   Driver Version: 7.15.0011.8084 (English)
      DDI Version: 10
   BGRA Supported: Yes
Driver Attributes: Final Retail
 Driver Date/Size: 12/2/2008 23:11:00, 6070272 bytes
      WHQL Logo'd: No
  WHQL Date Stamp: None
Device Identifier: {D7B71E3E-4562-11CF-247C-0B2001C2CA35}
        Vendor ID: 0x10DE
        Device ID: 0x0622
        SubSys ID: 0x00000000
      Revision ID: 0x00A1
      Revision ID: 0x00A1
      Video Accel: ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C ModeVC1_B ModeWMV9_B ModeVC1_A ModeWMV9_A
 Deinterlace Caps: {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {B338D50D-A64A-4790-AC01-475B64252A78}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                   {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
     DDraw Status: Enabled
       D3D Status: Enabled
       AGP Status: Enabled

It is the main system and graphic device info. The .txt is attached too, if there is still something missing.  :derp:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on August 22, 2010, 07:45:11 PM
You might want to try updating your video drivers and see if that helps.  I think you want this one (http://www.nvidia.de/object/win7-winvista-32bit-258.96-whql-driver-de.html) (I believe I picked the right language :P).

You can also go here (http://www.nvidia.com/Download/index.aspx?lang=de) and fill out the form (GeForce, GeForce 9 Series, 9600 GT, Vista 32-bit).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: RainfallYoshi on September 24, 2010, 09:35:41 PM
Youtube is still fucking up my videos with horrible audio lag, my last upload even froze up for the last 20 seconds. What the crap.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Axel Ryman on October 07, 2010, 11:32:40 PM
I'm having a bit of audio issues myself, mainly audio plays twice over on Youtube but not on the actual video. Like the start of a song plays and then 2-3 seconds after the the song starts again and repeats.


Edit: Nevermind, fixed it. Was something I did.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Helepolis on October 14, 2010, 11:18:57 AM
Want to say again here that Megui still is crashing on my Windows 7 OS. The moment I try to add the source video with Avisynth script it goes boom.

If anybody knows the solution or can help out, please do. Because virtual dub is pissing me off.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: CrimsonDX on November 13, 2010, 02:47:11 AM
Im havin a bit of trouble. I can record perfectly, but when it comes time to combine the separate parts together it all goes wrong. The frame rate goes to hell when I combine them together turning what was a perfectly smooth video into a stuttering mess.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on November 13, 2010, 05:12:21 PM
Im havin a bit of trouble. I can record perfectly, but when it comes time to combine the separate parts together it all goes wrong. The frame rate goes to hell when I combine them together turning what was a perfectly smooth video into a stuttering mess.
Does the encoded video (sans audio) play fine, or does it only screw up after muxing?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: CrimsonDX on November 15, 2010, 03:59:53 PM
I haven't tried running them through MeGUI yet, but before I actually put them through VirtualDub they run perfectly. Its only after VirtualDub gets its hands on it that it messes up.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Ghaleon on November 23, 2010, 09:10:52 PM
As I've said before all this helped me tremendously so thanks again. My videos used to look like crap, and now they look fine.
However lately I've been noticing a strange bug with my videos on youtube. They sometimes think they're done loading, but they aren't. So even though the red progress bar is completely full, the video arbitrarly stops at some point. Not only that, but because it "thinks" its done, it doesn't bother downloading the rest of the video. So.. No mater how long you wait, it will NOT go past a certain (random every time you refresh, sometimes the whole thing works) point.

I suspect this has something to do with the video's filesize. I hear people talk about their 10 min videos being less than 100 megs after megui compression, but mine are still around 500 megs. (with a 13-15 min video). I realize that Youtube applies its own compression after you upload the video, but I don't exactly know if my videos still remain larger than normal after it goes thru that, or not. If  anybody has any ideas of how to shrink my post youtube compression size or something (or knows exactly how to fix my problem) I'd appreciate it.

Also, people talk about recording at 30fps. I don't really mind 60 because I got the HD space and I just delete the files after I'm done uploading, but would that help do you think? How about Virtual-dub applied XVid compression? Is it a bad idea to combine that with meGUI or not? I haven't just tried because every time I do I get an error message talking about filters and it being "highly unusual". But I have no clue wtf it wants me to do to fix it GG. I can probably just delete and install a newer version or something but don't really want to bother only to find out it wouldn't help anyway.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on November 25, 2010, 03:20:17 AM
As I've said before all this helped me tremendously so thanks again. My videos used to look like crap, and now they look fine.
However lately I've been noticing a strange bug with my videos on youtube. They sometimes think they're done loading, but they aren't. So even though the red progress bar is completely full, the video arbitrarly stops at some point. Not only that, but because it "thinks" its done, it doesn't bother downloading the rest of the video. So.. No mater how long you wait, it will NOT go past a certain (random every time you refresh, sometimes the whole thing works) point.
That's probably a problem with the Flash plugin.  Hell, I remember Zengeku having a problem with a couple of his recently uploaded videos being "zoomed out" whenever you viewed them.  It's like the Youtube player wasn't recognizing that it was actually pillar-boxed 720p and he had to fix that with a special tag on the video ("yt:crop=16:9").

Out of curiosity, have you tried watching the same video (and the same resolution) in a different browser?

Quote
I suspect this has something to do with the video's filesize. I hear people talk about their 10 min videos being less than 100 megs after megui compression, but mine are still around 500 megs. (with a 13-15 min video). I realize that Youtube applies its own compression after you upload the video, but I don't exactly know if my videos still remain larger than normal after it goes thru that, or not. If  anybody has any ideas of how to shrink my post youtube compression size or something (or knows exactly how to fix my problem) I'd appreciate it.
I would say a 10 minute 720p video being < 100 MB to be a little crazy, but maybe the people who are having those results are the same people whose videos have very heavy macroblocking.  Touhou doesn't compress as well as some other sources.

Youtube is pretty aggressive with their compression, and you can download the compressed MP4 of your uploaded video from your videos (go to your videos and click the drop-down arrow next to "Edit" and "Insight") if you want to download them and check the size.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: CrimsonDX on November 26, 2010, 01:52:03 PM
YAY my video was fixed! I guess it was my computer after all. It couldn't handle playing a 16+ gig file :(
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on November 26, 2010, 05:37:57 PM
YAY my video was fixed! I guess it was my computer after all. It couldn't handle playing a 16+ gig file :(
That shouldn't have been an issue, but are you saying that the joined video was the one that wouldn't play right even though the original segments would?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: CrimsonDX on November 27, 2010, 01:39:45 AM
That shouldn't have been an issue, but are you saying that the joined video was the one that wouldn't play right even though the original segments would?

Yes. The individual segments played perfectly and the final MeGUI file would play perfectly. But, the joined file out of VirtualDub would stutter worse than William Denbrough.

http://www.youtube.com/watch?v=8nbQ50-fD0E here is the final upload to youtube.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on November 27, 2010, 03:45:36 AM
Yes. The individual segments played perfectly and the final MeGUI file would play perfectly. But, the joined file out of VirtualDub would stutter worse than William Denbrough.
If the output from VirtualDub was uncompressed your hard drive was probably too slow for the video to play properly.  Fraps recordings are losslessly compressed so the small size savings there probably what let you play those fine.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 01, 2010, 06:27:54 PM
I have a question to ask. MeGUI is a bit strange with coloring when the video gets converted to ConvertToYV12(). I know from experience that you need to convert it using this. The best way to notice this is when I record (using Hypercam 3) Touhou 2. Where the yellow text stuff on the side is, it records it fine, nice bright yellow color. BUT, after processing this through MeGUI, that yellow color (and other colors) are changed and look more dull and off-color. Is there anyway to fix that or is that just the way it is?

Note: it's MUCH easier to notice with the PC98 games since those have less colors compared to anything windows related.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 01, 2010, 11:20:22 PM
I have a question to ask. MeGUI is a bit strange with coloring when the video gets converted to ConvertToYV12(). I know from experience that you need to convert it using this. The best way to notice this is when I record (using Hypercam 3) Touhou 2. Where the yellow text stuff on the side is, it records it fine, nice bright yellow color. BUT, after processing this through MeGUI, that yellow color (and other colors) are changed and look more dull and off-color. Is there anyway to fix that or is that just the way it is?

Note: it's MUCH easier to notice with the PC98 games since those have less colors compared to anything windows related.
Note that I don't use MeGUI so I can't tell you exactly how to do this.  Instead of ConvertToYV12(), change it to:

Code: [Select]
ConvertToYV12(matrix="pc.709")
And for the x264 options add "--fullrange on".  If that doesn't look right you might need to change "pc.709" to "pc.601", but that is dependent on what you have decoding your video.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 02, 2010, 04:29:03 PM
Note that I don't use MeGUI so I can't tell you exactly how to do this.  Instead of ConvertToYV12(), change it to:

Code: [Select]
ConvertToYV12(matrix="pc.709")
And for the x264 options add "--fullrange on".  If that doesn't look right you might need to change "pc.709" to "pc.601", but that is dependent on what you have decoding your video.
That does in fact make it look much better! It's not perfect though. Some colors still look off-color.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 02, 2010, 05:59:16 PM
That does in fact make it look much better! It's not perfect though. Some colors still look off-color.
What are you trying to play it back with?  If you're not using it, VLC or MPlayer (with any GUI you want) you might want to give those a shot since any software that might be doing some behind-the-scenes color correction with Avisynth (I think Haali's Media Splitter can) might alter them a bit, and VLC/MPlayer don't use it.

I would try adding --colormatrix bt709 to the x264 arguments so it'll be flagged in the video's bitstream.  That might fix playback problems with some software.

Also, some color correction options for video playback in video card's drivers can muck things up on playback, and IIRC some GPU/driver combos can cause some weirdness when using hardware acceleration.  You could try taking a short clip of the video after it has been encoded and upload it to Mediafire or something, take some screenshots of the problem areas in that video, and maybe some people ITT can take a look at whether we see the same off-color parts as you have in your screenshots.

Have you tried 'matrix="pc.601"' to see if the the results were better or worse than the pc.709 option?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 04, 2010, 02:14:46 AM
What are you trying to play it back with?  If you're not using it, VLC or MPlayer (with any GUI you want) you might want to give those a shot since any software that might be doing some behind-the-scenes color correction with Avisynth (I think Haali's Media Splitter can) might alter them a bit, and VLC/MPlayer don't use it.
I'm just looking at what they look like before encoding. MeGUI shows you a preview what what it will look like after you put the options into the script creator. (btw, that IS what it will really look like after it's completely done, I've tested this before)

I would try adding --colormatrix bt709 to the x264 arguments so it'll be flagged in the video's bitstream.  That might fix playback problems with some software.
No good, that didn't make a difference.

Also, some color correction options for video playback in video card's drivers can muck things up on playback, and IIRC some GPU/driver combos can cause some weirdness when using hardware acceleration.  You could try taking a short clip of the video after it has been encoded and upload it to Mediafire or something, take some screenshots of the problem areas in that video, and maybe some people ITT can take a look at whether we see the same off-color parts as you have in your screenshots.
I'll do just that in a bit, and fix this post when I do.

Have you tried 'matrix="pc.601"' to see if the the results were better or worse than the pc.709 option?
601 looks a very tiny bit nicer. Not much to tell by though, yet I can see it.

One very good example of seeing this: Open up Touhou 2 in your preferred emulator, and run it just to see the color of the stats icons (the yellow ones) and notice how brightly colored they are. Now go to Donut's video of his Touhou 2 1cc and look there. He has the same color problems I do.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 05, 2010, 04:31:42 AM
Uploaded here (http://www.mediafire.com/?8719a5bs69ube8e).

I put in the zip file the original recording, the recording after MeGUI killed it (muxed) and some images of the videos taken from fraps from windows media player. (media player isn't changing the color, since MeGUI shows it will be that way anyway)

I also just realized the scaling on the muxed is messed up. It needed 30 more pixels vertically. I went to MeGUI to see if this was the problem while I typed this and it didn't change anything.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 07, 2010, 07:02:32 PM
I'll have to do some more testing, but try updating x264.  If your build is older than about two months (see this (http://git.videolan.org/?p=x264.git;a=commit;h=9e443f2498aa7a20b6ba891f2fad40072f9948c2)) then it might help.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 08, 2010, 03:45:06 AM
Everything on MeGUI is updated. I'm pretty sure x264 is also since the update button does nothing.

Also, I'm not sure what to do with that link. It's kinda confusing just to look at.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 08, 2010, 10:57:45 AM
Everything on MeGUI is updated. I'm pretty sure x264 is also since the update button does nothing.
MeGUI hasn't had an update since July, and the x264 bugfix/feature I linked was in September.

Quote
Also, I'm not sure what to do with that link. It's kinda confusing just to look at.
Just a reference.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 08, 2010, 06:48:57 PM
After using the awesome powers of Google, I figured out MeGUI does NOT update x264. You have to do it manually. I updated to, what I think is but not sure, a later version of x264. It made a difference. The color looks much better now. Still not perfect but now it's getting closer.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 08, 2010, 11:38:00 PM
Well, I did some more research on Google and came across this (http://avisynth.org/mediawiki/FAQ_YV12).
So I used for the script:
Code: [Select]
BicubicResize(960, 630, 0, 0.5) # Bicubic (Neutral)
ConvertToYUY2(matrix="pc.601")
This kept the color exactly (as far as I can tell) perfect. There's only one problem with this. When you go to AutoEncode, it says this:
Quote
The colorspace of your clip is not in YV12...
Do you want me to add ConvertToYV12() to the end of your script ?
If you click no, it then says:
Quote
Your AviSynth clip has the following problem:
You didn't want me to append ConvertToYV12(). You'll have to fix the colorspace problem yourself.
Continue anyway?
When I say yes, and look at the finished result, the color is better by a little but it seems slightly blurry.
I wonder if there's a way to fix this whole thing, or should I stop using MeGUI and use something else to put my vids in HD?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 09, 2010, 01:47:29 AM
x264 largely requires the source video to be in the YV12 format.  If you're using an Avisynth script and it is being processed by an x264 binary that was built with AVS support then that is also true.  If you're using other sources (either FFMS2 or  libavcodec support, assuming it was compile with such) it'll handle that internally.

Sometime between now and tomorrow I'll try encoding your source video through x264 (libavcodec), ffmpeg (using libx264), and mencoder (again using libx264).  Odds are I'll try to get at least one lossless version, and I'll have them both scaled and unscaled (since colors are being "made up" to fill in the additional pixels and may make it look a bit off).

It is entirely possible that the slight color differences you're seeing may be due to chroma subsampling.  The human eye is less sensitive to changes/movement of color than luminance, and a variety of methods exist to store image information with luminance data than color.  This is normal, and most media you're exposed to (DVDs (MPEG2), Blu-ray (H.264), streaming HD video, JPEGs, etc.) do this.

EDIT: Here (http://dl.dropbox.com/u/1565165/touhou.zip) is the first set.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 09, 2010, 04:32:22 PM
Um, that set you gave out. It doesn't look like anything. They're all 5 seconds long and have nothing but a gray screen on Movie Maker.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 09, 2010, 05:53:43 PM
Um, that set you gave out. It doesn't look like anything. They're all 5 seconds long and have nothing but a gray screen on Movie Maker.
They play back fine in VLC or MPlayer and are 12 seconds long.  The first four videos are unlikely to play through something like Windows Movie Maker (if it uses ffdshow or CoreAVC then it might), but they are lossless videos that also use a different method of storing colors.  5-8 will probably be more agreeable with most decoders.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 11, 2010, 08:00:38 AM
They play back fine in VLC or MPlayer and are 12 seconds long.  The first four videos are unlikely to play through something like Windows Movie Maker (if it uses ffdshow or CoreAVC then it might), but they are lossless videos that also use a different method of storing colors.  5-8 will probably be more agreeable with most decoders.
They don't play. I've tried Media Player, Quick Time, Virtual Dub, and MeGUI, along with Movie Maker, since that's how my computer recognizes the file format. Everything else either throws up an error or doesn't see it altogether.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 12, 2010, 04:15:23 PM
They don't play. I've tried Media Player, Quick Time, Virtual Dub, and MeGUI, along with Movie Maker, since that's how my computer recognizes the file format. Everything else either throws up an error or doesn't see it altogether.
On my computer it plays on:


You might need to install CCCP (http://www.cccp-project.net/) or a newer version of it, though some of the above apps (like VLC) don't need it.  MeGUI will be using DirectShowSource to open it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 13, 2010, 07:40:42 PM
Nope. Avidemux2 doesn't work. It opens but has 0 frames (no matter how I open it) and will play nothing indefinitely. I tried that CCCP also but it won't install because "I don't have DirectX 9" when I clearly have all the way up to DirectX 11 via dxdiag. Doesn't look like I'll ever be able to play these.

I guess I'll just stick to what I have and hopefully MeGUI will cooperate.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 13, 2010, 07:57:08 PM
Nope. Avidemux2 doesn't work. It opens but has 0 frames (no matter how I open it) and will play nothing indefinitely.
DId you use the avsproxy like I said?   I use FFMS2 (Avisynth plugin) with the provided avsproxy_gui.exe in the Avidemux2 folder and it works fine.

Quote
I tried that CCCP also but it won't install because "I don't have DirectX 9" when I clearly have all the way up to DirectX 11 via dxdiag.
I'm willing to bet you don't have DirectX 9.  Just because Vista/Win7 may come with DX10/11 does not mean that they have DX9 installed.  I use Vista and still had to install DirectX from the redistributable (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d) for some of my DX9 games to run.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 13, 2010, 08:24:31 PM
DId you use the avsproxy like I said?   I use FFMS2 (Avisynth plugin) with the provided avsproxy_gui.exe in the Avidemux2 folder and it works fine.
I'm not quite sure how to do that. Mind helping me out?

I'm willing to bet you don't have DirectX 9.  Just because Vista/Win7 may come with DX10/11 does not mean that they have DX9 installed.  I use Vista and still had to install DirectX from the redistributable (http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d) for some of my DX9 games to run.
Tried installing that. It failed from the start. It said to check dxdiag and stuff but they don't report any problems. ??? I'm also sure I have it because the latest Touhou games wouldn't run, right? Since they need DirectX 9.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 13, 2010, 08:55:53 PM
I'm not quite sure how to do that. Mind helping me out?
Download FFMS2 (http://code.google.com/p/ffmpegsource/downloads/detail?name=ffmpegsource-2.14.7z), copy ffms2.dll and ffmsindex.exe to your Avisynth plugins directory (for me that is C:\Program Files\AviSynth 2.5\plugins).

Open avsproxy_gui.exe (in the Avidemux2 folder), and on the first tab pick the file you want to view, and if it has no audio check "Disable Audio encoding & delivery"   (I excluded audio from mine, so check it).  Then click "Create Proxy".  I believe it'll open Avidemux by default (if you click "Show Details" there is a checkbox to automatically open it).

Quote
Tried installing that. It failed from the start. It said to check dxdiag and stuff but they don't report any problems. ??? I'm also sure I have it because the latest Touhou games wouldn't run, right? Since they need DirectX 9.
DirectX is a weird thing, because there are lots of DirectX libraries that are different (newer ones that ship with each release) that vary by their version number.  One game might want Directx9_36.dll, others might use Directx9_34.dll, and a new game could come out that uses Directx9_37.dll that isn't installed because you have an older version of DirectX 9.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 13, 2010, 09:13:41 PM
All righty. That worked! Now we can get back to the original topic. :V

Yeah, anyway, after watching those vids, they weren't' that impressive. The coloring is way off.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on December 14, 2010, 12:11:48 AM
Yeah, anyway, after watching those vids, they weren't' that impressive. The coloring is way off.
More than yours, or about the same after the color matrix changes?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 14, 2010, 12:21:20 AM
It's worse than any that I've produced. Noting the yellow test on the sides, they seem way to bleached out.

Well, after I updated x264 a while ago, it's much better. Still, if I could use ConvertToYUY2(matrix="pc.601"), that would solve it all. Dumb MeGUI MUST have it as YV12.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zengeku on January 02, 2011, 12:35:03 AM
Now that Youtube has considerably raised the time limits for videos i was thinking of uploading full videos instead of videos in parts. Then one problem arises with VirtuaDub. Since this thread basically says to use the program i believe this is the appropriate place to inquire for help.

When Fraps records the videos it splits them up into segments of 4 GB each. So VirtuaDub is needed to join them. But whenever i try joining three or more segments together the file ends up much larger than it should be.

The problem is that the program for some reason copies the segments so that a video that would've been 9 minutes long is suddenly 15 minutes long because part of the video is being looped.

Is this just something that happens to me and does anyone know how to fix it? If not, does anyone know of a good program to remove the unwanted extra part of the video? Preferably one that doesn't cost that much or is free. Thanks in advance.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: RemiFlan on January 14, 2011, 04:20:05 PM
the camstudio method?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 14, 2011, 04:29:54 PM
the camstudio method?
Well, you could use camstudio, but it's not exactly the best recording software. In fact, it doesn't record properly either for most people. (it doesn't see my sound card) The video often ends up very choppy, and it misses many frames and lags everything, mostly because it has to record with a codec, so it's encoding while recording. Unlike fraps which records uncompressed.

I'm not sure what's happening with VirtualDub. I'll go and test a vid with it the same way you did and see what happens, when I've got the time.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: RemiFlan on January 14, 2011, 04:41:30 PM
Well, you could use camstudio, but it's not exactly the best recording software. In fact, it doesn't record properly either for most people. (it doesn't see my sound card) The video often ends up very choppy, and it misses many frames and lags everything, mostly because it has to record with a codec, so it's encoding while recording. Unlike fraps which records uncompressed.

I'm not sure what's happening with VirtualDub. I'll go and test a vid with it the same way you did and see what happens, when I've got the time.
I have to buy fraps and I'm not really allowed because of the age.  :(
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on January 22, 2011, 10:42:34 PM
oh ffs

Will write it again tomorrow.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 23, 2011, 01:06:46 AM
It all sounds awesome to me. I'll have to try that. Also, why do you have the compression quality at 85%?

I would also LIKE to record sound from the realtek audio stuff but I can't get that on my computer. It is a realtek compatible sound card but the installer doesn't work. So if I have to do that, I have to unplug my speakers and put the cable in the mic jack, which gives out fuzz, while I can't hear. (plugging in headphones cancels out the mic audio) Retarded huh?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on January 23, 2011, 01:18:24 AM
I'm more curious about why he isn't using Lanczos4Resize.  It's recommended when upscaling because it retains more detail and produces a sharper image than bicubic resizing.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on January 23, 2011, 01:24:45 PM
Also, why do you have the compression quality at 85%?

I tried putting it higher once but that gave horrible frame stuttering to the video.

As for your sound problem, I think you can always record the audio right from your speakers by enabling Stereo Mix in your computer's sound configuration? Not sure.

I'm more curious about why he isn't using Lanczos4Resize.

Probably because I've never heard of it.  :V
I guess I'll try that next time, thanks.

EDIT:
OK I tried using Lanczos4 this time.
Yeah, it seems better. (http://www.youtube.com/watch?v=0GqpZ7qpFX8) Editing my above post.

Should I also use Lanczos4 for the Windows games?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 23, 2011, 06:59:40 PM
As for your sound problem, I think you can always record the audio right from your speakers by enabling Stereo Mix in your computer's sound configuration? Not sure.
That's the problem. Windows 7 doesn't come built in with Realtek, and Realtek is the program that lets that show up. I've followed every site I can find about this problem and at the moment, it isn't solvable, unless I switch back to XP or something. (and yes, I have it set to show disabled and disconnected devices)
Oh well...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on January 24, 2011, 11:56:22 AM
EDIT:
OK I tried using Lanczos4 this time.
Yeah, it seems better. (http://www.youtube.com/watch?v=0GqpZ7qpFX8) Editing my above post.

Should I also use Lanczos4 for the Windows games?
Yeah.  It's generally recommended when upscaling any original source material.

Now, out of curiosity are you using Constant Quality instead of bitrate/Const. Quantizer?  The OP is specifying bitrate, so you might be using that.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on January 24, 2011, 02:07:45 PM
Okay, as it seems my previous post of this got eaten because of technical issues, let's just do it again here.

How to record the PC-98 games.

First, make sure the emulator is configured properly. (http://www.shrinemaiden.org/forum/index.php/topic,6549.0.html)
Also check "full color" in in the window tab for Anex.

I use Hypercam 2 for the recording. Set the recorder up like this if you're recording fullscreen:

(http://img18.imageshack.us/img18/2064/15282717.th.png) (http://img18.imageshack.us/i/15282717.png/) (http://img412.imageshack.us/img412/7638/90939367.th.png) (http://img412.imageshack.us/i/90939367.png/) (http://img140.imageshack.us/img140/3536/81181981.th.png) (http://img140.imageshack.us/i/81181981.png/)

Enabling Stereo Mix in your computer's sound config is recommended if you can't get any sound (it's a hidden feature, so right-click to make it visible).

Press F2 to record and again to stop recording.

After that, use this code in MeGUI instead of the normal one:

Code: [Select]
Lanczos4Resize(1152, 720, 0, 0.5) # Lanczos4 (Neutral)
AddBorders(64, 0, 64, 0, 0)
ConvertToYV12()

@Barakketh:  I think I'm using constant? I have a constant Ratefactor of 20 if that means anything.

EDIT:

Okay it seems Hypercam 2 has some desync issues as of late, it's better to use Hypercam 3. Use the exact same settings except use uncompressed video instead.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on January 24, 2011, 02:56:07 PM
@Barakketh:  I think I'm using constant? I have a constant Ratefactor of 20 if that means anything.
Yeah, CRF (Constant Rate Factor) and Constant Quality (what it is called in the VFW interface to x264) are the same thing.

I was mainly interested in asking because at the time I was watching Sapz' Crimzon Clover Type-Z Unlimited 1cc and noticed that it was horribly blocky at 720p (I might bug him about his encoding settings later).  Your stuff (the recent non-Cave/non-PC-98 games) are fine, but one-pass CRF is quicker than two-pass fixed bitrate.

Plus the way x264 works is that it picks the CRF value that would let you hit the target file size, so unless you're trying to fit something on a CD/DVD CRF is the better choice as the quality would be better (unless you picked a huge bitrate that would pick a lower CRF value) and the encode would be done faster.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 25, 2011, 12:27:52 AM
Code: [Select]
Lanczos4Resize(1152, 720, 0, 0.5) # Lanczos4 (Neutral)
AddBorders(64, 0, 64, 0, 0)
ConvertToYV12()
Do you really need the borders though? Youtube's HD has been great for the past long time and doesn't need borders anymore for 720 pixels.
Unless they do something weird to your vids without the borders? I have no idea so...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on January 28, 2011, 06:52:26 PM
Welp, guess I'm using Hypercam 3 now.

Same settings, except I'm not using any compression now.

Do you really need the borders though? Youtube's HD has been great for the past long time and doesn't need borders anymore for 720 pixels.
Unless they do something weird to your vids without the borders? I have no idea so...

I think it's to remain the aspect ratio of the game?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 28, 2011, 08:42:49 PM
I think it's to remain the aspect ratio of the game?
Yeah, that's what I was wondering about. I've seen many vids on Youtube where the games are either really fat or really thin. Mostly fat. Well, I might try a PC98 without the  borders sometime in the future and upload it temporarily to see what it looks like. Unless someone else does it before me, that works too.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dentsune on February 05, 2011, 12:28:45 AM
First of all, thanks a lot for all the replys on this thread guys, I have learned a lot about encoding reading your posts. Special thanks to Drake for this guide! You're amazing man, please keep up the good work!

Well, I have some problems encoding my TH video. I follow exactly what this guide says (except for one point: I use a widescreen 16:9 option), but when I upload my video to youtube, I get this ugly white screen during the very first seconds of the playback:

http://www.youtube.com/watch?v=X2qYnOniCHo (http://www.youtube.com/watch?v=X2qYnOniCHo)

I have tried many options during the encoding, but I'm still getting that white screen. Also the audio, even on HD, sounds pretty bad to me.
Any ideas how to fix these things? Any ideas will be appreciated a lot.

Thanks once again for everything!~
See'ya!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on February 05, 2011, 02:02:28 AM
This has been a prevalent problem. I averted the problem by downgrading everything back to my previous, working settings (+the works) and then manually updating / installing plugins as required from there (so I basically touch everything but the core).

The audio sounded fine to me, though yes, a bit worse than the "original". You're on your own here as I can't accurately say what the problem exactly is.

If I had to make a guess as to what the problem is, I'd say that it's either MeGUI's doing some witchcraft, or the latest encoders are incompatible thus you get the garbage for the first 3 seconds of video, and may also be affecting audio quality.

WRT using Widescreen (16:9), it ends up stretching your output video since Touhou uses 4:3 resolution. If you were to put this into the same ratio, it would be 12:9 / 16:12, and the video therefore would end up getting stretched sideways, which would make everything look "fatter". This is why letterboxing (adding extra space to the sides of the videos) is done; to maintain the original ratio of 4:3 whilst still being able to take advantage of YT's HD settings.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on February 05, 2011, 05:49:33 AM
First of all, thanks a lot for all the replys on this thread guys, I have learned a lot about encoding reading your posts. Special thanks to Drake for this guide! You're amazing man, please keep up the good work!

Well, I have some problems encoding my TH video. I follow exactly what this guide says (except for one point: I use a widescreen 16:9 option), but when I upload my video to youtube, I get this ugly white screen during the very first seconds of the playback:

http://www.youtube.com/watch?v=X2qYnOniCHo (http://www.youtube.com/watch?v=X2qYnOniCHo)

I have tried many options during the encoding, but I'm still getting that white screen. Also the audio, even on HD, sounds pretty bad to me.
Any ideas how to fix these things? Any ideas will be appreciated a lot.

Thanks once again for everything!~
See'ya!
THIS! Yes, I just had that problem a few days ago. I tried the Lanczos4 codec for my SWR lunatic 1cc and had the exact same problem. But it had a twist! It had a strange clicking sound continually reoccurring in the audio. Like a tick-tock (a little faster than the average clock) that sounds like you could make it with your tongue on the roof of your mouth. Exactly like that. So I deleted it thinking it was a youtube glitch. (which reminds me of donut's Mystic Acid Trip) I did recently update MeGUI though. (oh, and the weird sound WASN'T in the finished product of the vid either. I checked. nor was the white beginning)

That reminds me, does the window for MeGUI normally say "MeGUI 1911 (svn)"? I don't recall svn being in there. Maybe I should reinstall it?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dentsune on February 05, 2011, 03:48:18 PM
THIS! Yes, I just had that problem a few days ago. I tried the Lanczos4 codec for my SWR lunatic 1cc and had the exact same problem. But it had a twist! It had a strange clicking sound continually reoccurring in the audio. Like a tick-tock (a little faster than the average clock) that sounds like you could make it with your tongue on the roof of your mouth. Exactly like that. So I deleted it thinking it was a youtube glitch. (which reminds me of donut's Mystic Acid Trip) I did recently update MeGUI though. (oh, and the weird sound WASN'T in the finished product of the vid either. I checked. nor was the white beginning)

That reminds me, does the window for MeGUI normally say "MeGUI 1911 (svn)"? I don't recall svn being in there. Maybe I should reinstall it?

My, well, it's good to know that it's quite an usual problem. I still can't figure the source of that white screen. Maybe reinstalling meGUI could help a little? Updating everything but the core, perphaps? It's annoying how 3 seconds of white screen can screw the entire video.

About SVN well, my meGUI says exactly the same. I don't know if that's good or bad or something but it seems to encode well so... yeah.
Thanks for the replys btw.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 06, 2011, 01:59:48 AM
I tried the Lanczos4 codec
Not a codec.  It's just a scaling filter/algorithm.

Quote
I deleted it thinking it was a youtube glitch.
One of the members here is a ffmpeg developer, and once said that Youtube is either using an old version of ffmpeg/libavcodec or a custom job that exhibits bugs that were fixed years ago.  It's entirely possible that there is something weird on their end.

Quote
That reminds me, does the window for MeGUI normally say "MeGUI 1911 (svn)"? I don't recall svn being in there. Maybe I should reinstall it?
SVN = Subversion, the 1911 would be the commit ID or something similar.

FYI, the build of x264 that the latest version of MeGUI provides does have some bugs in it that have since been fixed on x264's stable branch.  That could be related.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dentsune on February 07, 2011, 04:48:28 PM
FYI, the build of x264 that the latest version of MeGUI provides does have some bugs in it that have since been fixed on x264's stable branch.  That could be related.

Well, that helps a lot I must say. I'll try encoding using a non-updated version of meGUI and post the results here.
By the way, is it possible to know exactly what x264 codec is YouTube using currently? I guess that could help a lot too.

See'ya, thanks once again!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 07, 2011, 09:25:55 PM
By the way, is it possible to know exactly what x264 codec is YouTube using currently? I guess that could help a lot too.
No.  Normally when you encode you can find out what build and settings were used.  For instance, one test video someone sent me a while back has:

Code: [Select]
Writing library                  : x264 core 98 r1649 c54c47dWhich has the version of the x264 library (not important), the SVN revision (r1649) and the git commit (c54c47d).  I can then look and see that it was released on 2010-06-15.

The videos on Youtube don't have that information.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dentsune on February 08, 2011, 06:18:54 AM
The videos on Youtube don't have that information.

Well, that's bad I guess. Thanks a lot for the info.
Today when encoding once again using MeGUI 1911 x86 (Stable), same preferences, exact same codec, etc, I got the same result: White screen during the first seconds when playing on YouTube.

Strange thing, when I play the video on Media Player Classic and other players (Real Media, Windows Media Player, etc), I just don't get the white screen at all. In fact, the output is exactly what I want to show on YouTube. Any ideas or similar cases? That white screen of evil is being a headache lately.

Thanks once again.
 
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on February 25, 2011, 08:02:07 AM
Ok well, I downgraded back to MeGUI 0.3.5.0 but there's a problem I can't correct. It doesn't like the x264 thing at all. I even went searching on the net for the latest version and put it in it's folder (the exe) and ran MeGUI, but every time it freaks out with it. Config on the main screen brings up a fatal error and when I'm in the AVS script creator, simply selecting a video brings up two errors along with MeGUI crashing immediately after.
Here's the error from the config button. The other errors are really long so...
Quote
MeGUI encountered a fatal error and may not be able to proceed.
Reason: Value of '0' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value

I've kindly skipped the 1911 build (along with 20 other updates that won't update) so I'm the "good" version. Any ideas why it's doing this?

EDIT: Ok, I've gotten past the above error, but Avisynth is being a pain. Could someone put up their MeGUI folder in a zip file somewhere that hasn't been updated, since I'm getting nowhere fast? That would be great. :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drayen on March 06, 2011, 05:46:28 AM
I tried this method, but Simply opening a video and saving it on virtualdub seems to make it lag for some reason, never happened to me before..

I tried with the video virtualdub gave me, and the raw video from fraps (Which was fine), and both videos i got after using MeGUI were sped up for the first few seconds, then the sound was forever desynced.

Only thing I can say I'm not very sure about, I didn't get the same windows as the tutorial when it came for the bitrate for the video and the sound, I did select the same "scratchpad" thing for both though.

I like using windows movie maker, but i'd like to bring my video quality a notch higher though ;/
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 06, 2011, 08:24:59 AM
If you're using the newest version of MeGUI, some things have changed, but they should all still be there. I still can't get mine to work though. It's like I'm in a rut or something. Someone should literally pack up in a zip or something, somewhere so I can have the previous version of MeGUI since the newest is flawed and I can't fix up the previous since it's missing everything, quite literally, everything.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drayen on March 06, 2011, 05:48:16 PM
Hehe, well it doesn't really matter anymore, I've read a little in the thread and someone suggested Allok Video Joiner, saying it's simpler and does the same job, and it really does, and it compresses the video really fast.

That's what I get, using SameAsSource resolution (I use 1024x768) and Normal quality so the video isn't too beefy, but you can up the quality. I don't know why, but using sameassource resolution puts my video at 1280x720, oh well. It gives me this:

http://www.youtube.com/watch?v=CO09ousY-8U
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 06, 2011, 07:11:27 PM
I don't bother with using VirtualDub to join the videos.  With Avisynth you can do:

Code: [Select]
clip1 = DirectShowSource("Z:\Fraps_Videos\th07 2011-03-06 00-50-44-34.avi", fps=60)
clip2 = DirectShowSource("Z:\Fraps_Videos\th07 2011-03-06 00-53-14-23.avi", fps=60)
clip3 = DirectShowSource("Z:\Fraps_Videos\th07 2011-03-06 00-55-35-57.avi", fps=60)
clip4 = DirectShowSource("Z:\Fraps_Videos\th07 2011-03-06 00-57-57-04.avi", fps=60)
clip1 ++ clip2 ++ clip3 ++ clip4

Lanczos4Resize(960 , 720)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12(matrix="PC.709", interlaced=false)
trim(210,34254)

The first four lines assigns videos to the clip variables, the fifth uses AlignedSplice (++ is a shortcut for AlignedSplice) to join them together.

The x264 options look different, but you shouldn't need to do more than select "Const. Quality" with a value of 16 and use the "veryslow" preset.  You can use faster/lower quality preset if you want, but I'm not impatient and like going overkill since Youtube is going to cause a noticeable drop in quality when they process it.  I've added the Touhou tuning to the advanced options (Misc. tab, add "--tune touhou" to the CLI arguments).

If you're using the newest version of MeGUI, some things have changed, but they should all still be there. I still can't get mine to work though. It's like I'm in a rut or something. Someone should literally pack up in a zip or something, somewhere so I can have the previous version of MeGUI since the newest is flawed and I can't fix up the previous since it's missing everything, quite literally, everything.
The newest version is working fine for me, though I replaced x264 with a newer build.


EDIT: Here (link removed, re-upping with the changes I used for the Yuyuko fight) is a video I uploaded earlier.  I let MeGUI handle the encoding (I'm using a different build of x264 than what MeGUI provides).  The script is the same as the one I posted above.

I have another video I'm waiting to finish processing before I ask for input.  I'm trying something a bit different to see if I can make things a tad smoother than what Youtube does to lower the video's FPS.  It has another perk that should be suitable for MAME games, but I'll have to test it to make sure the method I've found works for that purpose (austere on the shmups.system11 site mentioned what to do, but now how to do it).

EDIT2: Oh, it's done processing (http://www.youtube.com/watch?v=uEzuRyIgIfk).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 07, 2011, 08:05:34 AM
Oh wow, that's really beautiful. Just watched all of that second one you posted, then watched my stage 6 and there's a HUGE difference in quality and coloring. I'll see what I can do and hope it works out.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 14, 2011, 10:09:55 PM
Um, it didn't turn out as expected. (It's not bad but... It's not super-great either)
http://www.youtube.com/watch?v=Ope1Y0cmTsQ

I used this in Avisynth:
Code: [Select]
Lanczos4Resize(960, 720, 0, 0.5) # Lanczos4 (Neutral)
ConvertToYV12()

Why did this not end up as clear as yours did?

EDIT: Also, it looks a little choppy. I'm not sure if that's how my machine is handling it so...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 14, 2011, 10:59:54 PM
Um, it didn't turn out as expected. (It's not bad but... It's not super-great either)
http://www.youtube.com/watch?v=Ope1Y0cmTsQ

I used this in Avisynth:
Code: [Select]
Lanczos4Resize(960, 720, 0, 0.5) # Lanczos4 (Neutral)
ConvertToYV12()

Why did this not end up as clear as yours did?
It's hard to say, but color-wise you might need to need to specify a color matrix.  The default is REC601, which is wrong for a PC recording (definitely so for Fraps, should be the same for Hypercam) and uses TV levels (16-235) instead of PC levels (0-255).  I've used both Fraps recording directly to YV12 and Fraps in RGB mode (see this (http://www.youtube.com/watch?v=sVaFtzux7HY&hd=1)).

This (http://dl.dropbox.com/u/1565165/x264_dp_%20Touhou.xml) is my paranoid x264 profile (goes in 'MeGUI\allprofiles\x264').  The UFO Stage 6 video was encoded with CRF20 instead of CRF16 as a test.

Quote
EDIT: Also, it looks a little choppy. I'm not sure if that's how my machine is handling it so...
Take a look at this screenshot at full size:

(http://i163.photobucket.com/albums/t299/Barrakketh/Touhou/th_GFW_Stages_1-2-muxedmkv_snapshot_0900_20110309_105308.jpg) (http://s163.photobucket.com/albums/t299/Barrakketh/Touhou/?action=view&current=GFW_Stages_1-2-muxedmkv_snapshot_0900_20110309_105308.jpg)

Notice how the bullets have a translucent "clone" in front of them?  I've been testing blending the two frames instead of dropping them, which creates a smoother video than how Youtube handles the conversion.  That "clone" is the bullet in the next frame of the video at 60 FPS, which would be outright removed by Youtube.

I did notice on Murasa's bullets that the fast ones didn't retain their shape very well, so I may have to experiment with weaker settings so the bullet's...before-image (or whatever) is more transparent.  Overall it makes the videos look nicer in motion.

The script looks something like this:


Code: [Select]
function BlendFields(clip) {
    clip
    (FrameCount % 2 == 1)  ?  DuplicateFrame(FrameCount - 1)  :  nop
    Overlay(SelectEven, SelectOdd, opacity=0.5)
}

clip1 = DirectShowSource("Z:\Fraps_Videos\th12 2011-03-09 16-13-41-86.avi", fps=60)
clip2 = DirectShowSource("Z:\Fraps_Videos\th12 2011-03-09 16-15-47-08.avi", fps=60)
clip3 = DirectShowSource("Z:\Fraps_Videos\th12 2011-03-09 16-17-52-32.avi", fps=60)
clip4 = DirectShowSource("Z:\Fraps_Videos\th12 2011-03-09 16-19-52-95.avi", fps=60)
clip1 ++ clip2 ++ clip3 ++ clip4

Lanczos4Resize(960, 720)
BlendFields
trim(2963, 2963 + 9094)
AddBorders(160, 0, 160, 0, 0)
ConvertToYV12(matrix="PC.709", interlaced=false)

The call to BlendFields should be before any trim calls (it also reduces the frame rate to 30), and after you resize the video.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 15, 2011, 06:12:51 AM
Yeah, I'll try fiddling around with those settings and see what I can do. I do know, however, that none of my video players are capable of playing it though (or at least play it well), after checking that out. QuickTime just throws up an error very first thing saying "Error -2041: an invalid sample description was found in the movie (Test-muxed.mp4)", while Windows Media Player will play it, but often lag the image, fill it up with after images usually in square segments, and desync the audio with the video occasionally. It's only the muxed version that I have on Youtube, no other videos do this. I tried opening the video on my Mac also but it refused to play it. I must've done something wrong there so off I go fixing it again. :V

Oh, yeah. And Real Player on my Mac only plays the audio for some reason. :wat:

Notice how the bullets have a translucent "clone" in front of them?  I've been testing blending the two frames instead of dropping them, which creates a smoother video than how Youtube handles the conversion.  That "clone" is the bullet in the next frame of the video at 60 FPS, which would be outright removed by Youtube.

I should try that and see what happens. That's actually quite clever and I never would have thought of that. :D
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 15, 2011, 06:36:03 AM
I have MeGUI output to RAWAVC and mux to the Matroska (MKV) container.

I also have CCCP installed, and the videos play fine in MPC-HC, WMP, VLC, and MPlayer.  You'd probably need Perian to play content in a Matroska container on OS X.

I should try that and see what happens. That's actually quite clever and I never would have thought of that. :D
Someone on a shmup board (http://shmups.system11.org) mentioned it as a way to improve the quality of MAME videos (dropped frames can cause things to disappear, I believe it was something about flickering sprites used for pseudo-transparency), I found the BlendFields script somewhere on the ZSNES board :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 19, 2011, 03:48:39 PM
Another try. (http://www.youtube.com/watch?v=CTe8EbonefQ)
This time, I had Fraps record in RGB and the Avisynth script was:
Code: [Select]
Lanczos4Resize(960, 720, 0, 0.5) # Lanczos4 (Neutral)
ConvertToYV12()

I didn't use the matrix 709 or 601 because those seemed to completely mess up the coloring, usually making everything really dark and it looked very bad that way.
Also, I did what you've suggested with the Very Slow preset and stuff. I don't know why the quality is so low on youtube after this. (the previous test vid had Very Slow also)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 20, 2011, 12:55:27 AM
You're using Rec601 anyway if you don't specify a specific matrix.

That said, use the best option for the source.  For Ketsui PC.709 looks better (Rec709 makes Ketsui look washed out):

(http://i163.photobucket.com/albums/t299/Barrakketh/temp/th_ket_rec709.png) (http://s163.photobucket.com/albums/t299/Barrakketh/temp/?action=view&current=ket_rec709.png)                  (http://i163.photobucket.com/albums/t299/Barrakketh/temp/th_ket_pc709.png) (http://s163.photobucket.com/albums/t299/Barrakketh/temp/?action=view&current=ket_pc709.png)

The AVS script editor I use lets you switch between them (it automatically updates the ConvertToYV12 command when you change it), so you can switch between the options and compare via the preview window:

(http://i163.photobucket.com/albums/t299/Barrakketh/temp/th_AvsPmod.png) (http://s163.photobucket.com/albums/t299/Barrakketh/temp/?action=view&current=AvsPmod.png)

I guess I'll try an encode of Hisoutensoku and see if the end result is good.

EDIT: Link (http://www.youtube.com/watch?v=jDRBcDnyuI8&hd=1).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on March 20, 2011, 08:29:18 PM
EDIT: Link (http://www.youtube.com/watch?v=jDRBcDnyuI8&hd=1).
Yeah see, the coloring on that video is bad, especially the shrine. That's the problem I'm having with the fighters.
Also you have a sound desync.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on March 21, 2011, 01:27:25 AM
Yeah see, the coloring on that video is bad, especially the shrine. That's the problem I'm having with the fighters.
Also you have a sound desync.
The desync is a result of me not using my normal frame rate conversion.  It wasn't worth fixing since I'm going to delete the video anyway.

One thing you have to keep in mind is that there will always be some color loss   The conversion to YV12 (which is required since the vast majority of lossless video codecs use it) does not keep all color information.  Instead, the brightness (luma) and color (chroma) are subsampled (http://en.wikipedia.org/wiki/Chroma_subsampling).

The biggest changes one will perceive are colors that are saturated, like the red used for the active weather timer in Hisoutensoku, Reisen's eyes and the insides of Reisen's ears, and the card meter (plus the red border on the smaller cards).  Compare this (http://dl.dropbox.com/u/1565165/soku_rgb.png) and this (http://dl.dropbox.com/u/1565165/soku_rec601.png).  Note that the shrine itself (which you've complained about) is more or less identical between the two images.  Ditto for the trees and bricks/concrete/whatever in front of the shrine.

You'll also see a difference on the border of the health bars, the bands (or whatever) in Suwako's hair on her portrait (not sprite, though you can see the dress undergo a slight color shift), and Reisen's hair on her portrait shifts color slightly.

Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on April 09, 2011, 07:21:13 PM
Huh, well, I've got the video up here (http://www.youtube.com/watch?v=v0MUIYw1NLo) now. For some reason, MeGUI didn't have any problems with the coloring this time. I did my standard coding which is four posts up, and it worked fine, with absolutely no change in the colors. I didn't update anything either. :wat:

I also figured out why my video player garbled it up, it was too high of a quality. I change that 16 number to 19 in the config for x264 so it would meet Youtube's size requirement, and it plays beautifully on Youtube and my media player.

Thanks again for your help though! :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on April 09, 2011, 07:56:57 PM
If you use Youtube's advanced uploader there are no file size restrictions (that or the limit is something like 25 GB, one or the other).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on April 11, 2011, 03:38:22 AM
If you use Youtube's advanced uploader there are no file size restrictions (that or the limit is something like 25 GB, one or the other).
I know, but doing it with that option, which uses Java, would take forever. I tried doing that originally but the time to upload was like 10 hours or something. I'd rather just drop the quality just a little bit so it would be faster because there are other people at my house who would like to use the internet. :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Emarrel on April 16, 2011, 02:59:52 PM
So, whenever I select the video input in the AVS script creator, megui just crashes.

Windows 7, 64 bit. Google isn't being very helpful.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on May 01, 2011, 11:42:29 AM
So I haven't made a video in a while but when I try to input the video in the AVS script creator I suddenly get a message saying:

Code: [Select]
AviSynth script error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me

Not sure what's going on, this has never happened before. Did everything the same as always.  :S

EDIT:
aaand it's working now again after deleting everything divx from the computer. Pretty sure I had these when it was still working but whatever.  (http://img607.imageshack.us/img607/6771/pinkieshrug.png) (http://img607.imageshack.us/i/pinkieshrug.png/)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on May 29, 2011, 07:35:41 AM
But it had a twist! It had a strange clicking sound continually reoccurring in the audio. Like a tick-tock (a little faster than the average clock) that sounds like you could make it with your tongue on the roof of your mouth. Exactly like that. So I deleted it thinking it was a youtube glitch.
Remember this? It happened again, but worse. I found a video from a while back that I forgot to upload somehow, and it did the same thing. A bit louder this time and some of the ticking was fuzz, along with a gray screen at the beginning and sound desync. (it plays fine on my media player) Odd, because this video was encoded the same way as other videos I had with no updates in between, using Bicubic btw. I'm just gonna re-record it and we should be fine.
hopefully...

But here's this (http://www.youtube.com/watch?v=gtiWr2Taj10) just to leave by to amuse you guys at what Youtube can do. Don't feel like deleting this one because it's just funny. I haven't a clue what could be causing this.

EDIT: No wait, it was Lanczos4. My bad. :V

EDIT 2: Yep, we're good now. (http://www.youtube.com/watch?v=hMkIssyNXJA) :D
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Spike on July 01, 2011, 03:08:35 AM
Interesting topic I think. I handle my videos in a slightly different way and this is the quality (http://www.youtube.com/watch?v=83jw3hpMeqc) I can get. Though I'm still using avisynth and x264, so it's pretty much the same, I guess. Is there any noticeable differences between Lanczosresize and Spline36resize I'm using? After all avisynth does have a few resizing filters and it's not always easy to say which is better.
Going to try soon that BlendFields which was mentioned on the previous page too. 30 fps videos aren't very smooth to watch especially after playing in 60 fps so some kind of semi-60fps would be nice, even though that probably blur quality a bit.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Vanhaomena on October 05, 2011, 01:57:48 AM
How do I make Fraps record what I hear? It only records the microphone input, and any other settings cause it to record nothing at all (or some static noise which is weird). This is what I see (http://666kb.com/i/bxis5uw5hqvu5tjhh.jpg).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on October 05, 2011, 02:36:20 AM
How do I make Fraps record what I hear? It only records the microphone input, and any other settings cause it to record nothing at all (or some static noise which is weird). This is what I see (http://666kb.com/i/bxis5uw5hqvu5tjhh.jpg).
My Fraps has a checkbox for "Record Vista sound" with extra options for Stereo or Multichannel.

Does the "Use Windows input" cause no sound/static?  Have you tried unplugging your headset and recording without it?  It looks like you're using a USB headset, is your default Windows output device and whatever the game is using the same device?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Vanhaomena on October 05, 2011, 02:48:41 AM
Quote
Have you tried unplugging your headset and recording without it?

Holy shit  :D
 Even though all the settings were identical, headset plugged in -> no sound, headset unplugged -> yes sound. I'm still puzzled but at least now I'm puzzled with a proper audio track :derp: Thanks a lot.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Esper on October 11, 2011, 01:40:13 AM
Making a tutorial video, using these settings. It includes rage and snarky text on the screen.

May have it up tomorrow.
Right here. (http://www.youtube.com/watch?v=AUQnr88prs4&feature=channel_video_title)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Luna Scarlet on November 16, 2011, 04:40:25 PM
i already got the most the part...
all thats left is when i run the application...
it says "Failed runtime error"
any idea how to solve this...
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: KLH on December 15, 2011, 02:23:15 AM
I thought I might be able to add something useful... I use VLC Media Player to encode my videos. It can resize the videos to 960x720 but it can't add the bars on the sides (as far as I know); YouTube says these bars aren't necessary and in fact should not be added (particularly to improve the experience of those using mobile devices), but I haven't yet been able to test how this applies in practice.

The main benefit that I know of for using VLC Media Player is that it is multithreaded (don't know about MeGUI+Avisynth). On my quad-core notebook, some of my videos actually encode faster than real time.

I also recommend Process Explorer for system performance monitoring. Task Manager looks like an unfinished product (read: shit) in comparison. Process Explorer provides much more information about almost every aspect of your computer's performance, including your CPU, GPU, Memory, I/O, Network and Drive usage.

More importantly, Process Exporer can easily set the process priority and processor affinity of your running processes; if you have a multicore system, you can can assign your recording program to one core and the Touhou program to another core, and then set the programs to Realtime priority (neither of which are possible in Task Manager). This will help reduce processing-based lag spikes. (Note that Fraps actually performs bad slight compression on recorded video unless the lossless RGB encoding option is selected).

Also, recording to a separate and unfragmented hard drive will greatly reduce any lag spikes caused by secondary storage system access (don't know if this has already been mentioned). Storage access lag can also be reduced by recording at 30 fps. Because YouTube automatically locks the framerate of any uploaded video to 30 fps, recording and/or transcoding at 60 fps is rather pointless. Transcoding a 30 fps video will allow a higher resulting quality for a given bitrate (which should probably be 10,000 kbps as a bare minimum).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on December 15, 2011, 10:06:52 AM
Yeah, Youtube does not need the black bars on the side for HD. This was an old necessity, and you can safely have a video at 960x720, and it displays very well. Even better for those of us who do not use a widescreen monitor (like me) because it isn't all squished in the middle. I encode all of my videos without bars.

Interesting thing about the lossless RGB though. When I have it checked, Fraps actually performs worse, most of the time. Though this computer sucks anyway so whatever. I can mess around with it more.

And as for 30 fps recordings, yeah, it's definitely better to do it this way. There's only one problem. Some stages of the Touhou games (namely, entering EoSD Patchouli fight) will re-lock the fps in-game to 30, even if using vsync. (pressing Ctrl does nothing) I don't have Fraps set to lock the fps, so I don't really know why this happens, so I have to use 60 fps in some areas. Just keep a note of that if that ever happens to you.

And as for me, I've reverted from using both VirtualDub and MeGUI, and just handle videos with VirtualDub, encoding them with H.264, resizing, and sharpening them. A scale of 5 for sharpening has so far looked good. Too high makes the video look bad. I'm still experimenting with it, but it looks to handle it better than MeGUI does. Still using Lame for the audio, just like MeGUI, just I pick CBR of 192. (because ABR of 192 does not exist) Also, media players seem to handle this format better than handling an mp4, and these finished videos are still in avi format. Not sure whether it makes a difference, but it definitely is easier to work with for me.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on January 04, 2012, 08:32:06 PM
Umm... I've been following this guide and it works perfectly, though the videos seem to come out slightly off-color. Does anyone know I could prevent that, or what's causing it in the first place?
Maybe this goes without saying, but it seems to be Megui that does it. They look normal when VirtualDub is done with them.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 04, 2012, 11:09:53 PM
Umm... I've been following this guide and it works perfectly, though the videos seem to come out slightly off-color. Does anyone know I could prevent that, or what's causing it in the first place?
Maybe this goes without saying, but it seems to be Megui that does it. They look normal when VirtualDub is done with them.
Are you using the Bicubic resizer? That may cause some issues, because it's not the best. What I used was this:

Lanczos4Resize(960, 720)
ConvertToYV12()

Quality and coloring is much better with Lanczos4. The only thing to note is that the red color will always be slightly off, even when I do my encoding with H.264 in VirtualDub.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on January 04, 2012, 11:23:34 PM
Well, it was Reimu's red looking orange that got my attention at first, I think most other stuff looks better, but I'll give what you said a shot. Someday I'm going to evolve from the stone age and actually learn about computers. >=V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on January 04, 2012, 11:51:52 PM
Unfortunately, red is one of the colors that get hit the worse with the YV12 (4:2:0) colorspace.  I'll have to do some more testing within the next day or two on this, but I have some ideas on how this could be mitigated somewhat, though with Youtube being the final destination for most videos it will likely still be off-color there.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on January 08, 2012, 06:29:14 PM
Lanczos4Resize(960, 720)
ConvertToYV12()
Well I finally got around to trying this, and Mugui said that ConvertToYV12() was missing, though of course it wasn't. I tried it again by just sticking the AddBorders(160, 0, 160, 0, 0) thing between those other two things, because I figured it wanted ConvertToYV12() in the "third spot" or something, and that seems to have worked. So should I have put a blank space or something instead, or does it make no difference, or... what?
Anyway, it's seems to be an improvement over the other way of doing it. The red is a bit more red and everything else looks a little clearer too.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on January 08, 2012, 09:13:26 PM
Well I finally got around to trying this, and Mugui said that ConvertToYV12() was missing, though of course it wasn't. I tried it again by just sticking the AddBorders(160, 0, 160, 0, 0) thing between those other two things, because I figured it wanted ConvertToYV12() in the "third spot" or something, and that seems to have worked. So should I have put a blank space or something instead, or does it make no difference, or... what?
Anyway, it's seems to be an improvement over the other way of doing it. The red is a bit more red and everything else looks a little clearer too.
It depends.  Newer versions of x264 don't require YV12 input (MeGUI might not support them, though...), but with the default settings it'll end up that way in the final encode.

If you have a very recent version of CCCP and a reasonably fast computer, take a look at this (http://dl.dropbox.com/u/1565165/cs_test.mkv) and tell me what you think of the colors.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on January 09, 2012, 05:31:12 PM
Well I don't know what CCCP is, so I don't think I have a recent version of it. I'm very clueless about this stuff really. :blush:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: MMX on February 06, 2012, 06:54:29 PM
I'm converting all my new videos the same way as described in this tutorial with lancoz resize, but why youtube does still crap the quality after uploading, even if it's H264 720p ??? Also uploaded videos run unsmoothly though i set bitrate to 5000.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on February 07, 2012, 08:20:56 AM
Your recent videos look great to me. (actually, I think they're better than mine) Youtube does adjust the fps though down to 30, so it's not going to be as smooth as the raw video if it was at 60 originally. I think I might have to play around with my settings again, try to get them to look better.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sen on February 19, 2012, 07:26:18 PM
Any tips on AVS script for MAME videos? I've just taken a cursory glance at AVS tutorials, so I'm not sure this is anywhere near correct:

Code: [Select]
LanczosResize(540, 720)
AddBorders(370, 0, 370, 0, 0)
ConvertToYV12()

Trying for a 240x320 video recorded with MAME's built in Record AVI Output function. Hoping this'll work.

EDIT: Well that did jack shit. Any ideas?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Barrakketh on February 22, 2012, 07:11:58 PM
What didn't work?  You probably want to use Lanczos4Resize, and don't use AviSource for input (I use FFMS2, but DirectShowSource might work).
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sen on March 05, 2012, 04:42:13 AM
What didn't work?  You probably want to use Lanczos4Resize, and don't use AviSource for input (I use FFMS2, but DirectShowSource might work).

Basically, nothing changed. Filesize was exactly the same (1.76GB for a two-minute video), and even after the eternity it took to upload, it wasn't in HD. This video went through the same thing (http://www.youtube.com/watch?v=rERGdytui-E) (I left it on overnight to upload), and while it doesn't look bad, it's certainly not HD. I'll try what you said, though.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dunamis Halberd on March 05, 2012, 01:35:29 PM
Err, I have some questions.
After I put the video in Video Input on AVS Script Creator, by which way I should open it?
One Click Encoder, File Indexer, or AVISource?
And I can't find the Edit tab anywhere... Where is the tab anyway?  ???
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on March 05, 2012, 06:20:37 PM
DirectShowSource, or AVISource, or whatever the third one is. I'm not sure what you mean by edit tab, but if it's to change the script it's near the top.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: I have no name on March 06, 2012, 05:09:14 AM
I recently switched over to using Fraps to record, and have been unable to get the audio to come out right.

Minoriko's theme in particular is mangled horribly.
Example: http://www.filedropper.com/whq (slowdown is me holding shift to make sure it goes through 1 loop)

Has anyone else seen this happen/how do you fix it?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: juon2nd on April 04, 2012, 08:23:46 AM
So I procured a small sized, decent quality mp4, but when I uploaded it to youtube it came out with only half the quality. What possibly went wrong?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Esper on April 05, 2012, 11:05:36 PM
Fraps lowers the FPS of every game before Mountain of Faith to around 30 no matter what I do. Can someone help?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Dunamis Halberd on April 22, 2012, 05:23:48 AM
I have problems with MEGui.
When I try to encode the video, the progress would stuck at "Preprocessing... **PLEASE WAIT*."
This never happened to me before. Have anyone encountered this kind of problem before?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Buu on April 24, 2012, 11:56:00 AM
I have problems with MEGui.
When I try to encode the video, the progress would stuck at "Preprocessing... **PLEASE WAIT*."
This never happened to me before. Have anyone encountered this kind of problem before?
Did you try waiting a bit? Sometimes I have to wait ~10 minutes before the actual encoding starts.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: cactu on May 09, 2012, 02:02:09 PM
I have a problem with Fraps, when I try to record Touhou on 30fps (game running on 60fps) it works fine for a few minutes, but then it suddenly slows down to 30fps in game and after a while it goes down to 5fps or so. I also can't fast forward replays when I'm recording with fraps. How do I fix this?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: MMX on May 09, 2012, 03:46:06 PM
Try to record it on 60 fps and convert to 30 later with VirtualDub.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 08, 2012, 09:45:47 AM
Got Fraps, but I can't figure out how to get it to record more than 30s continuously. I'm aware I can only do 30 second videos, but how do I get it to keep recirding on a new video as soon as 30 seconds passes?

And there's no sound. That's a little more important. <_<
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 08, 2012, 08:00:51 PM
30 seconds seems like an awfully short time. I thought it recorded 4GB segments, which I'd expect are longer than 30 seconds. Are you perhaps running out of space for bigger files?

e: Actually, it sounds like you have the trial version. I'm not sure how that works then.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 08, 2012, 08:19:02 PM
Indeed. Know of anything free that allows me to clearly record continuously one way or another? <_<
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 08, 2012, 09:05:57 PM
Hypercam 2 is free now. It hates my guts, but some people get good results with it. Maybe it'll work for you.

Other than that, I used to use the free version of something called Debut. The quality leaves something to be desired, but at least it's free. :V (It also came with a bunch of other goofy stuff.)

Then there's something else called Camstasia Studio or something. I don't know what the hell it's like, but there's probably a free version.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 09, 2012, 12:41:34 AM
Hypercam 2 is free now. It hates my guts, but some people get good results with it. Maybe it'll work for you.
Seems to work alright, but the issue of no sound persists. Do I need something special to be able to do that?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 09, 2012, 01:11:04 AM
I doubt you should need anything fancy. Sound never works when I try to use Hypercam, but it comes out fine with anything else.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 09, 2012, 01:14:29 AM
I never got Fraps to record sound either, I'm assuming you have. Any ideas?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on June 09, 2012, 01:22:32 AM
Fraps should be able to record via Record Win7 sound (or something similar). If not, below solution?

Hypercam does it a little differently from my view. It might be able to do something similar, but I've had to use my audio cable and plug it into the mic jack on the computer so the sound goes from the output to the input, though you can't hear anything this way unless you have a splitter. Though I can't do this anymore because my mic jacks magically died.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 09, 2012, 01:52:37 AM
A cable just going from green to pink? That's actually pretty smart, but again, I don't have one that can do that. :/

So is there no way to just have it grab whatever's playing automatically then?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: DX7.EP on June 09, 2012, 02:16:51 AM
FRAPS audio recording worked perfectly fine for me in Vista and 7. Haven't played in XP/2k3 though.

Some sound cards and sound modules (eg. some Creative cards and Realtek chips, Edirol SD-90, SC-D70) have an option to record whatever audio is being played at the current time. You will still have to set the audio input accordingly though.

The cable you want is a dual 3.5mm stereo cable (I call them line-in cables). Both ends will be standard headphone 3.5mm plugs - you can easily get them from electronics stores.

Also what about DXTory (http://dxtory.com/v2-home-en.html)?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on June 09, 2012, 02:53:14 AM
Looks like my sound card doesn't do that, and too lazy to go out and get a cable. Oh well, at least I tried.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 21, 2012, 10:10:26 AM
Erm, some of the images have gone blank, and a few are quite important for me, like the one underneath:
Quote
Click Config. Ignore most of the stuff, set the bitrate option at the top to something like 5000. The bitrate does not enable HD video, it just improves the quality once a standard has been set. I'm setting in to 10000 for lols.
I can't see what the image looks like, so I'm not sure what to expect here.  I've clicked config but can't see anything in the window which mentions 'bitrate', I see something like this:
(http://oi46.tinypic.com/2dqq0bn.jpg)
I've checked the other options, but haven't found anything to change the bitrate thing.

Have I missed something or am I just incredibly silly? :ohdear:   please be kind
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 21, 2012, 11:17:31 AM
[attach=1]
(click to expand pop-up)
click drop-down box and select the highlighted/marked option
then you can set your bitrate

(/note I really like the auto-resize so that I don't have to be picky with cropping)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 21, 2012, 11:23:04 AM
[attach=1]
(click to expand pop-up)
click drop-down box and select the highlighted/marked option
then you can set your bitrate

(/note I really like the auto-resize so that I don't have to be picky with cropping)
Oh I see, just tried it and it worked!
Thanks alot for helping :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 21, 2012, 10:57:54 PM
Hello again, sorry for the double post (not sure if it's allowed, didn't see anything about it in the rules, please merge my posts if it isn't).

I've been trying to test record gameplay on Touhou 6 with some commentary and found on all of my recordings that the background music completely drowned out my voice.
I can't seem to find anything in the config files or the in-game options to reduce the sound other than turning it off completely (which I would rather not do) and I have my mic as loud as it can be.   Aside from outright shouting, I can't find another solution around this problem.
Is there a method to reduce the volume of the Touhou 6 sounds, or make it so that my voice can actually be heard above it when live recording? (I'd rather not have to record my voice after taking the footage)

Thanks again! And sorry for the troubles  :ohdear:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 22, 2012, 01:47:52 AM
Theoretically, you could stop recording the sound directly from the game, and instead make the volume loud enough so that your mic picks it up on its own, along with your voice. Not sure what that would do to the quality though.

I think a double post is fine in a thread like this, since it might take ages for anyone to notice the question otherwise. :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LHCling on June 22, 2012, 01:58:00 AM
Open up Volume Mixer by right-clicking the speaker icon and selecting "Open Volume Mixer" from the selection box and you should be able to adjust the volume of your game, assuming that you're using Windows 7 which I think you are from the picture that you put up before.

(picture has been edited [taskbar pasted on top of the selection box] for clarity)
[attach=1]

to be honest i'm not even sure if the speaker icon is there be default, but i assume it is, if not then i guess i'll have to dig around hawhawhaw
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 22, 2012, 09:44:40 AM
Theoretically, you could stop recording the sound directly from the game, and instead make the volume loud enough so that your mic picks it up on its own, along with your voice. Not sure what that would do to the quality though.

I think a double post is fine in a thread like this, since it might take ages for anyone to notice the question otherwise. :V
Open up Volume Mixer by right-clicking the speaker icon and selecting "Open Volume Mixer" from the selection box and you should be able to adjust the volume of your game, assuming that you're using Windows 7 which I think you are from the picture that you put up before.

(picture has been edited [taskbar pasted on top of the selection box] for clarity)
[attach=1]

to be honest i'm not even sure if the speaker icon is there be default, but i assume it is, if not then i guess i'll have to dig around hawhawhaw
Oh, I see what you both mean, unfortunately I'm not using speakers and I'm recording the sound directly from the computer so as not the disturb my family as much (they can stand the talking, but not ZUN's music, which makes me a bit unhappy).
I guess if there's no way to reduce the game's music volume on the computer I could buy some speakers and do some persuading, thanks for the help yet again.  :)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: I have no name on June 22, 2012, 09:51:31 AM
Oh, I see what you both mean, unfortunately I'm not using speakers and I'm recording the sound directly from the computer so as not the disturb my family as much (they can stand the talking, but not ZUN's music, which makes me a bit unhappy).
I guess if there's no way to reduce the game's music volume on the computer I could buy some speakers and do some persuading, thanks for the help yet again.  :)
An alternative is to plug some headphones in and use them as speakers with the volume really loud.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 22, 2012, 04:27:03 PM
Baity's method should work. I just tried it out myself. Don't reduce the speaker volume; you want to reduce the game's volume. If the game is open, you can see it on the list there.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 22, 2012, 04:50:42 PM
An alternative is to plug some headphones in and use them as speakers with the volume really loud.
I tried that out, and it was a bit successful, although the sound quality wasn't too good  :blush:
Baity's method should work. I just tried it out myself. Don't reduce the speaker volume; you want to reduce the game's volume. If the game is open, you can see it on the list there.
Oh nice, that works! 
Unfortunately, I've been spending the past few hours going around the house finding a pair of speakers, and managing to get a general consent to play the music out loud, but now that I know of this method...  It'll definitely come in handy I guess  :3
I've been trying to record as well, although whenever I used 50 or 60 FPS on Fraps the game would lag and drop to around 46-53fps.  It seems to play the game at around 59-60fps when I record with 30fps, but I'm wondering if I'll be able to produce a good quality video from that   :wat:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on June 22, 2012, 05:12:27 PM
I'd record 30fps, personally. Especially if you're going to put it on Youtube or something, since Youtube reduces the framerate to 30 anyway, or so I've heard. In any event, the quality comes out fine.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Nindella on June 22, 2012, 05:15:27 PM
I'd record 30fps, personally. Especially if you're going to put it on Youtube or something, since Youtube reduces the framerate to 30 anyway, or so I've heard. In any event, the quality comes out fine.
Oh, thanks, that takes away alot of my worries :)
Nothing much else left to do but to practice live commentating and dodging skills!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SuccinctAndPunchy on June 29, 2012, 05:41:09 PM
Yeah, YouTube does convert stuff to 30FPS, so you might as well do it at 30FPS.

Hell, I've taken to dropping the FPS to 30 with VirtualDub not because of any specific need to but because it makes the file smaller and so takes less time to upload.

Out of personal curiosity, what do people normally do with their audio settings in VirtualDub? I normally have to change it to "Full Processing Mode" rather than "Direct Stream Copy" or whatever the alternative was because the audio comes out all skippy and shitty otherwise. Doesn't make a bit of difference since I've figured out a perfectly functional alternative method, I'm just wondering why that even happens in the first place.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on July 01, 2012, 12:27:25 AM
I do all my converting within VirtualDub now, so I have to set it to full processing mode. Originally, when I used MeGUI, I left it as direct stream copy and it worked out fine. It was MeGUI that was consistently breaking the audio for unknown reasons. (second try usually fixed it)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ImmortalNyanCat on July 05, 2012, 06:52:17 PM
Thanks for the tips! I'll try this out sometime
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chuckolator on July 06, 2012, 08:36:29 AM
My friend who records my videos for me is completely blocked at MeGUI.
Quote
There are specific instructions in the topic that are no longer accurate because the program has been updated and the interface has changed so I cannot figure out how to do what would've been simple years ago.

(I'm lost) beyond "At the moment, don't bother with much else unless you know what you're doing. Choose "Save as AVI". The rendering process takes a while to finish, so just wait it out."

+ an easy way to update the notorious neroaacenc file that doesn't auto update and causes a shit ton of problems
I'm completely unfamiliar with it, so I can't speak firsthand, but anyone else have an idea of anything to help?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SuccinctAndPunchy on July 06, 2012, 06:48:06 PM
Right now, I'm having a really bizzare issue that's only started recently. Whenever I try and encode anything with MeGUI it just hangs at the preprocessing phase and never progresses past it. I've left it going for well over an hour now and still fuck all has happened.

Additional problem is that I uninstalled AviSynth and tried to reinstall it and now I just get an error saying "Cannot write avisynthdll to C:WINDOWS\sytem32. I was told to delete the file straight from the system32 directory but Windows simply doesn't let me.

Something to that effect, I'm basically screwed with using MeGUI if I can't get AVISynth working.


Okay, it reinstalled properly, I just don't understand why. First problem however continues to persist and I've zero clue to go on here.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: cactu on July 10, 2012, 10:34:07 AM
I have a problem with Fraps, when I try to record Touhou on 30fps (game running on 60fps) it works fine for a few minutes, but then it suddenly slows down to 30fps in game and after a while it goes down to 5fps or so. I also can't fast forward replays when I'm recording with fraps. How do I fix this?
Does anyone know a fix to this? It seems like whatever I try, after a while the fps drops and I can't play at all. It's fine if I stop recording and start recording again, but after each time I do that the lag comes back sooner.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: fondue on July 14, 2012, 07:49:51 PM
we need a video tutorial  :getdown:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Bimbimbimbim on July 19, 2012, 04:04:37 PM
When i opened the replay recorded by Camstudio, It kept flashing while the game was on. Could somebody help me with this.
Thanks  :)
And by the way, I also need tutorial video.  :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on July 21, 2012, 07:04:23 PM
When i opened the replay recorded by Camstudio, It kept flashing while the game was on. Could somebody help me with this.
Thanks  :)
And by the way, I also need tutorial video.  :V
What do you mean by flashing?

And I might make a tutorial video soon here. Low on HDD space right now, like really low, so I'd have to figure out how to clear that out again.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: fondue on August 02, 2012, 08:17:27 PM
Actually TBH I wasn't joking about the tutorial request. I had so many problems there's actually no point in listing and explaining them.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Piranha on August 08, 2012, 11:23:12 PM
My friend who records my videos for me is completely blocked at MeGUI.I'm completely unfamiliar with it, so I can't speak firsthand, but anyone else have an idea of anything to help?

You have to chose AviSource to open the file for the script (in megui #2153), then just proceed like Drake said. Also the Edit tab is now named Script. These are about the only changes I've seen, and the rest of the process works out fine that way.

Edit: I have some problems with recording at 30 fps , unfortunately. If I use Fraps with the Full-size option , the ingame fps are locked at 30, and if I take the half-size option, I get an upscaled 240p-video as end result, which looks...not HD! (http://www.youtube.com/watch?v=IzsQa7uUM_M&feature=youtu.be)

I also tried CamStudio and Hypercam, but both are lagging significantly stronger in the recorded footage than ingame when recording...Any tips for relieving some stress from the machine/using the recorder optimally?

Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on August 09, 2012, 12:01:48 AM
Does the process really need to be that complicated?

I just record with HyperCam 2 at 30fps, edit with VirtualDub if I need to clip/merge videos (if so, set the codec again before saving), and upload; this video (http://www.youtube.com/watch?v=sHhVq-by0Ww) shows the quality I managed to achieve. To enable YouTube's "720p HD" option, resize the game window to something proportionally larger such as 1024x768 (use the vsync patch for the older games that don't give you multiple window sizes) before recording.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Piranha on August 09, 2012, 02:00:56 PM
Got Hypercam 2 to work properly and recorded the same stage again with 30 fps. It worked out pretty decent this time.
http://www.youtube.com/watch?v=bkQhB1fetBM&feature=g-upl (http://www.youtube.com/watch?v=bkQhB1fetBM&feature=g-upl)

There is also a nifty little trick to avoid audio desync when recording with 30fps. (http://www.youtube.com/watch?v=2xrNThh_9Bs)

Edit: Why is there no HD option on this video (http://www.youtube.com/watch?v=cMGKohHOkIY&feature=g-upl)?  :(
I used the exact same script like with the second test video. Resolution and everything else is also nearly identical to the other video.

Nevermind, HD option is now usable.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Oh on August 11, 2012, 02:31:13 AM
How do you make your voice louder when recording with Fraps? I tried turning game volume down but the resulting loudness is the same as before (15%bgm vs 90%bgm, my voice is barely heard either way).
Thanks in advance
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on August 11, 2012, 02:39:07 AM
Open up Volume Mixer by right-clicking the speaker icon and selecting "Open Volume Mixer" from the selection box and you should be able to adjust the volume of your game, assuming that you're using Windows 7 which I think you are from the picture that you put up before.

(picture has been edited [taskbar pasted on top of the selection box] for clarity)
[attach=1]

to be honest i'm not even sure if the speaker icon is there be default, but i assume it is, if not then i guess i'll have to dig around hawhawhaw
I think this is the answer to your question. Changing the volume "in-game" does nothing.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Oh on August 11, 2012, 02:47:24 AM
Sorry, I'm using Windows XP, SP3 if that matters, and I cannot use volume control to directly control game volume
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on September 09, 2012, 08:17:12 AM
I'm trying this right now and it's going fine up to the first Config. I can't seem to find the bitrate option. The picture that's probably supposed to display it is blacked out and I can't see an option at the top like the tutorial mentions. I browsed through the advanced settings too, but I'm still not finding anything...

EDIT: mkay nevermind, found it.
EDITEDIT: Well, good part is, I figured out how to upload a video for the first time ever. (http://www.youtube.com/watch?v=mCpxJw9c6Hc) It's of TD Normal, stage 1, for testing purposes.

I'm happy with the file size, which decreased by a factor of fifty.
The quality, however, while it's quite a notch up from 240p, still isn't quite up to HD levels.
What do I do about that  then? I followed the tutorial exactly.

Nevermind, a 720p option suddenly popped up. Huzzah! Now I can finally let people see cool stuff and shamelessly brag about it!

Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: fondue on September 19, 2012, 12:28:46 PM
use dxtory dammit
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sakurei on November 03, 2012, 10:31:23 PM
alright, 2 things I need help with.

1. I record with fraps. fraps means goddamn huge lag. kanako's cards go down all the way to 45 fps. any way to make it stay at 60 better?

2. I followed the instructions, but my video (the test video, duh) didn't get the delicious 720 p option. so yeah, this is what it looks like. not cool.

http://www.youtube.com/watch?v=s3CS4jduiXw&feature=plcp FOR THOSE INTERESTED ENOUGH TO WATCH HORRIBLE 480 P MOF STAGE4. you can see lagspikes here and there and well, yeah. quality problem.

help would be appreciated.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on November 04, 2012, 02:39:18 AM
Regarding Fraps, are you recording at 30fps (without it locking the game to it)? No need to record at any higher, YT converts it down. That might solve some of the lag. Also, if you're using lossless RGB capture, turn it off, it is slower.

As for the 720p, are you sure you followed the instructions? Check your finished video and see if it has the right dimensions. (960x720) There isn't much that can go wrong otherwise. (besides YT being stupid with their converters)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: fondue on November 05, 2012, 01:46:25 PM
With spells that use add blending, such as Miko's last spell. Fraps SUCKS at that.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sakurei on November 07, 2012, 03:57:28 PM
on closer inspection, I seem to have had some differences in my steps. hurr durr, I'll get to it in a second and explain why I did what I did.

as for recording lagg: thanks, that fixed it. I indeed recorded at 60 fps. now the recording runs smoothly on everything I tried it. (that is: every perfect run I've ever had :v)

now, things I did differently: I skipped the whole virtualdub part, because I record my things in one piece and don't split them. (I don't think that caused it)
2. after opening script creator, I put in my avi file, as told, but the I get an option in which I have to choose 1 out of 3 "editing" tools. those are "one-click encorder", "File indexer" and "Avisource". I assumed the one I had to open was avisource, because that was the only one that opened a preview window.
3. I never found an edi menu and did my best to follow what was said (like making scrachpad mp3 and blah, blah.) I also never found the placeholders. I assume this is where everything went wrong. I also cannot resize my videos, apparently. or maybe I am too stupid for that. who knows.
4. neutral sharp soft part - no idea.

I think that's it :V here is what my script creator looks like. my version is 2.5.8, if that's important. downloaded the latest shit :V  http://www.abload.de/img/unbenannt3k3jy5.jpg
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on November 07, 2012, 04:36:55 PM
3. I never found an edi menu and did my best to follow what was said (like making scrachpad mp3 and blah, blah.) I also never found the placeholders. I assume this is where everything went wrong. I also cannot resize my videos, apparently. or maybe I am too stupid for that. who knows.
here is what my script creator looks like. my version is 2.5.8, if that's important. downloaded the latest shit :V  http://www.abload.de/img/unbenannt3k3jy5.jpg
Where it says "Script" in the upper right, click that. It takes you to a screen with the placeholders that have # in front of them. Replace them with the stuff Drake said, and it should look like this. (http://oi47.tinypic.com/nn2kiv.jpg)

I used what Agent of the BSoD recommended a few pages back instead of what Drake originally said since the colors seem to come out better. Make sure there aren't empty lines or spaces where there shouldn't be. But yeah, I'm pretty sure that's what resizes it, and you need that to get 720p. Probably what you were missing.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sakurei on November 08, 2012, 03:00:01 PM
alright, it fixed things. I can now upload 720p videos :v takes me 2 1/2 hours, though. for extras, at least. well, better than nothing. may be just the slow internet today.

can't choose a thumbnail, though, for some reason so everyone will forever have to live with standard youtube gray thumbnail :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on November 10, 2012, 07:57:09 AM
Yeah, the way that MeGUI does it is that it encodes the videos twice, which is kinda stupid, and thus the colors (mostly red) get changed. Doing it all in VirtualDub seems to allow better color quality and better control in my opinion. (my video players like it better when done in VirtualDub) Plus, MeGUI has been fussy for me in the past. Now what would be really cool is getting a video to look amazing in HD. Like those near-crystal clear videos that you occasionally find on Youtube. I think they're using pro video development programs for those or something, which cost a lot, as I've never been able to get VirtualDub to make videos look that clear. (though maybe using 1080p would help)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on November 24, 2012, 09:57:00 AM
Since the OP is dated December '09, I'm assuming there are better ways to record & upload Touhou these days. Can someone give me a quick run-through of the best programs / methods? I shouldn't run into any limitations with my system so go nuts.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 05, 2012, 02:17:05 PM
My 10 minute videos are like 400mb at mp4 and YouTube won't upload them. Is that considered waaaay too much?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Jaimers on December 05, 2012, 03:00:06 PM
Just a heads-up.
If you're still making your videos while adding the black borders, i.e. this line:
Code: [Select]
AddBorders(160, 0, 160, 0, 0)Then you should stop doing that.
Youtube now has this thing where this will fuck up the aspect ratio of your video if you watch it via full-screen.

Is that considered waaaay too much?

It shouldn't be I think. My 14 minute video is 500.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 05, 2012, 09:44:29 PM
I think... the size isn't the problem. The uploader works fine... until it freezes at random intervals. I read up on it and the problem is most likely that my internet loses connection for a split second once in a while. ... I don't really know what to say.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sakurei on December 05, 2012, 09:47:07 PM
that shouldn't be a problem, either! when I uploaded my perfect koishi run, my connection died for like 3 hours when I reached 85% on the upload. once I got my connection back it continued where it stopped. had this on other things, too. the span on the koishi one was simply longest.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 05, 2012, 09:48:19 PM
Well I'm pretty sure I'm connected right now and I sure don't see that 97% moving much. :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 05, 2012, 10:00:22 PM
Okay, nevermind, re-uploaded (even with a different browser) and it froze at 97% AGAIN. The other, longer one kept freezing at 47%. This one is only, like, 100mb. What would cause something like this?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on December 05, 2012, 10:15:29 PM
That used to happen to me too. I think if you just wait it'll end up working eventually. It's especially common for it to stop at 95% for me. Try leaving it going overnight and if it's still not done then I guess there's an issue.

Some of PoDD uploads were over 2GB, btw. I doubt the size is the issue.

Also, since youtube remembers its progress if the upload is interrupted, different uploads may return to the same spot and seem to stick there if it never got past it before.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 05, 2012, 10:30:52 PM
It sure did start from scratch three times in a row.

I'm pretty sure the basic uploader will do the trick, though.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: JerichoDeath on December 11, 2012, 06:36:22 AM
Code: [Select]
AviSynth Script Error:
Script Error: Invalid Arguments to function "BicubicResize"

^- What the heck is this?
I've never had this problem before.
Please Help.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Kenta Kurodani on December 11, 2012, 05:22:17 PM
If you are able to find a copy, I recommend the program Bandicam. It does the same thing as Fraps, but compresses the final file, so that you do not have to deal with gigabyte size files.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 18, 2012, 06:01:30 PM
Today I tried out VirtualDub to patch two videos together as the tutorial suggested, using "Append AVI segment" and subsequently saving the result as AVI. This process took 45 minutes.

The end product was four times as large as the two videos separate. Upon watching, the video stuttered incontrollably: it was as if there were about three frames of nothing patched in between every two original frames. Of course this was not suitable for uploading to Youtube.
Additionally, when I tried to create an AVI script with the result in MeGUI, it stops the process and informs me that an empty frame has been encountered.

Does anyone know what the cause of this could be?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on December 19, 2012, 02:27:34 AM
The end product was four times as large as the two videos separate. Upon watching, the video stuttered incontrollably: it was as if there were about three frames of nothing patched in between every two original frames.
This much is normal, at least. I don't know about the problem with Megui. The best I could tell you is to try appending the videos again and see if the same problem arises. If it happens every time, then I have no idea, though I guess you try recording again to see if the problem is with the recording rather than VirtualDub. If it turns out it was just a fluke then... huzzah!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 20, 2012, 09:32:10 PM
Today I tried out VirtualDub to patch two videos together as the tutorial suggested, using "Append AVI segment" and subsequently saving the result as AVI. This process took 45 minutes.

The end product was four times as large as the two videos separate. Upon watching, the video stuttered incontrollably: it was as if there were about three frames of nothing patched in between every two original frames. Of course this was not suitable for uploading to Youtube.
Additionally, when I tried to create an AVI script with the result in MeGUI, it stops the process and informs me that an empty frame has been encountered.

Does anyone know what the cause of this could be?
Do your original two videos play just fine? If yes, then it might be a VirtualDub encoding problem seeing as how MeGUI spits an error at you.

Code: [Select]
AviSynth Script Error:
Script Error: Invalid Arguments to function "BicubicResize"

^- What the heck is this?
I've never had this problem before.
Please Help.
And no one responded to you, but if you're still around and still have the problem, mind posting your AviSynth code?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 21, 2012, 07:11:34 AM
Do your original two videos play just fine? If yes, then it might be a VirtualDub encoding problem seeing as how MeGUI spits an error at you.

The original videos played just fine; one of them is uploaded to my Youtube Channel and it goes without a hitch.
VirtualDub didn't give me any error notices though.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 21, 2012, 05:51:12 PM
The original videos played just fine; one of them is uploaded to my Youtube Channel and it goes without a hitch.
VirtualDub didn't give me any error notices though.
Try appending the two videos together using an AviSynth script. If you don't know how, open up notepad, and copy this code into it, changing filepathhere and filenamehere to their actual counterparts. Oh, and make sure to keep the quotes:

Code: [Select]
clip1 = AviSource("C:\filepathhere\filenamehere.avi")
clip2 = AviSource("C:\filepathhere\filenamehere.avi")

video = clip1 + clip2

return video

Now save that as something like "TestVideo.avs" (without the quotes. Also make sure notepad doesn't save it as something dumb like "TestVideo.avs.txt"). Double click it and see if it plays in the Windows Player or MPC or something without a hitch (it should since you installed AviSynth). If it works, then it's probably a VDub encoding problem.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 21, 2012, 09:45:10 PM
Nevermind it all, turns out I was forgetting to select "Direct Stream Copy", which decompressed the entire thing. Silly me  :V
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 22, 2012, 10:22:21 AM
Alright, another possible issue!
My most recently uploaded video (Right here (http://www.youtube.com/watch?v=xYplKRv7ghI)) doesn't seem to have a 720p option, or at least it isn't displaying for me. It's made in the exact same manner as my other videos, which plainly have an HD option,  but this one doesn't for some reason. What may the problem be? Is it because of the length?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 22, 2012, 07:28:57 PM
Alright, another possible issue!
My most recently uploaded video (Right here (http://www.youtube.com/watch?v=xYplKRv7ghI)) doesn't seem to have a 720p option, or at least it isn't displaying for me. It's made in the exact same manner as my other videos, which plainly have an HD option,  but this one doesn't for some reason. What may the problem be? Is it because of the length?
Youtube only gives you the 720p option if you uploaded the video with a vertical length of 720 pixels or higher. Double check if you upscaled the video.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 22, 2012, 08:53:44 PM
Uh, does anybody know how to get to the Basic Uploader these days? I can't find it since the new update to the site and it was my only way to upload without shit getting stuck halfway.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 22, 2012, 09:46:32 PM
Youtube only gives you the 720p option if you uploaded the video with a vertical length of 720 pixels or higher. Double check if you upscaled the video.
Hmm, you're right, it's in a smaller size than the other Touhou vids. But I did the exact same thing...
Where may the "upscaling" part of the equation be then? I'll double check it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 23, 2012, 02:24:13 AM
Hmm, you're right, it's in a smaller size than the other Touhou vids. But I did the exact same thing...
Where may the "upscaling" part of the equation be then? I'll double check it.
It's the part in the guide where you put this in:

BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 23, 2012, 05:50:39 AM
It's the part in the guide where you put this in:

BicubicResize(960, 720, 0, 0.5) # Bicubic (Neutral)
Yes, it turned out that that was the problem. The coding had vanished entirely. I was fooled because it still gave me a window saying "Successfully converted to YV12". Thanks a lot!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Sakurei on December 23, 2012, 05:54:58 PM
BT as far as I know, the basic uploader was removed, I couldn't find it either and assume they just removed it because YT staff is a bunch of dicks who remove anything useful.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: BT on December 23, 2012, 07:10:59 PM
So I guess I'm stuck unable to upload anything longer than 30 seconds. Unless someone knows a fix to the eternal_freeze_that_always_always_happens problem?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 23, 2012, 11:19:06 PM
So I guess I'm stuck unable to upload anything longer than 30 seconds. Unless someone knows a fix to the eternal_freeze_that_always_always_happens problem?
Have you tried using other browsers? If not, then you can always download a software to upload videos onto Youtube without using the webpage itself.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 24, 2012, 02:58:59 PM
Here I am again! More shenanigans with VirtualDub this time.

I recorded a video, but accidentally my program got deselected because my key remapper acted up. This broke off recording. Afterwards I recorded another video redoing the missed part and attempted to merge them together.
It was somewhat successful, but not entirely:
In regular viewing (Windows Media Player) there are a couple of seconds of frozen frames when the game was deselected. In VirtualDub, they don't show up. The corresponding talking that I did during that period doesn't show up either... that is, until I append the one segment with the other. When I did this, the lost audio reappeared. However, the frozen frames did not. Thus the entire audio from that point onward is desynced by four seconds.

I'm fairly sure I can get around this by pasting a few seconds of static screen in between with Live Movie Maker, but I'm still curious how this could've happened.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on December 24, 2012, 08:08:58 PM
Here I am again! More shenanigans with VirtualDub this time.

I recorded a video, but accidentally my program got deselected because my key remapper acted up. This broke off recording. Afterwards I recorded another video redoing the missed part and attempted to merge them together.
It was somewhat successful, but not entirely:
In regular viewing (Windows Media Player) there are a couple of seconds of frozen frames when the game was deselected. In VirtualDub, they don't show up. The corresponding talking that I did during that period doesn't show up either... that is, until I append the one segment with the other. When I did this, the lost audio reappeared. However, the frozen frames did not. Thus the entire audio from that point onward is desynced by four seconds.

I'm fairly sure I can get around this by pasting a few seconds of static screen in between with Live Movie Maker, but I'm still curious how this could've happened.
I'm going to guess that the "frozen frames" you see in WMP aren't actually captured; rather they're just leftovers from the very last frame displayed. So basically you have no video data during those few seconds. VirtualDub sees that there's no video data, and just excises it automatically (for whatever reason). However, when you append segments, VirtualDub treats the video and audio clips separately, and does an Unaligned Splice, which adds the sound tracks end to end and the video tracks end to end. Since the audio track on your first video is longer than your actual video, you have the desync. Though there should also be either audio that's cut off at the end of your final video, or I guess 4 seconds of no video while the rest of the audio plays.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: SirChaotick on December 25, 2012, 08:18:49 AM
I'm going to guess that the "frozen frames" you see in WMP aren't actually captured; rather they're just leftovers from the very last frame displayed. So basically you have no video data during those few seconds. VirtualDub sees that there's no video data, and just excises it automatically (for whatever reason). However, when you append segments, VirtualDub treats the video and audio clips separately, and does an Unaligned Splice, which adds the sound tracks end to end and the video tracks end to end. Since the audio track on your first video is longer than your actual video, you have the desync. Though there should also be either audio that's cut off at the end of your final video, or I guess 4 seconds of no video while the rest of the audio plays.
Indeed the end bit is cut off. I should be able to patch it up though.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: fondue on January 04, 2013, 11:56:41 AM
Questiano here. Do touhou videos have to be at ~600x800 to look good like this (http://www.youtube.com/watch?v=Rje5jyVRSy8), ir can they be widescreen videos to look good like this (http://www.youtube.com/watch?v=GoCKD2AGIU4)? The widescreen one looks normal to me but the 600x800 one looks... so... distorted. Or should I go with whichever one I'm more comfortable with (which the one I'd slightly prefer is the one that pleases viewers)?
I also realised the screen resolution is, like, say, an illusion on the computer, but the real one you can record with. Is my hypothesis correct?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on January 04, 2013, 10:49:14 PM
I think 13.5 is already widescreen, so it's not a good comparison.

All the Windows games I've recorded should be 640x480, or some multiple of that (I've been using vpatch to scale to 1024x768 from my perfect Flandre video onward, which may or may not help compensate for YouTube's potential loss of video quality when it converts the video). If 640x480 looks distorted, and the game isn't 13.5/PC-98, it's probably because you've been mainly playing the game in a full-screen mode that stretches it.

...Speaking of recording, I have an issue of my own: I recently got a new computer and installed Windows 7 on it. I can't seem to find the "Stereo Mix" input setting that as far as I know I need to record sound with screen capture. The only sound input option that appears is the microphone, even after enabling "Show Disabled Devices? and ?Show Disconnected Devices". Any idea what I can do?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on January 05, 2013, 03:59:43 AM
Questiano here. Do touhou videos have to be at ~600x800 to look good like this (http://www.youtube.com/watch?v=Rje5jyVRSy8), ir can they be widescreen videos to look good like this (http://www.youtube.com/watch?v=GoCKD2AGIU4)? The widescreen one looks normal to me but the 600x800 one looks... so... distorted. Or should I go with whichever one I'm more comfortable with (which the one I'd slightly prefer is the one that pleases viewers)?
I also realised the screen resolution is, like, say, an illusion on the computer, but the real one you can record with. Is my hypothesis correct?
You always, always, always want to record at the game's preferred resolution (otherwise you'll also be recording blank space) and then upscale it with a fixed aspect ratio to upload it. For most Tohou games, the preferred resolution would be 640x480, and upscale it to 960x720 so Youtube lets you play it in HD.

...Speaking of recording, I have an issue of my own: I recently got a new computer and installed Windows 7 on it. I can't seem to find the "Stereo Mix" input setting that as far as I know I need to record sound with screen capture. The only sound input option that appears is the microphone, even after enabling "Show Disabled Devices? and ?Show Disconnected Devices". Any idea what I can do?
"Stereo mix" only exists in some audio drivers and not others. If you don't have it, then there isn't really anything you can do to enable it as far as I know. You're going to need to install a program like Virtual Audio Cables to do what stereo mix did, or alternatively you can record your voice separately and add it over the game audio. If you're doing live streaming, then you're going to want VAC.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on January 05, 2013, 04:30:13 AM
"Stereo mix" only exists in some audio drivers and not others. If you don't have it, then there isn't really anything you can do to enable it as far as I know. You're going to need to install a program like Virtual Audio Cables to do what stereo mix did, or alternatively you can record your voice separately and add it over the game audio. If you're doing live streaming, then you're going to want VAC.
Um, what does voice have to do with any of this? I thought the point of "Stereo mix" was to record the game audio directly, to avoid the problems of a microphone (like lowered sound quality and the need to be in a quiet room)?

And if it only exists in some audio drivers, is it possible to replace the audio driver? If it's relevant, my computer is a new MacBook Pro, running Windows 7 via Boot Camp.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: KLH on January 05, 2013, 04:39:25 AM
Um, what does voice have to do with any of this? I thought the point of "Stereo mix" was to record the game audio directly, to avoid the problems of a microphone (like lowered sound quality and the need to be in a quiet room)?

And if it only exists in some audio drivers, is it possible to replace the audio driver?
Stereo Mix provides as recording input all sounds that are played by the audio hardware. Essentially, you can record any sound being played by the computer. However, this means that you may accidentally capture sounds played by other programs outside the game if they are not already muted.

Voice is only recorded through Stereo Mix if your driver is set to play back recorded audio in real-time, so if your driver doesn't do this or if you have disabled this functionality, then it is indeed not an issue.

Replacing the audio driver is a possibility, but this means you will either have to find a hacked driver or modify the driver yourself.


My Fraps installation is set to automatically detect the best sound input, which sets the input source to Vista Direct Stream. Does your installation do this?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on January 05, 2013, 05:29:40 AM
My Fraps installation is set to automatically detect the best sound input, which sets the input source to Vista Direct Stream. Does your installation do this?
I've been using HyperCam 2, which I don't believe automatically detects the sound input (image (http://i1230.photobucket.com/albums/ee487/KarisaMirisame/hc2w7-1.png), the only other option is "Microphone (CS4206" [sic]). As far as I can tell, both from some random searches and my previous (successful) attempts at getting it to work in Windows XP, you need to select the sound input somewhere in the computer settings (in Windows 7, "Manage audio devices" in the control panel, "Recording" tab). However, as I said, it doesn't seem to exist (http://i1230.photobucket.com/albums/ee487/KarisaMirisame/hc2w7-2.png).

Oh, by the way, as I thought, "Default sound recording device" records from the microphone, which not only picked up traces of a conversation that was going on outside, but included an annoying tapping sound effect in the recording every time I pressed a key.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Tsym on January 05, 2013, 07:27:41 AM
I've been using HyperCam 2, which I don't believe automatically detects the sound input (image (http://i1230.photobucket.com/albums/ee487/KarisaMirisame/hc2w7-1.png), the only other option is "Microphone (CS4206" [sic]). As far as I can tell, both from some random searches and my previous (successful) attempts at getting it to work in Windows XP, you need to select the sound input somewhere in the computer settings (in Windows 7, "Manage audio devices" in the control panel, "Recording" tab). However, as I said, it doesn't seem to exist (http://i1230.photobucket.com/albums/ee487/KarisaMirisame/hc2w7-2.png).

Oh, by the way, as I thought, "Default sound recording device" records from the microphone, which not only picked up traces of a conversation that was going on outside, but included an annoying tapping sound effect in the recording every time I pressed a key.
Oh, sorry, I assumed you wanted to do game + voice commentary at once since that's what I always used stereo mix for. In any case, screen capture programs should have an option to record from the speakers and not from the recording devices. I don't know why Hypercam 2 doesn't have that option. You could look around for another program that can capture Windows sound like Fraps, Camstudio, or UltraVNC, or you can get the VAC that I mentioned above. If the stereo mix option doesn't exist, then as I said before, your audio drivers/card don't support it, and there's not too much you can do about it since most audio cards are built into the motherboard nowadays. It's pretty stupid, and there really isn't too much you can do about it other than try VAC or try another recording program.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 05, 2013, 10:08:22 AM
The Stereo Mix is from the Realtek sound driver. Now the one issue you're going to have is that you have a MacBook Pro. It does not have a Realtek card, so the drivers wouldn't work properly anyway. You're probably stuck as it is. You can try installing the drivers anyway and see what happens. (I don't have stereo mix either, and since my card/box/thing isn't a realtek card, so the drivers didn't work properly) Fraps is good here because you don't need the Stereo Mix. It just records the sounds anyway.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on January 05, 2013, 10:59:42 AM
So my previous computer had a Realtek sound card, even though it was also a MacBook (just a much older one)?

This is way more complicated than I anticipated. I thought getting a gift of a new computer meant I finally had a solution to my MS Extra recording slowdown issues, not cause additional recording issues. And I can't rely on the ability to keep using the old one, either, because the monitor is nearly broken.

Anyway, I just tried out Camstudio, which appears to have an option to record from speakers. Except setting it to that gave me a "WaveoutGetSelectControl() failed." error, then it still recorded from the microphone, and reverted to the microphone setting when I closed and reopened it (other settings were saved).

Additionally, it resulted in a huge file (149MB for 3 minutes, I normally expect 300-450MB for a full 1cc) which took several minutes to process after the recording stopped. I checked the compression settings but there seem to be only three available codecs, not including the ffdshow codec I've been using (which still works in HyperCam 2 verifying that it was reinstalled correctly), or even the Camstudio Lossless codec from the same site that I tried installing to see if it'd show up.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Zil on January 05, 2013, 01:36:41 PM
Well, if it's come down to just trying different video capture programs until you find one that works, I used to use one called Debut that was always quite reliable, even when Camstudio would cause extreme levels of slowdown. It has a free version that can be used indefinitely. I can't make any promises about the quality though. (This (http://www.youtube.com/watch?v=emhiuGEe2Mk) is something I recorded with it, for example.)

I would say you could just buy Fraps and use that but I guess I'm born under some magical star that allows it to recognize Anex's window.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 05, 2013, 11:57:18 PM
CamStudio is kinda dumb. I've used it before, and have had the exact same problems you've described. Though, the list of codecs that I have is a bit larger than yours. Fraps's problem is not being able to record PC-98 games since they don't use the same video output format that Fraps tries to find. You're pretty much forced to use some other program to record those games.

And that's interesting that the Realtek driver worked with another MacBook. I don't remember Apple using Realtek cards in their computers. It might have just been able to handle it from BootCamp stuff?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Karisa on January 06, 2013, 09:48:33 AM
How do I find out what sound card/driver my computer has?

And my primary purpose for a screen capture program is to record all my PC-98 attempts. Not just for YouTube, but it's really helpful to be able to look back at your own gameplay. (Then again, I can still look back at my own gameplay using HyperCam even if it's recording though the microphone, so that isn't an issue, but I still like to have my PC-98 scores available for others to watch.)

(This (http://www.youtube.com/watch?v=emhiuGEe2Mk) is something I recorded with it, for example.)
Looks fine to me... other than that there might be some minor sound desync, but I can't quite tell.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 06, 2013, 08:18:41 PM
It really isn't said what type of audio card they use. The official specs just say it's a built in audio device. There's no harm in trying a driver that doesn't work. If it doesn't give you what you want, just revert back.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Burning Love on November 10, 2013, 03:01:22 AM
I have a question. Do you guys ever having problems with audio not syncing when live recording? I've been trying to record my video while playing and the sound always goes off (around 15 seconds up to 1 minutes earlier). Is there any solution?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on November 15, 2013, 03:13:32 AM
I have a question. Do you guys ever having problems with audio not syncing when live recording? I've been trying to record my video while playing and the sound always goes off (around 15 seconds up to 1 minutes earlier). Is there any solution?
The only time I've had audio desyncs is when using HyperCam, but that's only by a few frames of desync, not even 1 second. What recording software are you using? Usually, if there's an audio desync, VirtualDub will notice it and prompt you to correct it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Burning Love on November 16, 2013, 04:31:16 AM
The only time I've had audio desyncs is when using HyperCam, but that's only by a few frames of desync, not even 1 second. What recording software are you using? Usually, if there's an audio desync, VirtualDub will notice it and prompt you to correct it.

I'm using Hypercam for recording (the video in avi format), and gimped the video into mp4 file using Handbrake software. I might try using VirtualDub as suggested if the desync happens again.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on January 26, 2014, 10:13:53 PM
Could I get a poll of which video recording programs people are using?  I spent the day cycling through several different free programs, but none of them measure up for one reason or another, and while I'm not opposed to purchasing one I'm skittish about putting $40 down on a program that may turn out to be unsuitable.

(If it matters, I'm primarily interested in Danmakufu.)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 26, 2014, 11:10:37 PM
I use Fraps right now, but I've heard people talking about some software being better than it now.

This thread has an overview of 5 of them. (the one in the #1 spot being free and I may look into it)
http://www.vaultf4.com/threads/game-recording-fraps-vs-bandicam-vs-msi-afterburner-vs-dxtory-vs-playclaw.433/
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on January 28, 2014, 02:02:53 AM
I gave MSI Afterburner a try, and it worked impressively with full-screen and full-frame settings.  I did get some slowdown in the same places you normally see slowdown in existing videos (loading bosses, loading stages, very large numbers of bullets being created at once while two dozen enemies attempt to ram your hitbox) but it's still vastly preferred to the alternatives.

With that said, MeGUI doesn't like what results, yielding the following error when attempting to upload it with the AVS Script Creator:
Quote
"FFVideoSource: Insanity detected: decoder returned an empty frame"
Looking up the error results in suggestions to update FFMS.  I doubt that's the issue, though - I'm reasonably sure that I have the latest version in 2.19 (20130917).  What should I do next?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 28, 2014, 05:11:36 AM
I don't use MeGUI anymore, I didn't like what it did with colors among other things. I do all my encoding currently within VirtualDub with H.264. I find it yields better results.

And as for me, I've reverted from using both VirtualDub and MeGUI, and just handle videos with VirtualDub, encoding them with H.264, resizing, and sharpening them. A scale of 5 for sharpening has so far looked good. Too high makes the video look bad. I'm still experimenting with it, but it looks to handle it better than MeGUI does. Still using Lame for the audio, just like MeGUI, just I pick CBR of 192. (because ABR of 192 does not exist) Also, media players seem to handle this format better than handling an mp4, and these finished videos are still in avi format. Not sure whether it makes a difference, but it definitely is easier to work with for me.

I may write up the steps I take now if that may be useful to others. IMO the videos after being uploaded look way better using only VirtualDub than when encoded using MeGUI.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on January 29, 2014, 02:06:48 AM
Depending on how this works out I may type up a guide myself, what with starting from nothing three days ago.

Okay!  I have 2.78GB and 47s of .avi to test, resized to 720x540, sharpened by 5, and with freshly imported LAMEness.  This leaves the following questions--

1) Don't you run into size problems somewhere by leaving files as .avi?  YouTube apparently imposes a 20GB limit on file size, and if my not-even-a-minute file is over 10% of that then I foresee problems with any substantially long video.

2) Assuming that the file does need to be converted to .mp4, which program should be used?  MeGUI still crashes on the file and searching "convert avi to mp4" yields a sizable list of different sketchy applications from different sketchy websites.

3) Given that I prefer e-nonymity and thus want nothing whatsoever to do with Google+ and its mandated naming convention, do I even want to use YouTube?  If not, where should I go to host the video?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on January 29, 2014, 02:48:10 AM
That's a peculiar video resolution. Why are you using that size? That won't even grant you 720p. If that's what you were trying to achieve, you got the calculations mixed up. Video size is calculated by height, not width. If you want to make a 640x480 video become HD in Youtube, you want 960x720 as the result. (also, a good idea is that you should keep around the original, non-encoded video until after you check your video on Youtube, because once in a while, Youtube decides to be dumb and bork the video, resulting in various things like crackling sound and that gray coloring effect at the beginning of some videos. Usually encoding the video again will fix it, even if you do the exact same method you did before)

As for your questions, I'll answer these as best I can.

1) I don't have size problems at all. The fact that they're being encoded means their size is being reduced. If your recording software records videos without a codec (raw data), then the size is going to be HUGE, because there's no codec compressing the size. This can be useful in many ways, especially if your CPU isn't particularly powerful, since it will have to run the program, record the program, and encode the program at once, and encoding is a very CPU heavy task. I still have a video to upload that is a little over 9 minutes and the size is only 650MB, so I don't see that 20GB limit being any such problem for most things. And if you're really worried, you can always crop the fps down to 30 to save more space, since Youtube will convert it to 30 fps anyway. (and save on upload time)

2) The file does not need to be in an mp4, Youtube will work fine with avis. I think the main thing Youtube cares about is the codec used, where different codecs result in different video qualities once processed. I don't know of another program that creates mp4s anyway because I've never needed them.

3) I don't like what Google is doing either, as I really don't care for Google+ nor want anything to do with it really. Unfortunately, Youtube is still the most popular video site so that's probably the best place to upload still.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on January 30, 2014, 01:13:12 AM
That was embarrassing.  The resize was a newbie mistake and the file size was the result of me completely forgetting to compress the video.  Of note, the video was resized to 960x720; I suspect that may be unusual but it's 150% larger than the recorded window in both directions.

So, let's try this again... now with a video to show! (http://www.youtube.com/watch?v=nzp5jGvkGS4)  It's hardly unwatchable, but there's a very evident quality loss between the .avi on my computer and the video you see here (particularly w.r.t choppiness).  Suggestions?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on February 01, 2014, 04:02:55 AM
I can see the loss with the moving bullets, it's not as sharp as it could be. Not sure if messing with the sharpness setting will work, I haven't been able to experiment much with it yet. (HDD space, what is?) As for choppiness, it seems fine to me. If you're looking for a difference with 60 fps, then you'll definitely see the choppiness with Youtube as it uses 30 fps instead, which tends to make Touhou videos look a little choppy by eyes that look for that.

Unless you're seeing something I'm not seeing (if you are, let me know), maybe try other browsers to watch that video. Flash Player lately has been kinda borked in certain browsers, notably Firefox and Chrome. On my end, Internet Explorer (unfortunately) doesn't seem to be affected and plays Youtube better. Try checking with other browsers to make sure that may not be the problem you see.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on February 01, 2014, 08:28:30 PM
It's entirely possible I'm seeing things or expecting too much.  You can't play these games without being at least kind of a perfectionist.

I've been trying a few things for further comparison.

Video for comparison (not HD) (http://www.youtube.com/watch?v=aEQPqY1NwB4)
Video from .avi (http://www.youtube.com/watch?v=fj6Kdw0a3sQ)
Video from .mp4 (http://www.youtube.com/watch?v=LqPRGFkrBwg)
Video from .mp4, with sharpness at 16 instead of 5 (http://www.youtube.com/watch?v=hYiaLWb6r2A)

Comparing to a not-HD video is kind of unfair, but at least I know that the videos are of higher quality than some on the open Internet.  As far as the other three videos go, I think the quality improves from second to third to first, but the difference is negligible and uploading as .mp4 is faster by at least twenty times.  So... I think I'm done.  Thank you for your help!

----

Quick version of what I did:
*Download and install the following:
MSI Afterburner (http://event.msi.com/vga/afterburner/download.htm)
VirtualDub (http://virtualdub.sourceforge.net/)
x264vfw codec (http://sourceforge.net/projects/x264vfw/) - I don't remember there being anything particularly special about getting this working.
LAME 3.99.5 ACM codec (http://www.rarewares.org/mp3-lame-dshow-acm.php) - If you have an x64 computer like me, this download comes with a readme that's actually quite useful for getting this where it needs to go.  Otherwise you may be good for following the instructions here (http://www.dedoimedo.com/computers/virtualdub-codecs.html).
Freemake Video Converter (http://www.techsupportalert.com/best-free-audio-video-format-conversion-program.htm#hybridp) - This isn't the download link but it'll tell you everything you need to know about it.

It may be worth the effort to check VirtualDub for whether you need either of the two codecs.  I needed both; I don't know if everyone will.

*Play game. :V
*Open MSI Afterburner and go to Settings -> Video Capture.  Set the video capture hotkey to something you're unlikely to press but easy to remember (I use Ctrl+F8).  Set video format to "uncompressed" (this will disable your ability to manipulate the slider below; this is okay).  Set Frame Size to Full Frame (I remember getting dubious quality with other settings) and framerate to 60 FPS.  Set the folder the videos go to to someplace you can find it.
*Record replay at full screen while MSI Afterburner is running.  MSI Afterburner will record the active window, not your desktop, but I got the best results from full-screen - though that may have been conflated with other fixes I made; I'm not sure.
*Open the .avi that you got from recording the video in VirtualDub. 
**Under Video, select Full Processing Mode. 
**In Video->Filters, click Add... and grab the resize filter.  You'll be prompted to specify a size; get the width to 720.  Everything else should be fine.  If you screw up, click Configure on the Filters pane.  Before you leave, grab the sharpen filter.  You can adjust the sharpening to whatever you like; I did okay with 16 but you're perfectly able to play around with it.  Setting it to max sharpness is hilarious but not something you'd want on a serious video.
**Under Video->Compression, choose the x264vfw.  This is the H.264 video codec mentioned here (https://support.google.com/youtube/answer/1722171?hl=en).  Click Configure, and set Rate Control to "Single Pass - lossless" (note that I'm just doing this because I'm sheeping the key word "lossless" wherever I see it).  Click "VirtualDub hack" in the output subpane.
**Under Audio->Compression, choose Lame MP3 and off to the side select the 256 kbps CBR option.  If Audio->Compression is greyed out, click "Full Processing Mode" down the Video dropdown first.
*Watch the before-and-after videos by pressing Enter.  You'd like your video to look as good as it can before it goes off to be mangled.  If you like it, save the .avi off somewhere.  Press Ctrl-S to save your video processing options so you don't have to repeat the VirtualDub set every time; you can just Ctrl-L the settings back.
*Open Freemake Video Converter.  Click Video and grab your processed .avi.  Click "To mp4" at the bottom.  The output parameters should be "same as source" and you should save it someplace where you can find it, per usual.  Run it.

You now have an .mp4 that's teeny (20 MB vs. 618 MB with the .avi, in the case of the videos shown in this post) and YouTube will happily accept this.  Mission accomplished!

The quality of the mp4 isn't going to match the quality of the .avi.  As far as I'm aware the only response available is to :dealwithit: .

If I missed something and it's not evident where, Google can be your friend as much as it was mine when going through this process.  I claim ignorance about anything that's too far away from what I described here.

---

Bonus tip:  If you're like me and the make of your computer is an HP Envy, you may have found that your Stereo Mix sounds garbled.  This actually isn't your fault and it's not the computer's fault; it's Microsoft's.  Go to Control Panel -> Sound -> Recording -> Stereo Mix -> Properties -> Advanced and uncheck the "Enable Audio Enhancements" box.  Insert your own joke here.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Maiden Synnae ミ☆ on March 23, 2014, 03:46:36 AM
Is there not a way to join the multiple .avi's + .wav without VirtualDub? It keeps screwing the stuff when I try to use that.

This is what happens:
http://forum.videohelp.com/threads/363315-Having-a-lot-of-frustration-with-my-videos?p=2310700#post2310700
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on March 27, 2014, 11:25:10 PM
Without having worked with those programs, understanding exactly what you want to do, or even really knowing the problem ( :V ), I would recommend working with Avisynth (http://avisynth.nl/index.php/Main_Page).  A sketch of the program I'd use would look something like
Code: [Select]
video1 = AviSource("<path to video 1>", false)
video2 = AviSource("<path to video 2>", false)
...
video6 = AviSource("<path to video 6>", false)
fullvid = video1 + video2 + ... + video6        # splicing all the vids together; if videos were recorded separately use ++ instead of +

audio = WavSource("<path to audio file>")
finishedproduct = AudioDub(fullvid, audio)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on March 27, 2014, 11:48:25 PM
While I'm here, a possibly-related post because I'm procrastinating life.

So You Want to Make a Montage of Separate Videos:

Short version:
Use Avisynth (http://avisynth.nl/index.php/Main_Page) and something like
Code: [Select]
video1 = AviSource("<video path 1>")
video2 = AviSource("<video path 2>")
...
videoN = AviSource("<video path N>")
video1++video2++...videoN
then edit as normal with VDub.

Long version:
VDub uses unaligned splices for its Append command.  Basically, they were intended for back when recording software would split .AVI files into 2MB chunks, meaning everything was part of a contiguous whole to start with.  It's NOT meant for joining separate items together; that would require an aligned splice.  People have been asking for VDub to do aligned splices for at least twelve years now, so don't hold your breath on it getting that functionality anytime soon.

There are a couple of ways to go about getting things to work.  When I did my Last Word compliation (https://www.youtube.com/watch?v=XoNVd6vqXP8) I used a software that was literally called Free Video Joiner (http://www.freevideojoiner.com/) to put them together.  It is exactly what it says it is, and if you look at the video, you can see that there are basically no frills to the presentation - no nice fades or blurs, just a bunch of recorded segments one after another.  The result is pretty jarring to be honest, but at least the sound and the fury aligned.

That wasn't going to work for my most recent video (https://www.youtube.com/watch?v=6jH3N_mCauo), where fading in and out was an integral part of the presentation (presentation is as important as the content, if not more so!)  The easiest way to do this is with Avisynth, which is free and surprisingly easy to use for basic A/V manipulation.  Here's the wiki (http://avisynth.nl/index.php/Main_Page), from which you can find links to download the program and several basic tutorials from which you can probably get a sense of how to do whatever fancy tricks you're interested in.

To make the video I linked, I created a new notepad file and typed in the following code:
Code: [Select]
video = AviSource("<video path>")
video = video.Trim(130,5809)                       #I used VirtualDub to determine the precise frames I wanted to be visible
video = video.FadeIn(30)                           #Not much time for a fade-in, plus I start with a bunch of blank frames anyway so IN WITH COLOR
video = video.FadeOut(240)                         #Slow fade for contrast and to show that the stage goes on
clip = BlankClip(video, length=180, color=$000000) #180 black silent frames for the beginning
clip2 = BlankClip(video, length=60, color=$000000) #60 black silent frames for the end
clip+video+clip2                                   #appending them together
After doing so, I renamed the file to be an .avs file (if you can't do this, in your file explorer go to View -> Show/Hide -> File name extensions) and opened the .avs file in VirtualDub.  VDub will preprocess the .avs file, and you'll basically have your finished product right there.  If you're not using any filters through VDub, you may only want to deal with VirtualDub to check that your video looks good before you continue doing etc. and etc.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LunarWingCloud on April 29, 2014, 07:11:57 PM
I use Blueberry Flashback to record my replays. It isn't CPU intensive and if I use Full Frames (Uncompressed) the audio and video comes out good. I have yet to have any desyncing issues.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Szayelaporro Granz on April 30, 2014, 11:43:09 AM
I use OBS, but I'm having a hard time to stream older Windows games. I already tried to stream them with Window Capture, but apparently I can't do it with fullscreen. To make it worse, the window only fills about 1/4th of the screen. Any help will be appreciated. Last but not the least, what's the recommended bitrate so that most people can watch them live? Since YouTube compresses the video uploaded into it, the quality won't be as good and I have a friend who can only watch my twitch videos on ~1500 kb/s, if I put it higher he can (presumably) watch them on YouTube but not on twitch. I don't mind the latter's option though.

Edit: Problem solved, the visible window bar is quite annoying though.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: shockdude on October 30, 2014, 04:14:04 PM
Looks like Youtube supports 60FPS now for 720p and 1080p. The tutorial shouldn't need any major changes though; just change the output framerate to 60FPS instead of 30.
60FPS Touhou on Youtube is gonna be great.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: microfolk on October 30, 2014, 06:53:25 PM
Looks like Youtube supports 60FPS now for 720p and 1080p. The tutorial shouldn't need any major changes though; just change the output framerate to 60FPS instead of 30.
60FPS Touhou on Youtube is gonna be great.

I'm going to upload so many videos now, this is really a great news!
I'll litter youtube with my shitty gameplays and nobody will be able to stop this 60fps badness.  :flowerpower:
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: shockdude on October 31, 2014, 04:32:27 PM
I know Youtube supports 1440p, but does it support 4:3 1440p? Moreover, does it support 1440p 60FPS? 1440p is an integer multiple of 640x480, which means that Touhou videos scaled to pixel-perfect 1440p should look really good.
If no one's tried that, I might try it myself if I have time.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Romantique Tp on October 31, 2014, 05:29:25 PM
It should work if you pillarbox the video, assuming YT doesn't just ignore the black portions of the image and tries to stretch it anyway like it used to.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Agent of the BSoD on November 01, 2014, 06:56:21 PM
Well judging from the fact that you can upload 720p videos in 4:3, I don't see why you wouldn't be able to do the same for 1440p.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ILikeBulletZ on November 03, 2014, 05:43:59 PM
So I am sorry for not wanting to read 12 pages of information, but its the OP guide still any good?

All of my Touhou vids look blurry and in general look like crap.


However, I also edit them, and nowhere in the OP does mention that..
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Mr Jovial on November 03, 2014, 06:06:38 PM
I made all my videos using the OP guide and they look pretty good. I guess it's either the editing or you did something wrong...

As for whether the guide itself is any good...all the pictures come up with a "Click and discover Imageshack" and don't link anywhere. It's quite difficult to follow without using pictures so it seems the guide itself may not be good anymore, but the process it uses still works.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: applehoraceton on April 17, 2015, 05:05:21 PM
Are there any tweaks people have successfully made to record gameplay on lower-power computers? I've tried the OP's methods and μq's, and while I'm able to capture gameplay without a problem, the slowdown produced in-game is unreasonable. I've been messing around with different settings to mitigate slowdown -- using MSI Afterburner at 1/2 frame size, 30fps, and NV12 compression makes things run a little better -- but would of course prefer a recording method with no noticeable slowdown. A second computer somehow recording the monitor output of the first? Setting recording and gameplay to different processor affinities? I'm over my head, and I'm guessing others have encountered and dealt with this problem before.

(btw, I am on a lenovo thinkpad sl510 and recording Danmakufu.)
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: ?q on April 17, 2015, 09:53:52 PM
Are there any tweaks people have successfully made to record gameplay on lower-power computers? I've tried the OP's methods and μq's, and while I'm able to capture gameplay without a problem, the slowdown produced in-game is unreasonable. I've been messing around with different settings to mitigate slowdown -- using MSI Afterburner at 1/2 frame size, 30fps, and NV12 compression makes things run a little better -- but would of course prefer a recording method with no noticeable slowdown. A second computer somehow recording the monitor output of the first? Setting recording and gameplay to different processor affinities? I'm over my head, and I'm guessing others have encountered and dealt with this problem before.

(btw, I am on a lenovo thinkpad sl510 and recording Danmakufu.)
The thing I wish I had remembered before the last processor-heavy video I recorded was setting Danmakufu to 1/2 frame rate.  It does look choppier but it's a lot better than doubling the length of your video due to slowdown.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: applehoraceton on April 20, 2015, 05:39:10 PM
The thing I wish I had remembered before the last processor-heavy video I recorded was setting Danmakufu to 1/2 frame rate.  It does look choppier but it's a lot better than doubling the length of your video due to slowdown.
This did the trick & my video's now up! Thank you!!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Chill Observer on August 22, 2016, 01:15:43 AM
I'd also like to add that in OBS Studio, you can record any Touhou gameplay in fullscreen 640x480, 60fps, and modify the settings such that the video resolution automatically outscales to 960x720 as output. This means that you can record any game in 640x480 and still manage to upload it to YouTube as 60fps, due to the output file being rendered in 720p instead of 480p. I personally use window record and select whatever game I am playing whenever I record.

And, on top of that, OBS Studio is completely free and open-source, so there's really no reason not to get it.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: LunarWingCloud on September 30, 2016, 03:51:13 AM
I'd also like to add that in OBS Studio, you can record any Touhou gameplay in fullscreen 640x480, 60fps, and modify the settings such that the video resolution automatically outscales to 960x720 as output. This means that you can record any game in 640x480 and still manage to upload it to YouTube as 60fps, due to the output file being rendered in 720p instead of 480p. I personally use window record and select whatever game I am playing whenever I record.

And, on top of that, OBS Studio is completely free and open-source, so there's really no reason not to get it.
I second this. I've been using it to record replays, stream, and I even started using it to record a Touhoumon LP and it's outstanding for doing what you want it to do.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: MrDanmakuFellow on December 04, 2016, 03:20:35 AM
Just now found this thread. Needed to learn how to upload my Touhou replays and came across this. Thanks guys, much appreciation!
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: reimuhakurei32 on June 14, 2018, 02:27:54 AM
How do I capture just the window and not using full screen?
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: Drake on June 14, 2018, 02:40:16 AM
If you're using OBS you right-click the Game Capture source, switch to Capture Specific Window if it isn't already, and pick the game on the Window list.
Title: Re: How to upload Touhou videos in HD quality Tutorial
Post by: HumanReploidJP on July 27, 2019, 10:35:35 AM
OHHH! NOW I got self-roasted right on the impact word "TRIAL" right there. Not gonna complain about it... *pout*

For a Windows 10 user, that ain't a problem. You never know I play touhou fangames on my YouTube channel, though. *pout*

*flips up and raises a cardboard with a big fat wordly "TRIAL"*

I'd rather mention Kamen Rider Dragonfly from Kamen Rider Kabuto because I'm also a fan of watching K***n Rai*** series, my third most favourite because Touhou is, first of all, my quality experience.