video-processing

How do I get a Video Thumbnail in .Net?

I'm looking to implement a function that retrieves a single frame from an input video, so I can use it as a thumbnail. Something along these lines should work: // filename examples: "test.avi", "test.dvr-ms" // position is from 0 to 100 percent (0.0 to 1.0) // returns a bitmap byte[] GetVideoThumbnail(string filename, float position) ...

Finding an interesting frame in a video

Does anyone know of an algorithm that I could use to find an "interesting" representative thumbnail for a video? I have say 30 bitmaps and I would like to choose the most representative one as the video thumbnail. The obvious first step would be eliminate all black frames. Then perhaps look for the "distance" between the various fram...

automate video capture

I have a bunch of short videos from my digital cam. i know how to convert them to a better codec with ffmpeg but i would also like to make a preview image for the video. Not a thumbnail that window does, something like media player classic which takes about 5-30 shots of the video. I was hoping MPC would be able to do it through cmd line...

Do you know of a NTSC decoder API?

I'm looking for an API that I can use to decode a digital sample of an analog signal, encoded according to the NTSC standard. I'm willing to consider both free and commercial options. If I have to, I'll roll the code myself, but I imagine that this code has been written tens or hundreds of times in the past few decades, so I'm hoping the...

What can i use to automate video snapshots

What command line util can i use to create a thumbnail preview of a video i made? I do not want a single thumb that windows make, i want a large jpg file that has 30 or less shots so i can preview the movie w/o running it. I either need an app that can do a batch at once or a command line util so i can loop through a folder or w/e i nee...

FFMPEG - zero file size when sound enabled

I'm having a few problems converting video files from the command line using FFMPEG. I'm using a CentOS server, but unfortunately I don't have shell access. When I suppress sound using the following command, everything works perfectly (except of course, there's no sound!) ffmpeg -i $infile -an test.flv However, when I try to enable s...

Query on Discrete Cosine Transform(DCT)

Hello, I am doing some basic Matlab simulations on DCT used in Video Compression. I have following questions arised out of that: 1.) In a 16x16 MB , if one does a 8x8 size block DCT (4-times) for that MB in first case and a one shot 16x16 size block DCT in second case, Will the reconstructed block at the decoder will have same/similar ...

Android Combine Bitmaps -> Video

Hello, I have a array of Bitmaps. How could I combine them into a video to store on the SD Card? Thanks, Isaac ...

Video overlay on Windows (using C#?)

I am working on a video processing library in C# and would like to display videos on Windows XP up. For this purpose, I currently use a custom double-buffered UserControl with overridden OnPaint that uses Graphics.DrawImageUnscaled. This works okay, but is not ideal. Therefore I would like to implement a video display using hardware ove...

Libraries / tutorials for manipulating video in java

I need to do some simple video editing within a Java application, but the frameworks I've found (JMF and FMJ) appear to be quite stale, and thus far I haven't found any evidence that either can actually edit video. The type of operations I need are: cropping, redacting sections, and extracting clips. I've never worked with video in any...

How to scale up in Java

I have 100+ channels of video streams to process all at the same time. I need to capture the video, generate thumbnails, and serve them out as a web service. For the generation of thumbnail, I can use JMF etc.(I noticed there is another post talking about how to generate and access: http://stackoverflow.com/questions/772715/better-qualit...

h264 provider start

Hi, i am trying to make ffmpeg or x264 provider that will encode videos.. Well i have been looking at some tools and such and. i don't know.. I would need to make my own api. I have done the same 4 ffmpeg for flv1 but h264 seems much different.. can anyone give me some basics where and how to start? ...

PHP and FFMPEG - Performing intelligent video conversion

I have an oddly difficult task to perform. I thought it would be easy, but all my efforts have been fruitless. I'm converting videos uploaded to a php script from various formats (.avi, .mpg, .wmv, .mov, etc.) to a single .flv format. The conversion is working great but what I'm having trouble with is the resolution of the videos. Th...

text overlaying on windows media player?

Hi I am trying to overlay text on video playing in Windows Media Player using C#. Are there APIs in Windows Media Player SDK for doing the overlay? If not, what are the alternate ways of doing it? ...

Simple video editing application - should I use WPF or MFC?

I am about to start making a simple little video editing application, and I was trying to decide what system to create the GUI in. I know a lot about the Windows API, and actually, all of my programs thus far have been written in it. I would really like to use the new WPF framework though; however, I am a bit concerned about the fact t...

Resize mp4 or 3gp file using c#

Dear all, I need to 1.Convert a avi video file into mp4 and 3gp file format. 2.Then re size mp4 or 3gp file in my given size. Using c#.How can i do it. Thanks in advance. riad ...

Can I use the Gstreamer API to merge 2 videos?

I'd like to write a simple linux CLI application that can take 2 video sources (1 of a presenter talking and 1 with their slides and no audio) and merge them. I'd like the entire output video to be the two original videos, side by side. Failing that, my second best option would be a "picture in picture" style video, with the presenter i...

Integrating Dynamic Text into a Video

Hi All, Not sure if this is possible... Basically I have a video of someone holding a white board that I would like to add a message onto, based on what a user wants. So for instance someone could enter their name "Dave" and then the it would automatically generate a video with the words "Hi Dave" on the white board. The board curren...

PHP Video Editing and Streaming

Hi, I am developing online video streaming website on PHP. I need two functionalities: Need to add title/text at bottom of the video dynamically. Need to add background music to video dynamically. Is it possible with PHP or any available open source library? Can anyone guide me or provide links to this type of library ? Thanks. ...

How can I mix two streams of Video in C#?

In the past I have used Managed Direct X and DirectShow.Net to play a video to a texture on a simple mesh. I have then used this same technique to combine multiple video sources into a single texture, using the various capabilities exposed through textures to blend these streams together. This was a very interesting experiment 2 years ag...