473,756 Members | 7,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Processing Video Frames

I'm currently accessing images one frame at a time as bitmaps, locking
the bits, then accessing the memory directly to manipulate the pixels
before unlocking the bits. My current test is simply converting the
images to grayscale. The frames are 640x480, and I am currently getting
a frame rate of about 4.5 fps. Is this going to be the fastest way to
do this, or could I somehow lock a section of memory once, then load
the images directly into the memory and edit it, in order to eliminate
the need to continuously lock and unlock?

Additionally, could I significantly increase the rate by locking the
bits, then calling a C++ DLL for the image editing? Or is the
locking/unlocking such a performance bottleneck that the editing is not
an issue?

Thanks!
Phillip

Aug 29 '06 #1
0 1321

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3803
by: Google Mike | last post by:
Is there a Linux PHP module so that I can process web cam video with Linux PHP from multiple USB ports? (I'm working on a video surveillance idea since I found out that my office spent a whopping $30K on their 8 camera system and were told it would cost $13K for 3 more cameras to be added. If that inspires you to do your own system, please do so -- I love it when people can make big cash with Linux!) For discussions here, realize that...
6
3410
by: Newbie | last post by:
I am doing some robotics projects but my main area of interest is trying out several algorithms for the processing of the stream of data coming from the video. I am wondering what type of camera I should invest in. Either I could buy a web cam and hope I can find a driver I could either modify or use. i.e. every frame is somehow stored on the computer automagically or I could buy a camera not unlike the AVRcam...
0
1463
by: sandy_pt_in | last post by:
HI I am wiriting application in C# to get Live video from (DVR) Digital Video recorder.DVR vendor has given us dll file to connect to DVR and get video frames. I am taking each frame converting to C# bitmap graphics and displaying in picturebox.Eventhough I am getting the proper video it is very slow, I am dropping some frames. I want to use directX to buffer video frames and display it.Can anybody help me on this.Can you give me source...
0
1395
by: nan | last post by:
Please give me some tips or some source code by using which able to make the avi file for audio and video data to play in sync. Some details are given below: I noticed that many times the video recorded is 7 Frames per second and again it will change to 15 frames per second. While in this scenario the audio card's sampling frequency is 8000Hz therefore the number of samples per second is 8000. So , in this situation I am not...
8
3674
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
5
9708
by: Pete Chen | last post by:
Hello all: I'd like to grab images from video (wmv format, a physical file stored in the host or even a streaming video, e.g. mms://abc.com/test.wma). Is there any solution that after I put the timecode into the the module, the PHP can return to the image corresponding to the timecode. How can I do this? Thanks
13
4901
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives, suggestions or improvements? if( wmv file) document.write("<OBJECT id=Player classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354" width="479">
2
1690
by: ajay_itbhu | last post by:
I want to generate the frames of a video to compress it using DCT ,But i dont know how to do it in c++. so if some one can help me then please tell me about generating individual frames from a video.
0
1959
by: odednaftali | last post by:
Hello I'm writing a video recorder that records input from an external device I use multipule files capture, and every X minutes i stop the graph, set the output file name to another file and run the graph again. All in all, seems to be working well, i get multipule video files for my capture. HOWEVER - for each file, there seem to be extra frames !
0
2052
by: excreen | last post by:
I am looking for a sample for video capture frames on windows mobile. I am new to the windows mobile developement field. I have read about the cameracapture and dshow sdks. Yet, it seems that all these save the video on file at the end of streaming and then get the frames from a seved video. However, I need to get frames in live. Thanks in advance, excreen
0
9790
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9779
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9645
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8645
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6473
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3276
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.