Page 1 of 2

How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Sat Jul 19, 2008 1:25 am
by qubodup
I use mencoder, so you'll have to make sure you have that too. (install mplayer which you probably already have.)

Step 1: Install glc

Follow these instructions. (I used the installation script, which was a little bit tricky. Look for 'flags' for your CPU (cat /proc/cpuinfo). I installed to /usr/. Also start the script as root.)

Step 2: Record the video

In a console, enter:

Code: Select all

glc-capture -f 30 -o video.glc love game.love
-f 30 is for 30 fps, which I think makes a/v synch work all right. you can add -s to start the recording right away

Press Shift+F8 to start and to stop the recording process! not stopping might corrupt the .glc file

Step 3: Encode the video

First get the audio to a .wav file

Code: Select all

glc-play video.glc -a 1 -o audio.wav
Then encode the video + audio

Code: Select all

glc-play video.glc -y 1 -o - | mencoder -demuxer y4m - -audiofile audio.wav -ovc lavc -oac lavc -o video.avi
Replace "lavc" with "help" to find out about more codec options.

Step 4: Upload the video
Go to http://vimeo.com/upload/video/basic and upload the video. Then come back here and post about it.

If you need help, I'll gladly help. Please tell if it works for you or doesn't.

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Sat Jul 19, 2008 4:06 am
by mastastealth
Hehe, there is a simpler way. "gtk-recordmydesktop" is an awesome, incredibly simple screen recorder. Just launch it, select region or fullscreen, hotkey to record (w/ or wit/o sound) and stop. You can even put a setting to have it encode on the fly, if you got the CPU muscle for it! :D

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Sat Jul 19, 2008 5:44 am
by Xfcn
Of course there's always wink, which saves it as a SWF screen cast.

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Sun Jul 20, 2008 8:59 pm
by qubodup
mastastealth wrote:Hehe, there is a simpler way. "gtk-recordmydesktop" is an awesome, incredibly simple screen recorder. Just launch it, select region or fullscreen, hotkey to record (w/ or wit/o sound) and stop. You can even put a setting to have it encode on the fly, if you got the CPU muscle for it! :D
Xfcn wrote:Of course there's always wink, which saves it as a SWF screen cast.
Does any of those record audio for you? *curious*

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 12:06 am
by Xfcn
Wink does it, according to their website. It's meant to be tutorial-creation specific.

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 3:38 am
by mastastealth
mastastealth wrote:Hehe, there is a simpler way. "gtk-recordmydesktop" is an awesome, incredibly simple screen recorder. Just launch it, select region or fullscreen, hotkey to record (w/ or wit/o sound) and stop. You can even put a setting to have it encode on the fly, if you got the CPU muscle for it! :D
;)

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 10:03 am
by qubodup
Xfcn wrote:Wink does it, according to their website. It's meant to be tutorial-creation specific.
But does it record the audio of the game?
mastastealth wrote:
mastastealth wrote:Hehe, there is a simpler way. "gtk-recordmydesktop" is an awesome, incredibly simple screen recorder. Just launch it, select region or fullscreen, hotkey to record (w/ or wit/o sound) and stop. You can even put a setting to have it encode on the fly, if you got the CPU muscle for it! :D
;)
Um.. I suppose that means it does work for you. :)

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 5:41 pm
by mastastealth
Well, I never said it worked for ME I'm just saying the option is there! :lol: I don't know how to set the capture device to be the output of my speakers in the mixers or whatever. :P

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 6:05 pm
by Xfcn
I honestly have no idea which audio, specifically, Wink is capturing. Sorry.

Re: How to make video recordings of LÖVE games on GNU/Linux etc?

Posted: Mon Jul 21, 2008 9:08 pm
by qubodup
mastastealth wrote:Well, I never said it worked for ME I'm just saying the option is there! :lol: I don't know how to set the capture device to be the output of my speakers in the mixers or whatever. :P
Xfcn wrote:I honestly have no idea which audio, specifically, Wink is capturing. Sorry.
Well don't worry about it. I sometimes too recommend applications without having tested them first :)