Apollo - FLVSnapshot
19 03 2007I’ve been having a lot of fun with Apollo so far and want to walk you through one of the first applications I built.
The FLVSnapshot tool allows you to load in an FLV file from your local drive, scrub through it and take frame captures as a JPEG or PNG.
If you want to give this app a go, the first steps are obviously to download and install the Apollo runtime alpha from labs.adobe.com, grab the FLVSnapshot.air file and double-click to install the application. The beauty of Apollo is that this same file works seamlessly for both Mac and PC.
To start using the app on the main screen you click “Load FLV” to open the window below and browse to a FLV file on your local hard drive.

When you’ve selected an FLV it’ll start playing back in the main screen, you can scrub through it and pause playback by clicking the video area.

When you’ve found a frame that you want to save out as an image you click the “Take snapshot” button which opens the following window where you can select whether to save out as a PNG or JPEG and set the compression value.

The application saves out snapshots to the desktop and prevents files from being overwritten by appending a number if the file already exists. As such snapshots taken from this FLV file called apollo.flv will output as apollo.jpg, apollo(1).jpg, apollo(2).jpg etc.
Hope you enjoy using it and look forward to your feedback!
Download FLVSnapshot.air
Download soure code
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.





Unbelievable!
I am sitting here in my job’s office “screaming inside of” me because i have to work and i can’t play right now with Apollo..
So every 10 minutes i stop what i’m doing and dreaming apollo apps.
This was the last thought..
Cheers Peter!
Hey Pet i just notice that it shows the hidden files in mac.
Is this the default behavior or did you arrange this?
Oh men i have to read the holy bible from Mike..
It seems to be a default showing the hidden files Savvas — need to look into this.
nice one Peter!
Here’s a nice firefox extension for saving videos from youtube etc. (in case anyone hadn’t seen it).
https://addons.mozilla.org/firefox/2584/
Is the image saving (to jpg or png) a part of the apollo extension or are you using external libs?
Great Tool
hey Sakri — those JPEG and PNG encoder classes are part of as3corelib.
http://code.google.com/p/as3corelib/
Perfect! Just what I needed. Please let me know of any updates to this.
I’m looking forward to finishing high-school and having the opportunity to play with Apollo.
Ignore my previous comment.
This package no longer works (old version of Apollo required).