FlipsideReality Once upon a time, in a land far far away…

20Mar/090

Nice laptop stand…

the mstand from Rain Design

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
5Oct/080

ffmpeg cheat sheet

ffmpeg is a multiplatform, open-source library for video and audio files. I have compiled 19 useful and amazing commands covering almost all needs: video conversion, sound extraction, encoding file for iPod or PSP, and more.

Getting infos from a video file
ffmpeg -i video.avi
Turn X images to a video sequence
ffmpeg -f image2 -i image%d.jpg video.mpg

This command will transform all the images from the current directory (named image1.jpg, image2.jpg, etc…) to a video file named video.mpg.

Turn a video to X images
ffmpeg -i video.mpg image%d.jpg

This command will generate the files named image1.jpg, image2.jpg, …

The following image formats are also availables : PGM, PPM, PAM, PGMYUV, JPEG, GIF, PNG, TIFF, SGI.

Encode a video sequence for the iPpod/iPhone
ffmpeg -i source_video.avi input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X final_video.mp4

Explanations :

  • Source : source_video.avi
  • Audio codec : aac
  • Audio bitrate : 128kb/s
  • Video codec : mpeg4
  • Video bitrate : 1200kb/s
  • Video size : 320px par 180px
  • Generated video : final_video.mp4
Encode video for the PSP
ffmpeg -i source_video.avi -b 300 -s 320x240 -vcodec xvid -ab 32 -ar 24000 -acodec aac final_video.mp4

Explanations :

  • Source : source_video.avi
  • Audio codec : aac
  • Audio bitrate : 32kb/s
  • Video codec : xvid
  • Video bitrate : 1200kb/s
  • Video size : 320px par 180px
  • Generated video : final_video.mp4
Extracting sound from a video, and save it as Mp3
ffmpeg -i source_video.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 sound.mp3

Explanations :

  • Source video : source_video.avi
  • Audio bitrate : 192kb/s
  • output format : mp3
  • Generated sound : sound.mp3
Convert a wav file to Mp3
ffmpeg -i son_origine.avi -vn -ar 44100 -ac 2 -ab 192 -f mp3 son_final.mp3
Convert .avi video to .mpg
ffmpeg -i video_origine.avi video_finale.mpg
Convert .mpg to .avi
ffmpeg -i video_origine.mpg video_finale.avi
Convert .avi to animated gif(uncompressed)
ffmpeg -i video_origine.avi gif_anime.gif
Mix a video with a sound file
ffmpeg -i son.wav -i video_origine.avi video_finale.mpg
Convert .avi to .flv
ffmpeg -i video_origine.avi -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv video_finale.flv
Convert .avi to dv
ffmpeg -i video_origine.avi -s pal -r pal -aspect 4:3 -ar 48000 -ac 2 video_finale.dv

Or:

ffmpeg -i video_origine.avi -target pal-dv video_finale.dv
Convert .avi to mpeg for dvd players
ffmpeg -i source_video.avi -target pal-dvd -ps 2000000000 -aspect 16:9 finale_video.mpeg

Explanations :

  • target pal-dvd : Output format
  • ps 2000000000 maximum size for the output file, in bits (here, 2 Gb)
  • aspect 16:9 : Widescreen
Compress .avi to divx
ffmpeg -i video_origine.avi -s 320x240 -vcodec msmpeg4v2 video_finale.avi
Compress Ogg Theora to Mpeg dvd
ffmpeg -i film_sortie_cinelerra.ogm -s 720x576 -vcodec mpeg2video -acodec mp3 film_terminée.mpg
Compress .avi to SVCD mpeg2

NTSC format:

ffmpeg -i video_origine.avi -target ntsc-svcd video_finale.mpg

PAL format:

ffmpeg -i video_origine.avi -target pal-svcd video_finale.mpg
Compress .avi to VCD mpeg2

NTSC format:

ffmpeg -i video_origine.avi -target ntsc-vcd video_finale.mpg

PAL format:

ffmpeg -i video_origine.avi -target pal-vcd video_finale.mpg
Multi-pass encoding with ffmpeg
ffmpeg -i fichierentree -pass 2 -passlogfile ffmpeg2pass fichiersortie-2

This was shamelessly stolen from http://www.catswhocode.com/blog/os/19-ffmpeg-commands-for-all-needs-824

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: , , No Comments
21Jul/070

I want to see CERN!

I want to Visit CERN's LHC before they turn it on, because once experiments start the LHC detector pit is closed to the public for the lifetine of the experiment (10-20 years)

There are two types of tour available, both involve an introduction followed by a 30 minute film projection and a 2 hour visit to one of the experiomental areas. The longer tour visits another experimental area, but is only offered to groups of 12 or more people during less busy periods (July-Sept and December). The areas on offer are the Large Hadron Collider, the Antimatter factory, and the Proton Synchrotron. (When i grow up, i'm so going to have an evil genius base with an antimatter factory & a proton synchrotron.)

The boking page says that for groups, at least a 4-6 months' notice is advisable, and during busy periods (Jan-June and Oct-Nov) 12 months notice is often required, however during less busy periods (July-Sept and December) they offer groups the possibility of a 'double visit' which includes the introductory talk, film, 2 visit sites and the Microcosm exhibition.

Flights to Geneva (GVA) from london run from £75 with BA running 10 direct flights a day from heathrow (LHR) You have to get the weekday earlybird flight to go cheap though, Tues, Weds & Thurs 6:30am departure, & 17:55, 20:15 or 22:25 arrival back @ LHR.

The tours are free, and the bus from the airport is only 3.00CHF, however it is advisable to book a bus for the day as there are limited visits available for groups without their own transport and if you have your own transport it will be used throughout the visit (it's a big site). For more details see General Info.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments
22May/070

Only the Best BBC Micro Games / BBC Games from the past

Only the Best BBC Micro Games / BBC Games from the past
Only the Best BBC Micro Games

Welcome to "Only the Best BBC Micro Games". Only the best is a BBC Games website dedicated to restoring the memories of our time spent with the classic and wonderful BBC Microcomputer.

Rather than list every game released for the BBC, which has already been done by a couple of other sites, this website exists to fondly remember the very best of the best. You know -- like the games we spent so many hours on trying to get past that pesky pirate, or collecting the myriad of multi-coloured keys in Citadel, or being Commander Stryker on one last mission to save the World. Those types of games!

This site is dedicated to capturing and retaining the spirit of the eightes microcomputing revolution, the enjoyment people experienced playing games on them, and to honour the greatest 8-bit microcomputer of them all: The BBC Micro.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: , , No Comments
9May/071

Ringtone Soup – Pushbutton Ringtone Publishing

Ringtone Soup - Pushbutton Ringtone Publishing

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: , 1 Comment
17Mar/070

The Laughing Man Hacks You!

The Laughing Man Hacks You!

facial recognition

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments
14Feb/070

GRAViTONUS – COMPACT, FULLY ERGONOMIC AND INNOVATIVE GRAVITONUS® SYSTEM

GRAViTONUS - COMPACT, FULLY ERGONOMIC AND INNOVATIVE GRAVITONUS® SYSTEM

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments
13Feb/070

bit-tech.net | Crysis: new screenshots and preview

bit-tech.net | Crysis: new screenshots and preview

nnnngggggg

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: , No Comments
23Jan/070

Rhapsody download format. – make it download wma’s

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Listen\Rhapsody\General]
"DownloadFormat"=dword:00000002

download here:

rhapsody_wma.txt (rename to reg)

update: you can set this in the preferences of the new client....

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments
13Jan/070

korea “mass gamesâ€? – Google Video

korea “mass games� - Google Video

simply amazing

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
Tagged as: No Comments