avi

Node-Webkit: How to play AVI videos?

拟墨画扇 提交于 2019-12-25 01:49:31
问题 I am trying to make a simple node-webkit app that lets you play .avi videos (which should work both on windows and mac). Is there a way to do this with node-webkit? 回答1: It is unlikely you will be able to just do this with Node-Webkit. Especially since the official webkit does not support AVI. Your best bet is to use an external application like libav (avplay) or use node to serve a webpage that has a player capable of playing the content and just let the users browser do the work. (Flash is

Java: Make an animation/video from frames

巧了我就是萌 提交于 2019-12-24 16:46:02
问题 Howdy! For a research project (in Java), I've got to find some way to save an animation of a graph into some file format. Now I've already got the program working fine drawing each frame. The problem is, short of learning the whole GIF or AVI file format, I have no idea how to assemble the frames programmatically into some sort of animation or video file. File formats don't really matter--input or output. I just need some way to put the frames together and save! Right now I'm thinking the

Read avi video - Matlab

…衆ロ難τιáo~ 提交于 2019-12-24 12:43:31
问题 I want to read an AVI File in Matlab. I tried it according to this link: http://inside.mines.edu/~whoff/courses/EENG512/lectures/other/Matlab_movies.pdf : clear all close all movieObj = VideoReader('ap001_BL0_SP2_cam03_compressed.avi'); % open file get(movieObj) % display all information about movie nFrames = movieObj.NumberOfFrames; %shows 310 in my case for iFrame=1:2:nFrames I = read(movieObj,iFrame); % get one RGB image imshow(I,[]); % Display image end I get the following error: Error

Seeking in .avi file using C#

人盡茶涼 提交于 2019-12-24 07:10:09
问题 First of all, I'm new to C#, so bear with me. I am making an application, that shows an .avi file in windows media player like this: private void button1_Click(object sender, EventArgs e) { axWindowsMediaPlayer1.URL = @"C:BlaBla\Family Guy\Season 10\S10E16.HDTV.x264-LOL.avi"; } I've found out that you cant fastforward or fastrewind in an .avi file, because it's not indexed. But using the WMP-slider of axWindowsMediaPlayer1, you can set the file to play at a specific point. For instance, start

extract audio as a MP3 file from video c#

拈花ヽ惹草 提交于 2019-12-24 02:42:37
问题 I want to extract audio from a video file as a MP3 using c#. The bit-rate of the audio should be able to specify. Could someone please help me on this? I have already looked at "whether" but I'm not sure whether it is possible to do with "whether" without prompting CMD. Please don't suggest me following article. it doesn't work properly for file that are larger than 700mb http://www.codeproject.com/Articles/7388/A-Simple-C-Wrapper-for-the-AviFile-Library 回答1: You could call an ffmpeg binary

From where in an AVI file can I extract the recorded date?

断了今生、忘了曾经 提交于 2019-12-24 00:36:09
问题 The problem explained I am trying to extract the recorded date from some AVI files (in this particular case created with a Sony DV camcorder). Starting with no knowledge on the format, I have been able to make sense of the metadata in the main chunks in the file using this reference: https://msdn.microsoft.com/en-us/library/windows/desktop/dd318189(v=vs.85).aspx I been searching a lot to find out where the date is stored, but without any luck. The closest that I came was the following answer

convert avi to 3gp using ffmpeg

◇◆丶佛笑我妖孽 提交于 2019-12-23 03:42:13
问题 I want to convert an avi file to 3gp with codec as mpeg4 simple profile level 0.But i am not able to do it with ffmpeg,it gives this error-Requested output format ‘-vcodec’ is not a suitable output format.how to fix this help!thanks in advance note - the input avi is 720x480 generated from bmp images using ffmpeg with codec ffv1.the output 3gp should be of mpeg4 simple profile level 0 回答1: Original from: http://forum.videohelp.com/threads/322328-libfaac-encoding-with-ffmpeg This worked for me

How to use gstreamer to save webcam video to file?

六眼飞鱼酱① 提交于 2019-12-20 04:53:58
问题 I've been trying to get emgu to save same webcam video to file The problem is opencv only ssupports avi, and avi does not seem to suit a format like X264 very well. Could I use Gstreamer to do this for me in C? It would be good if I could choose the file format and container type too. It would be good if I could use a format like schrodinger dirac. I'm new to GStreamer so I'm not quite sure if I'm on the right track here. EDIT I've managed to capture the webcam video using gst-launch-0.10

Compressing frames inside an AVI video

落爺英雄遲暮 提交于 2019-12-20 03:52:48
问题 I've built a Windows Phone class to convert some WriteableBitmap into a AVI Full Frame (Uncompressed). Videos are really huge. Is there a simple codec implementation existing, like a codec that just zip images, or something that is making a next/previous XOR then zip it in jpeg? Windows Phone doesn't allow any unsafe code and most DLL cannot be wrapped into a C# WP library. So that's why I'm coding something from scratch. Note that I'm more efficient at coding from scratch than in studying C+

PHP header attach AVI-file

你。 提交于 2019-12-18 09:46:04
问题 I'm trying to make a PHP script to download an AVI-file. The file is on my server and I want to send it to the user. I have made the following script but when I run it, I will only get a 0 KB large AVI file. Can anyone tell me what I am doing wrong? $file_path = "downloads/test.avi"; // Get filename $filename = explode("/", $file_path); $filename = $filename[count($filename)-1]; if(file_exists($file_path)) { $file_extension = strtolower(substr(strrchr($file_path, "."), 1)); // This will set