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
Image >> Video
-
jamirokwai
- Addict

- Posts: 802
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Image >> Video
Last edited by jamirokwai on Wed Jun 20, 2012 8:04 am, edited 1 time in total.
Regards,
JamiroKwai
JamiroKwai
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Image >> Video
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.
If it sounds simple, you have not grasped the complexity.
-
jamirokwai
- Addict

- Posts: 802
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Image >> Video
I could probably use this:
But that includes downloading and installing ffmpeg 
Going to investigate this further...
Code: Select all
ffmpeg -f image2 -i image%d.jpg video.mpgGoing to investigate this further...
Regards,
JamiroKwai
JamiroKwai
Re: Image >> Video
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.
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

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Image >> Video
....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.
If it sounds simple, you have not grasped the complexity.
-
jamirokwai
- Addict

- Posts: 802
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Image >> Video
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
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
JamiroKwai
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Image >> Video
I stand corrected - that's got to be the way to go then 
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
jamirokwai
- Addict

- Posts: 802
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Image >> Video
The correct ImportC is "/System/Library/Frameworks/QTKit.framework/QTKit", but I must admit, I am overwhelmed 
Regards,
JamiroKwai
JamiroKwai