The Super Frame Dumper 6000

Post all your wacky zany pony media here. (Music, fanart, videos, avatars, gifs, et cetera.)

Moderators: Geomancing, Westy543

The Super Frame Dumper 6000

Post by Scuderia Ferrarity (?) » Sun Mar 25, 2012 8:45 am

Image Dumper is available here:
http://dl.dropbox.com/u/43795139/ImageDumper.zip



The way I've been doing GIFs and Freeze Frame Theatre is by dumping all the images from a video into a single directory. I think some of you shied away from this because of the windows command line prompt, so here's an easy peasy one click solution.

Download ImageDumper.zip above and unzip it. All it is is two batch (.bat) files and a copy of mplayer, the universal video player.
Image
Click and drag your video file over to one of the batch files. One makes PNGs, the other makes JPEGs.
Image
You'll see this.
Image

Hit enter, and your computer will become very busy as all the frames are created.
It'll tell you when it ends.
Image

The frames will appear in Dumped_PNG or Dumped_JPEG depending on what you chose.
Image

Opening it up, they're clearly numbered.
Image

I like to use Irfan View to go through tons of pics.
http://www.irfanview.com/
Image

Zipping through pics is easy and copying individual frames to a temporary folder is as easy as pressing F8.
Image


Questions? Comments?
Yes I wanted to put this together a year ago. :facehoof:
As far as the ability to pick out a range of time, this is just a start, and it's harder to make it fool proof like this. :pinkieshrug:

Concerning youtube vids, there are plenty of downloader tools that'll let you get ahold of vids in flv and mp4 format. Mplayer handles mp4 format and I'm fairly certain it'll handle flv.

Disclaimer: Use at your own risk, I take no responsibility etc
Those technically inclined are free to open the .bat files in notepad and look at my limited knowledge of batch file programming. :cheese:

How many frames in an episode? 22 minutes * 60 seconds/minute * 24 frames per second = 31680
Episode dumped in lossless PNG format - good for gifs and other image manipulation - 16 GB
Episode dumped in lossy JPEG format 2.5 GB.
Those with Fruit and Penguin moon computers from the moon:
mplayer -vo jpeg -nosound CiderSqueezy.mkv
mplayer -vo png:z=9 -nosound CiderSqueezy.mkv
Scuderia Ferrarity
User avatar
The Corndogs Of Today are the Tacos of Tomorrow :jingo:
Fashion Queens
Joined: Feb 14, 2011

Post by Wayoshi (?) » Sun Mar 25, 2012 4:04 pm

I do have a way to dump all the images with some other tools I use for YT uploading - although on the iTunes 720p that ends up being about 3 GB and a pretty heavy job... but since I clearly became a full-on Scuderia Burger this ep, maybe it's time to do that :v: and just delete later.

I was told also that Media Player Classic can go frame-by-frame... might test out how well that works soon.

E: Oh I see you did give file size... yeah in the 31k range... you suggest .png which is a ton more space :gah: ... hmm...
Image Image Image :milkshake:
Wayoshi
User avatar
She's the best around, nothing can keep a Fluttershy down.
Stare Masters
Joined: Oct 26, 2011
Gender: Male
  • Website

Post by numsOic (?) » Sun Mar 25, 2012 6:56 pm

Scuderia Ferrarity wrote:Those with Fruit and Penguin moon computers from the moon:
mplayer -vo jpeg -nosound CiderSqueezy.mkv
mplayer -vo png:z=9 -nosound CiderSqueezy.mkv

Even better, if you already have Linux, is to just get ffmpeg and run this command:
Code: Select all
ffmpeg -i yourvideofile.mkv -r 24 frame%05d.png

-i is the source or input file, -r is the framerate or number of frames per second (so you can get less, or more, frames per second as you wish, though getting more just results in redundant copies of frames), and frame%05d.png means you'll get filenames with zero-padded numbers up to 5 digits, ranging from frame00001.png all the way to frame31680.png. No need to download a Windows executable package. :pinkieshrug:

If you already know what purpose you're gonna give the frames beforehand, there's many more parameters you can include in your command, such as scaling the frames.

Note: The actual framerate is 23.976 frames per second, not 24, but at this scale it results in a redundant frame every... very many, so it doesn't really make a difference. You can change that value to the correct number if you want to be exact.
numsOic
Stare Masters
Joined: May 21, 2011
Location: Argentina
Gender: Male

Post by diribigal (?) » Sun Mar 25, 2012 7:34 pm

numsOic wrote:Even better, if you already have Linux, is to just get ffmpeg and run this command:

I have ffmpeg for windows; will that work (in the command-line) for me too?
Note: The actual framerate is 23.976 frames per second, not 24, but at this scale it results in a redundant frame every... very many, so it doesn't really make a difference.

Fewer than 25 extra frames per episode, I think.
<derpy> keep on trying willsun Image
diribigal
User avatar
Neither dirigible nor dirigibal.
Special Flowers
Joined: May 17, 2011
Location: near Baltimore
Gender: Male

Post by Headless Horse (?) » Sun Mar 25, 2012 8:58 pm

Wayoshi wrote:I was told also that Media Player Classic can go frame-by-frame... might test out how well that works soon.


So does QuickTime Player (7), for the record. It's always had excellent single-frame stepping and a copy-frame command.

It's subject to DRM, though, so it adds a couple of steps if you're working with the legit iTunes copies.
Headless Horse
User avatar
Faithful Students
Joined: May 23, 2011

Post by Scuderia Ferrarity (?) » Sun Mar 25, 2012 9:20 pm

Man, I get an idea in my head and it seems like it's the one right way to do things and I go all Twilight Sparkle at 2 in the morning. :-/

On the upside if you're making gifs it's easy to view the pics as thumbnails and pick out when scenes begin and end.
Scuderia Ferrarity
User avatar
The Corndogs Of Today are the Tacos of Tomorrow :jingo:
Fashion Queens
Joined: Feb 14, 2011

Post by numsOic (?) » Sun Mar 25, 2012 11:15 pm

diribigal wrote:I have ffmpeg for windows; will that work (in the command-line) for me too?

Pretty sure it will.
numsOic
Stare Masters
Joined: May 21, 2011
Location: Argentina
Gender: Male

Post by Wayoshi (?) » Mon Mar 26, 2012 1:38 am

Headless Horse wrote:So does QuickTime Player (7), for the record. It's always had excellent single-frame stepping and a copy-frame command.

The arrow keys suddenly have new meaning. :psygum:
Image Image Image :milkshake:
Wayoshi
User avatar
She's the best around, nothing can keep a Fluttershy down.
Stare Masters
Joined: Oct 26, 2011
Gender: Male
  • Website


Return to One Art, Please!

Who is online

Users browsing this forum: No registered users and 3 guests