Post subject: Problem dumping video in DeSmuME with FFDshow
Active player (451)
Joined: 12/24/2010
Posts: 297
Location: CT, USA
So I was using the FFV1 with the FFDshow codec to dump an avi of my WIP (sorry if any of these terms are in the wrong order D: ). Well, it worked out fine except that the colors are inverted x_x. I didn't tick any extra boxes or anything, it even happened when I uninstalled and reinstalled the codec. Anyone have an idea what's wrong here?
sgrunt
He/Him
Emulator Coder
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
This is a known problem with FFDshow, and there is a fix, but unfortunately I can never remember the details off the top of my head. Normally we use another RGB codec such as the CamStudio codec or Lagarith when video dumping, as far fewer problems of this nature crop up. Check the Encoding Guide for more details.
sgrunt
He/Him
Emulator Coder
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
Aktan's finally reminded me of the solution that needs to be done. There are actually two approaches: 1) Under the ffdshow's VfW settings, go to Decoder -> Output and uncheck all colourspaces except RGB32. 2) Adjust the script's AviSource() line to specify a pixel_type of RGB32, e.g. AviSource("filename", pixel_type="RGB32"). I'm writing this down here so that I don't forget.