Spiffy Hacks
tuto convert video for storio 2 on linux/convertir videos pour storio 2 sur linux - Printable Version

+- Spiffy Hacks (https://spiffyhacks.harmonypogo.com)
+-- Forum: Vtech InnoTab (https://spiffyhacks.harmonypogo.com/forum-1.html)
+--- Forum: InnoTab 2 - Storio 2 (https://spiffyhacks.harmonypogo.com/forum-3.html)
+--- Thread: tuto convert video for storio 2 on linux/convertir videos pour storio 2 sur linux (/thread-468.html)



tuto convert video for storio 2 on linux/convertir videos pour storio 2 sur linux - nopicnic - 01-10-2015

Hi

here is the way to convert video for storio 2 on linux.
first you need to install libav-tools (and zenity if you want to use the script below)
on debian/ubuntu/mint , open a terminal and type

Code:
sudo apt-get install libav-tools

remember that storio 2 can only read less than 2G video so, choose carefully the frame rate and the quality.

I suggest 18 frames/second (from 15 to 25), and 8 quality (quality goes from 1 best to 30 poorest)

the command line looks like :
Code:
avconv -i "original_file.avi" -acodec pcm_s16le -ar 24000 -ac 1 -s 480*272 -vcodec mjpeg  -qscale QUALITY  -r FRAME "destination_file.avi"

replace original_file.avi, destination_file.avi, QUALITY and FRAME

this will convert your video to the format storio2 uses to record its own cam video, (so you sure it can read it!)

if your leasy, download the script below, make it executable
Code:
chmod u+x converti.txt
and click on it