Starting with r2782, there's a new feature in your video dialog:
![[Image: videoconfig.png]](http://img15.imageshack.us/img15/1908/videoconfig.png)
This is basically a very simple way for capturing video from the emulator, and is currently being developed by me. In the future, capturing audio and other features will be added. This is supposed to be used in conjunction with the input recorder/player, but since that currently has syncing problems, it won't help much there.
PREREQUISITS:
* Dual-core disabled (for a constant framerate)
* Check the User directory of your Dolphin install and the Dump folder under that. When in the Dump folder, make a new folder named "Frames". (Must be case sensative on Linux/Mac.) The patch missed this and will probably be fixed in a later patch.
* Lots of hard drive space (Making lossless dumps very easily jump into several gigabytes, even for only a couple minutes of actual video. Video encoded at about 1000 kb/s will probably take up about 8 Mb per minute.)
WINDOWS: A Video for Windows codec (CODEC PACKS LIKE CCCP WILL NOT WORK! THOSE ONLY INCLUDE DIRECTSHOW FILTERS, NOT THE CODECS FOR ENCODING. Also note that on 64-bit Dolphin, you will need 64-bit codecs.)
LINUX/MAC: MEncoder (you can also use ffmpeg, but MEncoder should work fine for most people.)
HOWTO: WINDOWS
On Windows, when you check the box and start playback, a window like this will appear:
![[Image: codecconfig.png]](http://img19.imageshack.us/img19/2761/codecconfig.png)
Whatever you do, DON'T DUMP UNCOMPRESSED FRAMES! this will fill up even the mightiest of hard drives in no time. Choose the codec of your choice from the dropdown menu and configure it as necessary. This guide won't go into how to configure your codec, but there are plenty of guides if you search Google or something. Once you hit okay, recording will start. Game playback will be significantly slower than normal, since you computer has to deal with encoding video and writing it to your hard disk along side the game playing.
While recording, make sure you don't do any of these two things:
1. Resize the emulator window. Doing so will either corrupt the dump beyond any repair or crash the emulator. (I tried to fix the crash, but I only got it to happen once, and I doubt it was a one-time fluke.)
2. Crash the emulator for any reason. (If it does crash, you will most likely get a video file without any header data, making it unplayable. You can rescue this video, but it's a complicated process that somebody much smarter than me can explain. Again, Google can help.)
When you're done, either uncheck the box in the graphics dialog or simply stop the emulator. When you check the User/Dump/Frames folder under your emulator folder. You should find files named framedump0.avi, framedump1.avi, etc., each about 2gb in size or smaller. Using a program like VirtualDub, you can connect the files together and get one complete video, and further manipulate from there.
Just remember, the dumper currently overwrites the files in there, so back them up somewhere if you want to save them before trying again.
RECOMMENDED CODECS:
Microsoft Video 1: I'm pretty sure all Windows computer have this installed. Good for just testing the feature out, but I don't recommend using it for stuff you might upload.
Xvid: Works great for videos of all sizes, and offers good compression. If you don't know which codec to use, get this.
Lagarith: My personal choice for lossless compression. If you have a dual/quad core, the multithreading mode can really help things go a little faster.
ffdshow: I actually think CCCP might have the VfW front-end for this codec, but I'm not sure. Basically, they put a whole lot of codecs into one for easy use. The configuration dialog might be a little intimidating, but once you understand it, you have dozens of codecs at your command.
HOWTO: LINUX/MAC
NOTE: These steps should work in theory, but I can't actually test them myself, because Dolphin segfaults when trying to run a game in my virtual machine. Please post if it doesn't work or you know how to make it work.
After opening the terminal of your choice, change the directory to Dolphin's and run this command:
mkfifo User/Dump/Frames/framedump.raw
This part should only need to be done once. After that, start up Dolphin, but also start MEncoder for encoding from the framedump.raw file:
./Dolphin &
mencoder -rawvideo on:w=640:h=480:fps=60:format=RGB24 -ovc xvid -xvidencopts bitrate=1000 -mc 0 User/Dump/Frames/framedump.raw -o test0.avi
Change w, h, and fps values to what you're currently running the video at. If you know what you're doing, feel free to mess with the -ovc arguments. With the checkbox checked, just start running your game and MEncoder should encode the video on the fly. As in Windows, resizing the window will mess up everything, but you don't have to worry about unexpected crashes breaking your video. Once you're done, simply stop MEncoder (Ctrl + C in most terminals) and your video should be set! You shouldn't have to delete the framedump.raw file, but you can if you want. Just be sure to recreate it again when you dump more stuff.
KNOWN BUGS/MISC:
* On Windows, the video currently assumes the game is 60 fps. This is easily changed in VirtualDub and other video programs if you're recording a PAL game, and Dolphin will automatically detect the framerate to use in the future.
* For some games that use different framerates for different scenes (Luigi's Mansion is one I've ran into), the video will have fast gameplay for the parts that only use a FPS other than 60/50 fps. This bug is currently my top priority, and will probably be fixed with my next patch to this feature.
* Sound support should be added in the future, when the WaveOut feature is implemented and I can get the sound to be synchronous to the video.
![[Image: videoconfig.png]](http://img15.imageshack.us/img15/1908/videoconfig.png)
This is basically a very simple way for capturing video from the emulator, and is currently being developed by me. In the future, capturing audio and other features will be added. This is supposed to be used in conjunction with the input recorder/player, but since that currently has syncing problems, it won't help much there.
PREREQUISITS:
* Dual-core disabled (for a constant framerate)
* Check the User directory of your Dolphin install and the Dump folder under that. When in the Dump folder, make a new folder named "Frames". (Must be case sensative on Linux/Mac.) The patch missed this and will probably be fixed in a later patch.
* Lots of hard drive space (Making lossless dumps very easily jump into several gigabytes, even for only a couple minutes of actual video. Video encoded at about 1000 kb/s will probably take up about 8 Mb per minute.)
WINDOWS: A Video for Windows codec (CODEC PACKS LIKE CCCP WILL NOT WORK! THOSE ONLY INCLUDE DIRECTSHOW FILTERS, NOT THE CODECS FOR ENCODING. Also note that on 64-bit Dolphin, you will need 64-bit codecs.)
LINUX/MAC: MEncoder (you can also use ffmpeg, but MEncoder should work fine for most people.)
HOWTO: WINDOWS
On Windows, when you check the box and start playback, a window like this will appear:
![[Image: codecconfig.png]](http://img19.imageshack.us/img19/2761/codecconfig.png)
Whatever you do, DON'T DUMP UNCOMPRESSED FRAMES! this will fill up even the mightiest of hard drives in no time. Choose the codec of your choice from the dropdown menu and configure it as necessary. This guide won't go into how to configure your codec, but there are plenty of guides if you search Google or something. Once you hit okay, recording will start. Game playback will be significantly slower than normal, since you computer has to deal with encoding video and writing it to your hard disk along side the game playing.
While recording, make sure you don't do any of these two things:
1. Resize the emulator window. Doing so will either corrupt the dump beyond any repair or crash the emulator. (I tried to fix the crash, but I only got it to happen once, and I doubt it was a one-time fluke.)
2. Crash the emulator for any reason. (If it does crash, you will most likely get a video file without any header data, making it unplayable. You can rescue this video, but it's a complicated process that somebody much smarter than me can explain. Again, Google can help.)
When you're done, either uncheck the box in the graphics dialog or simply stop the emulator. When you check the User/Dump/Frames folder under your emulator folder. You should find files named framedump0.avi, framedump1.avi, etc., each about 2gb in size or smaller. Using a program like VirtualDub, you can connect the files together and get one complete video, and further manipulate from there.
Just remember, the dumper currently overwrites the files in there, so back them up somewhere if you want to save them before trying again.
RECOMMENDED CODECS:
Microsoft Video 1: I'm pretty sure all Windows computer have this installed. Good for just testing the feature out, but I don't recommend using it for stuff you might upload.
Xvid: Works great for videos of all sizes, and offers good compression. If you don't know which codec to use, get this.
Lagarith: My personal choice for lossless compression. If you have a dual/quad core, the multithreading mode can really help things go a little faster.
ffdshow: I actually think CCCP might have the VfW front-end for this codec, but I'm not sure. Basically, they put a whole lot of codecs into one for easy use. The configuration dialog might be a little intimidating, but once you understand it, you have dozens of codecs at your command.
HOWTO: LINUX/MAC
NOTE: These steps should work in theory, but I can't actually test them myself, because Dolphin segfaults when trying to run a game in my virtual machine. Please post if it doesn't work or you know how to make it work.
After opening the terminal of your choice, change the directory to Dolphin's and run this command:
mkfifo User/Dump/Frames/framedump.raw
This part should only need to be done once. After that, start up Dolphin, but also start MEncoder for encoding from the framedump.raw file:
./Dolphin &
mencoder -rawvideo on:w=640:h=480:fps=60:format=RGB24 -ovc xvid -xvidencopts bitrate=1000 -mc 0 User/Dump/Frames/framedump.raw -o test0.avi
Change w, h, and fps values to what you're currently running the video at. If you know what you're doing, feel free to mess with the -ovc arguments. With the checkbox checked, just start running your game and MEncoder should encode the video on the fly. As in Windows, resizing the window will mess up everything, but you don't have to worry about unexpected crashes breaking your video. Once you're done, simply stop MEncoder (Ctrl + C in most terminals) and your video should be set! You shouldn't have to delete the framedump.raw file, but you can if you want. Just be sure to recreate it again when you dump more stuff.
KNOWN BUGS/MISC:
* On Windows, the video currently assumes the game is 60 fps. This is easily changed in VirtualDub and other video programs if you're recording a PAL game, and Dolphin will automatically detect the framerate to use in the future.
* For some games that use different framerates for different scenes (Luigi's Mansion is one I've ran into), the video will have fast gameplay for the parts that only use a FPS other than 60/50 fps. This bug is currently my top priority, and will probably be fixed with my next patch to this feature.
* Sound support should be added in the future, when the WaveOut feature is implemented and I can get the sound to be synchronous to the video.