SDL 2.0 Android Project Template

May 4, 2012 in android, Games, My Games, My Software, Software by Raptor85

Using the project template provided by SDL and the current HG sources of SDL, SDL_image, SDL_mixer, and SDL_ttf I’ve made a stripped down “ready to go” android project with all the libs already included. (it’s basicly like the old SDL 1.2 project they have up for test but for SDL 2.0)

link here if you’re interested, it’s nothing special but could save you some time and trouble initially getting it all set up..I stripped out the visualC,OSX,linux tools, and test stuff too since it’s not needed for the android build, dropped the proejct size from about 60 megs to 4 megs.

http://www.midnightfragfest.com/wp-content/plugins/download-monitor/download.php?id=12

Broadcasting to twitch.tv using ffmpeg

April 13, 2012 in Games, Linux, Software by Raptor85

There wasn’t a whole lot of information about it around but I managed to piece together a quick script to do live streaming from a linux desktop. It’s simple and for speed reasons I’m not broadcasting sound myself. (I get unrealiable levels of upload lag so if i add sound it’s kinda distorted…I really wish their streams allowed speex codec :/)

#!/bin/bash

SIZE="1600x1200"
BITRATE="128k"
FRAMERATE="20"
KEY="your key here"

ffmpeg -f x11grab -s $SIZE -r $FRAMERATE -i :0.0 -vb $BITRATE -vcodec libx264 -threads 0 -f flv "rtmp://live.justin.tv/app/$KEY"

if you do want sound, you can change it to this for alsa


ffmpeg -f x11grab -s $SIZE -r $FRAMERATE -i :0.0 -f alsa -ac 2 -i hw:0,0 -vb $BITRATE -vcodec libx264 -threads 0 -acodec libmp3lame -ab 128k -ar 22050 -f flv "rtmp://live.justin.tv/app/$KEY"

or for OSS


ffmpeg -f x11grab -s $SIZE -r $FRAMERATE -i :0.0 -f oss -i /dev/dsp -vb $BITRATE -vcodec libx264 -threads 0 -acodec libmp3lame -ab 128k -ar 22050 -f flv "rtmp://live.justin.tv/app/$KEY"

I set up a livestream!

April 11, 2012 in Games by Raptor85

Just set up a livestream in prep for LD23! 9 days and counting….should be over 1000 people competing this time!

http://www.twitch.tv/raptor851

Aether Engine

April 5, 2012 in Games, Linux, My Games, My Software, Software by Raptor85

It occurs to me that I rarely update my website, though I really should be doing so. Old habits die hard I guess. (And yeah…I’ve been promising for YEARS that I’ll start uploading all my older games “soon” and it still hasn’t happened…granted most of them I’ll have to find a way now to read them off 5.25 floppy disks or tape and I’m not 100% sure how I’ll go about that)

erm….yeah..back to the point
Read the rest of this entry →