PDA

View Full Version : DeSmuME AVI recording question


Satoshi25
October 24th, 2009, 20:10
Is there any chance to only focus the top screen when recording an AVI or do I have to create the file normally and then edit it with video editing software?

zeromus_
October 24th, 2009, 22:30
nope use video editing software

kazo
October 25th, 2009, 07:50
You can edit the source to do so. The source code can be found here (http://sourceforge.net/projects/desmume/develop).

Satoshi25
November 15th, 2009, 19:27
You can edit the source to do so. The source code can be found here (http://sourceforge.net/projects/desmume/develop).

Well thanks bud. ;) I downloaded the source tarball and compiled it using Visual C++ 2008. Now, what do I have to do in order to recompile the build with the changes as well as what piece(s) of code need(s) to be changed? It's because I'm not a programmer...

zeromus_
November 15th, 2009, 19:29
if youre not a programmer, then how are you going to edit the source code to capture one screen? Why won't you use a video editor?

Satoshi25
November 15th, 2009, 20:06
if youre not a programmer, then how are you going to edit the source code to capture one screen? Why won't you use a video editor?

I know I'm not able to do it, at least for now. But I really wanted to just capture the top screen. :( So I'm definitely going to use a video editor.

BTW, since you are one of the devs of the current DeSmuME, is it possible to add this option in the future?

zeromus_
November 15th, 2009, 20:24
No. We have a faq which addresses this topic.

kazo
November 28th, 2009, 21:00
replace all occurrences of 384 in aviout.cpp with 192.

DottorLeo[ITA]
November 28th, 2009, 21:48
I haven't tested but on 0.9.5 you can use only one screen if you want and the "Record AVI" should record only that screen.

kazo
December 4th, 2009, 18:23
;1765641']I haven't tested but on 0.9.5 you can use only one screen if you want and the "Record AVI" should record only that screen.

Just tested it, the avi had both screens, but it shouldn't be hard to add the feature to do so. instead of 384 for the height in the aviout.cpp, just have them variables. if lcd vertical layout is selected, then those variables are 384, if one lcd is selected, then the variables are 192. To get a little more complete, have a variable for the vertical beginning as well, from the line...

for(int y=0;y<384;y++)


to


for(int y=a;y<b;y++)


be a variable too. If one lcd is selected and Top First is selected a becomes 0 and b becomes 192, but if one lcd is selected and bottom first is selected a becomes 192 and b becomes 384.

zeromus_
December 4th, 2009, 18:56
Give up and learn avisynth. Otherwise eventually youll decide you want it to output with the screen rotated, or with sidebars, or with subtitles, or with a watermark, or with one of the 2x renderers, or with picture in picture, and keep hacking the source code.

kazo
December 6th, 2009, 10:12
I don't need to learn avisynth, I already edited what needs to be edited to be able to capture only the top screen. It was an extremely minor edit. What I said in the previous post was meant to show how easy and minor of an edit it would take to do what DottorLeo said 0.9.5 might be able to do.

Derek1
July 5th, 2010, 11:06
What for me,i prefer use Screen VidShot.It's prog can record screen video and audio)

D1M1TR1
July 5th, 2010, 11:32
Wouldn't DeSmuME's internal frame-by-frame AVI recorder perform better than an external application which generally impacts performance and records lagged gameplay?
Bumping this thread to suggest another application is a quite bad idea...

zeromus_
July 5th, 2010, 19:47
I think this guy is an advertiser or something, he just posted the same thing in a desmume.org forum, which I deleted, and look for a pattern in his other posts.