Post subject: Need assistance with AVI-recording (FCEUX)
Former player
Joined: 8/31/2009
Posts: 236
I've finished a little TAS project of mine and I was recording the AVI of it. There's two problems though. 1) I can't find how to change the dimensions of the video; it's under 300x300 and I'm hoping to kick it up to about 640x400. 2) The kbps is 703, which is much too high and unnecessary (and I plan to upload this to Youtube). Any help and/or suggestions is appreciated.
Player (208)
Joined: 7/7/2006
Posts: 798
Location: US
Snippets from Encoding Procedures: http://tasvideos.org/EmulatorResources/MakingAVI/Common/Windows.html ------- # FFDshow: Download and install. During installation, install all components. For "select supported video codecs", make sure to select H.264. The rest of the options should be left to the default. # Configuring FFDshow to capture: After installing, go to the start menu > ffdshow. Select VFW codec configuration. Under the encoding tab, select H.264 lossless. Under FOURCC, select H264. Other settings can be left on default. Select the Decoder tab now, and click Codecs in the left hand list. A new menu should now appear. Find H.264 in the list and make sure it is set to libavcodec by clicking on it in the decoder column. (This only has to be done the first time.) ---------- Create initial h.264 lossless capture. In the case of emulator specific settings, check the Emulator Settings - Windows article for help. 1. Run the emulator and load the ROM. 2. Increase the emulation speed to about 400% (the command to do this varies by emulator but often it is the '=' key). This will speed up this initial encode by making the limiting factor your cpu. 3. Turn off frame display. Configure sound (This varies by platform, but typically it is the highest setting in the emulator, 48khz stereo, or 44.1khz stereo. In the case of NES it is 48khz mono). Pause the emulator and load the movie file. 4. Select the Record AVI option. Select the mencoder folder to save the AVI (or whatever workspace folder you like). Call it capture.avi and save. Select FFDshow in the dropdown box. Click ok. 5. Unpause emulation. Record until the ending and one loop of the ending song if there is one that loops. Don't worry if you record a little extra afterward as you can clean it up with mencoder in the next step. (This varies slightly for each emulator.) -------- After you get this largely oversized Raw encode, I suggest opening the video with the program Virtualdub, trimming off any extra content with the home, end, and delete buttons. Direct Stream copy implies no compression, Full Processing mode implies compression. Audio: Compression: MPEG Layer-3 Video: Compression: x264 This should be good enough for youtube.
Former player
Joined: 8/31/2009
Posts: 236
Thanks for the in-depth info, whether you wrote all that or copied it, but it didn't help too much, and the sound is now getting desynched. All I require is a high enough resolution, while keeping the filesize somewhat low; it doesn't need to be fancy and high quality like the Published Movies here. Thanks though.
Player (208)
Joined: 7/7/2006
Posts: 798
Location: US
For compression, the last step (using virtual dub) will be useful. If you want high resolution, the only way I know how to do it is by the site guidelines. If you're getting a sound desync check out the emulator specific settings. (It could also be your movie player causing the problem. Try VLC and/or MPlayer, both have issues sometimes.)
Former player
Joined: 8/31/2009
Posts: 236
Well if I were to record it as is, and upload it to Youtube, would it be stretched out enough to be clearly visible, instead of it being a small resolution (I've never used Youtube for uploading before)? And I still do not know how to decrease the ridiculously high kbps.
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3601)
Joined: 11/3/2004
Posts: 4739
Location: Tennessee
If you are uploading to youtube, why do you care about how high the kbps are? Won't it get re-encoded by them anyway? If you really need lower quality, capture with x264 and use a quantizer setting other than 0.
It's hard to look this good. My TAS projects
Former player
Joined: 8/31/2009
Posts: 236
I don't care about the quality, it was just that it was so high that the filesize was too big to be allowed to be uploaded to Youtube. But it's fine now, I've solved the problem.
arflech
He/Him
Joined: 5/3/2008
Posts: 1120
the answer is three-pass encoding at the lowest bitrate that still looks good; it takes a really long time to get it right, as I discovered when I set out to encode the new Metroid run a couple months ago (and did such a good job it became the official encode)
i imgur com/QiCaaH8 png