473,797 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

capture frame from video file

vskarthik
5 New Member
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.
Oct 12 '07 #1
4 4069
pbmods
5,821 Recognized Expert Expert
Heya, vskarthik. Welcome to TSDN!

How are you capturing the frame?
Oct 12 '07 #2
vskarthik
5 New Member
Heya, vskarthik. Welcome to TSDN!

How are you capturing the frame?
Hi i used follwoing code to extract frame

ffmpeg -i %s -an -t 00:00:03 -ss 1 -r 1 -y
Oct 18 '07 #3
pbmods
5,821 Recognized Expert Expert
Heya, vskarthik.

I'm going to go ahead and move this thread to the *n?x forum, where our resident Experts will be better able to help you out.
Oct 18 '07 #4
Motoma
3,237 Recognized Expert Specialist
Hi i used follwoing code to extract frame

ffmpeg -i %s -an -t 00:00:03 -ss 1 -r 1 -y
It doesn't appear that you are specifying an output filename for your screenshot. Also note: ffmpeg requires that you include %d in the filename (as part of the numbering sequece) regardless of the number of screenshots you are taking.
Oct 18 '07 #5

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

Similar topics

6
18605
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 directly supported in Visual C#.NET. Im wondering if there's any way to use the video-capture filters of DirectShow in Visual C#. Otherwise, would it be possible to create a Visual C++ DLL that uses DirectShow filters to capture video from a WDM...
3
4326
by: Juan Crespo | last post by:
Dear Sirs: My name is Juan Crespo and I write you from Spain, I work as application developer in Industrial Automation in Spain. We have as customer a company that wants to reuse old computers for certain vision applications. The computers have a ASUS AGP-V385GX2 video capture card. I develop my applications in National Instruments LabWindows/CVI (C language Development Environment used in engineering applications) So I am searching...
2
15478
by: Arash | last post by:
Dear all, I've got a video capture device. Device manager shows "nVidia WDM Video Capture (universal)" driver in "Sound, video and game controllers" category. Also, Windows Movie Maker, and other standard video capture tools can record video from the device. But, I've got no idea how to read transmitted data in a C# application. All I'm gonna do is to show the real-time movie on an appropriate control on my form.
2
2796
by: John | last post by:
Hi, Could anyone point me in the right direction for using video capture? I'd like to write a basic VB.NET app that shows the output from a composite camera and has a simple record now button. (I'd also like to be able to control things like frame rate etc.) At the moment my knowledge in this area is pretty basic so I'm just looking for some online resources where I can gem up on the subject. For example if I use a third party API,...
5
9713
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
4
5374
by: gwhite1 | last post by:
I use this code to capture a screen in a regular VB 2005 windows app. It works great! I found the code in google. But when I create a windows service it does not capture the screen. It only captures a blank graphic. Does anyone know why it will not capture the current screen? Is something not available when running as a service? Thanks!!! Sheila Function CreateScreenshot() As System.Drawing.Bitmap Dim Rect As System.Drawing.Rectangle =...
2
3333
by: slack.victor | last post by:
Hi guys, what i'm trying to do is do frame processing with the possibility of the app to not be in focus.What happens if the capture window gets hidden is that no more frames are sent to the callback...I've tried fyield to no avail.I'd greatly appreciate it if someone could put me on the right path with this one. vic.
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 !
4
1775
by: tahirahmed | last post by:
Hello, Before i start programming my application in C# I want ask a few things about directX capture class. My application scenario I want to design an application which is able to detect video signal, here i am using my Nvidia Geforce 6600 graphics card as video input device, the video source is a small camera which is outputting the video through composite video cable and that cable is attached to the input connector of my vga card. ...
0
9685
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
10468
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...
0
10245
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...
0
10021
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
9063
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...
0
6802
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
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
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
3748
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.