I'm desperately in need of some direction here...
I'm trying to write some software that would play back a series of
images as
a movie. I can't seem to find any resources on this.
What I'm looking for is a brief tutorial (or VERY well document code)
that
will open a series of images, buffer them properly in memory, and then
play
them back in sequence and a certain rate.
PLEASE, PLEASE, PLEASE point me in the right direction. Oh, just as a
reminder, I'm not looking for an application that will do this... I'm
trying
to WRITE and application that will do this.
Thanks,
Dan 4 1739
On 7 Jul 2006 09:26:07 -0700, ds*******@gmail.com wrote in
comp.lang.c:
I'm desperately in need of some direction here...
I'd like to give you some direction, but you haven't provided enough
information.
I'm trying to write some software that would play back a series of
images as
a movie. I can't seem to find any resources on this.
The C language itself, and its standard library, does not have any
features that can display an image, or anything else, let alone play a
series of images as movie.
What I'm looking for is a brief tutorial (or VERY well document code)
that
will open a series of images, buffer them properly in memory, and then
play
them back in sequence and a certain rate.
The first part is easy. You use fopen() to open the image files,
probably in binary mode. You use malloc() or calloc() to allocate the
memory to read the into.
But "play them back" is something you cannot do in standard C.
PLEASE, PLEASE, PLEASE point me in the right direction. Oh, just as a
reminder, I'm not looking for an application that will do this... I'm
trying
to WRITE and application that will do this.
The right direction is a group that specializes in programming for
your particular hardware platform and operating system, which you
neglected to mention. All interaction with hardware, and that
includes displaying images, is done by non-standard, platform specific
extensions.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
On Fri, 07 Jul 2006 13:17:45 -0500, Jack Klein <ja*******@spamcop.net>
wrote:
>On 7 Jul 2006 09:26:07 -0700, ds*******@gmail.com wrote in comp.lang.c:
>I'm desperately in need of some direction here...
I'd like to give you some direction, but you haven't provided enough information.
>I'm trying to write some software that would play back a series of images as a movie. I can't seem to find any resources on this.
The C language itself, and its standard library, does not have any features that can display an image, or anything else, let alone play a series of images as movie.
>What I'm looking for is a brief tutorial (or VERY well document code) that will open a series of images, buffer them properly in memory, and then play them back in sequence and a certain rate.
The first part is easy. You use fopen() to open the image files, probably in binary mode. You use malloc() or calloc() to allocate the memory to read the into.
I think you forgot an important step. How do you find out the value to
pass into malloc()?
--
jay
jaysome wrote:
Jack Klein <ja*******@spamcop.netwrote:
...
The first part is easy. You use fopen() to open the image files,
probably in binary mode. You use malloc() or calloc() to allocate the
memory to read the into.
I think you forgot an important step. How do you find out the value to
pass into malloc()?
Umm... by reading the header in the image file?!
--
Peter
On Fri, 07 Jul 2006 23:21:47 -0700, jaysome <ja*****@spamcop.net>
wrote:
>On Fri, 07 Jul 2006 13:17:45 -0500, Jack Klein <ja*******@spamcop.net> wrote:
>>On 7 Jul 2006 09:26:07 -0700, ds*******@gmail.com wrote in comp.lang.c:
>>I'm desperately in need of some direction here...
I'd like to give you some direction, but you haven't provided enough information.
>>I'm trying to write some software that would play back a series of images as a movie. I can't seem to find any resources on this.
The C language itself, and its standard library, does not have any features that can display an image, or anything else, let alone play a series of images as movie.
>>What I'm looking for is a brief tutorial (or VERY well document code) that will open a series of images, buffer them properly in memory, and then play them back in sequence and a certain rate.
The first part is easy. You use fopen() to open the image files, probably in binary mode. You use malloc() or calloc() to allocate the memory to read the into.
I think you forgot an important step. How do you find out the value to pass into malloc()?
The value is always 34. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Average_Joe |
last post by:
Hello Java people,
Been awhile since I've used Java, and when I did, it was pretty much XML
stuff.
Anyhow, I've got a client who needs to provide web viewers with both
streaming (live) video...
|
by: Ravi |
last post by:
Hi,
Im trying to develop a Visual C# .NET app. that uses DirectShow filters to capture video from camera source. However, after going through a series of articles, I've seen that DirectShow is not...
|
by: Guenter |
last post by:
Hi,
I need to develop an application that displays video 640x480 16-bit per
pixel with 30 fps.
I would prefer to do that with Python (wxPython) but don't have any
experience whether it is...
|
by: Jacob |
last post by:
I'm desperately in need of some direction here...
I'm trying to write some software that would play back a series of images as
a movie. I'm fairly new to C and I can't seem to find any resources...
|
by: Lucas Tam |
last post by:
I'm in need of a good lightweight video playback DLL.
Windows Media Player is too finicky with video streams - certain corrupted
streams won't play (but play fine via DirectX). Does anyone have a...
|
by: hzgt9b |
last post by:
Using VS2003, VB.NET,
BACKGROUND
I have a window forms based application that will be distributed and
executed directly from CD media. The app contains a TreeView control and a
WebBroswer...
|
by: hzgt9b |
last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0,
BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is...
|
by: hzgt9b |
last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0,
BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is...
|
by: lukemack |
last post by:
Hi,
Can anyone recommend a class/script which handles video file uploads,
preferably with Flash integration? I'm looking to have a video
upload / library section in my cake app.
I considered...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |