473,785 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

read in video file, get frames

175 New Member
I'm looking for a way to read in a video file ( such as an mpeg file ) using C++ ... basically the idea is to "read in the video" frame by frame, so I can do some manipulation on each frame, search through each frame, ... whatever operations I may need.

I've been searching google and other resources and haven't really found anything that's lead me to anything helpful. If anyone has any tips or can help me out I would appreciate it.
Oct 12 '08 #1
1 5712
gpraghuram
1,275 Recognized Expert Top Contributor
If you want to read the mpeg file frame by frame then you need to know the data format of the mpeg.
Did you search for that in the net?

Raghu
Oct 13 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1466
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
1397
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...
11
2398
by: chrisdude911 | last post by:
i have a video in a html document. i have typed <img dynsrc="My Immortal.mpg"/> in to create a video box. on http://www.acejs.com/scriptsfolder/110003/110003.html it tell me about adding controls to a box for songs how do i connect that to my video box? also when i minimize the page the music on the video stops. how do i prevent that from happening?
5
9711
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
12
2418
by: Sandman | last post by:
There are some Mac tools to convert pretty much any given video source to a Flash video file (.flv) but I'm wondering if there is any way to do it using a Linux platform tying in to a PHP web system? I.e. I'd like to have video files submitted by users which are then auto-converted to .flv files. Anyone have any experience with this? -- Sandman
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">
4
4069
vskarthik
by: vskarthik | last post by:
Hi All: anyone help me to fetch frame from video file. if the file is below 2MB its working properly. But more than (2MB) unable to capture frame. And how to fetch one frame . i got all frames , if i used time like 00:00:10. first 10 frames displayed.
2
2093
by: alou131 | last post by:
Hello all! I have this server side video transcoding script that works on all video files uploaded and transcodes them to the .flv format. The problem is when a video file that is already in the.flv format is uploaded, the script tries to transcode it also and an error occurs. Is there a way to have the script not try to transcode .flv files? I would appreciate any help given. use IO::Socket::UNIX; use IO::File; my $vbrate = 64;
0
1960
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
9647
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10357
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10101
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
9959
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...
1
7509
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
6744
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
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
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.