Image >> Video

Mac OSX specific forum
jamirokwai
Addict
Addict
Posts: 802
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Image >> Video

Post 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
Last edited by jamirokwai on Wed Jun 20, 2012 8:04 am, edited 1 time in total.
Regards,
JamiroKwai
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Image >> Video

Post 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.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jamirokwai
Addict
Addict
Posts: 802
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Image >> Video

Post 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...
Regards,
JamiroKwai
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: Image >> Video

Post by J. Baker »

can you not just importc for quicktime?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Image >> Video

Post 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).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jamirokwai
Addict
Addict
Posts: 802
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Image >> Video

Post 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 :-)
Regards,
JamiroKwai
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Image >> Video

Post by IdeasVacuum »

I stand corrected - that's got to be the way to go then 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jamirokwai
Addict
Addict
Posts: 802
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Image >> Video

Post by jamirokwai »

The correct ImportC is "/System/Library/Frameworks/QTKit.framework/QTKit", but I must admit, I am overwhelmed :|
Regards,
JamiroKwai
Post Reply