Page 1 of 1
Image >> Video
Posted: Tue Jun 19, 2012 5:15 pm
by jamirokwai
Hi there,
has anybody succeeded in creating a video from a stack of images using PB?
I know, I could use ffmpeg and such, but like to have it rely on built-in-commands or Mac OS X-API.
It's for my WebCamAddict-Tool.
You can find the commercial thing on
http://www.the-crying-eye.com/mac, and my open-sourced original here:
http://www.purebasic.fr/english/viewtop ... 14&t=43206
Re: Image >> Video
Posted: Tue Jun 19, 2012 11:39 pm
by IdeasVacuum
Nobody seems to have managed it on Windows, even though the API does most of the hard work. Would be nice to see a PB Cross-Platform Lib.
Re: Image >> Video
Posted: Wed Jun 20, 2012 9:16 am
by jamirokwai
I could probably use this:
Code: Select all
ffmpeg -f image2 -i image%d.jpg video.mpg
But that includes downloading and installing ffmpeg

Going to investigate this further...
Re: Image >> Video
Posted: Wed Jun 20, 2012 7:16 pm
by J. Baker
can you not just importc for quicktime?
Re: Image >> Video
Posted: Thu Jun 21, 2012 11:30 am
by IdeasVacuum
....Not sure that QuickTime can actually do that task, but even if it can it would be a very expensive part of an app distribution (if distribution is even allowed).
Re: Image >> Video
Posted: Thu Jun 21, 2012 12:42 pm
by jamirokwai
Quicktime is a great idea. Apple offers a QTKit-Framework. This does, what I want to do. Did not have much time to dig in it, but it looks promising.
As for the distribution: No problem, as Frameworks are freely available on Mac OS X. My Diskonverter relies on the Disk Utility-Framework, and Apple sells Diskonverter in their App Store

Re: Image >> Video
Posted: Thu Jun 21, 2012 12:48 pm
by IdeasVacuum
I stand corrected - that's got to be the way to go then

Re: Image >> Video
Posted: Thu Jun 21, 2012 1:24 pm
by jamirokwai
The correct ImportC is "/System/Library/Frameworks/QTKit.framework/QTKit", but I must admit, I am overwhelmed
