Donnerstag, 20. Dezember 2012

Create screencast videos of you android apps

Hey there.

If you are a cheap ass like me and you don't want to spend any money on an android screencast app, I will tell you today how you can make a really cool video from your android apps with free software!

All you need is linux :)

Recording the android emulator
To record your screen you need istanbul.


  • After you started it, you will notice a small icon on the upper right of your screen. 
  • Do a right click on it and select "select window to record" and select your android emulator. 
  • After this you can click on the icon to stat recording and do what ever you want with your app.
  • If yo are finished, click again on the istanbul icon to stop it and save the video somewhere as "appvideo.avi".



Fixing your video
Istanbul has some problems, so you have to run the following command to fix the video file:
For this you need mencoder.

"mencoder appvideo.avi -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o appvideo_fixed.avi"

Cropping your video
After this step you are ready to get rid of the emulator screen around your video. This can easily be done using avidemux.

  • Open avidemux and load the file "appvideo_fixed.avi"
  • Now on the left under "video" select "copy" and set it to something like "MJPEG". 
  • Select "Filter" and choose crop filter. You can now crop the emulator out of the video. Best settings for me are left: 20, top 20, bottom 20 and right 435.
  • Now click save and you are done!


Upload your video to youtube and enjoy!

To fix all videos created by istanbul, use this script:

#!/bin/bash
FILES=*.avi
for f in $FILES
do
echo "Processing $f"
mencoder $f -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o "$f"_fixed
 

 # do something on $f
done


Keine Kommentare:

Kommentar veröffentlichen