Questions on the importing/exporting of video files in Mathematica, as well as the use of Mathematica to manipulate video files.

learn more… | top users | synonyms

6
votes
1answer
84 views

How to make captions for a movie?

I'm trying to make my own video parody with custom subtitles. Creating your own custom subtitles file in a text editor with the SubRip or .SRT format is easy to do, it looks like this: Where ...
1
vote
1answer
116 views

Vector graphics in Export for Video rendering

I am trying to generate a vector graphics video in Mathematica. I stumbled upon SWF format (PNG are raster images which I'm not interested in). SWF format works fine for me but the axes and the ...
0
votes
1answer
54 views

Importing .AVI to mathematica and frame extraction

I'm trying to import frames from a video with the extension .avi, using this piece of Mathematica code: Import["video.AVI", {"Frames", {5, 6}}] But I get this ...
2
votes
1answer
54 views

What is the encoding used when exporting images as MOV with “VideoEncoding” -> “MPEG-4 Video”?

I have a few rasterised images generated in Mathematica, and I want to output them in a video file, ideally using H.264 encoding. I found the following command. ...
1
vote
0answers
21 views

Export audio with frames? [duplicate]

I have a list of image frames and a wav file, is there a way to export a mov file with an audio track? ...
5
votes
1answer
101 views

Video processing in Mathematica

I while back, I was just looking around in the example/demonstrations section of Mathematica, and I came across a couple of very good examples of Video processing in Mathematics. I vaguely remember ...
3
votes
2answers
897 views

video image recognition [closed]

Has anybody experience with video and image recognition? I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) coordinate and follow them during ...
6
votes
1answer
112 views

Extracting PNG images from AVI movie

I have written the following code to extract all images from an uncompressed AVI movie and to save them as sequential PNGs. ...
13
votes
3answers
5k views

Changing the speed of exported AVI videos

I am exporting an animation created using Manipulate in the .avi format. However the video runs very fast (I am putting it in ...
2
votes
1answer
80 views

Export an animation as .avi file with sound?

If I have a list myTb containing Image objects, I can export the list as an .avi file using the command ...
3
votes
0answers
117 views

Importing large number of frames form Video - improved method?

I am trying to work with large numbers of frames from a video (30000+). I see there are a number of answers out there, but I find none of them satisfying - see below for details. I understand from ...
0
votes
0answers
98 views

Extract frames as image files from video files [duplicate]

I have a set of video files where the frame rate is 1 frame/sec and the file shows the evolution of a particular object with time. Now, I want to extract each frame of the video and analyze as ...
8
votes
0answers
102 views

How to connect to a video stream?

Is there a way to get a current frame from video streams (especially from RTSP streams)? I would like to connect to a camera in my local network and get a snapshot from it to do some further ...
6
votes
1answer
184 views

Video stabilization: extracting the transformation rules used by ImageAlign

Imagine that I have a real life video, with all the artefacts coming from real life, and also from video compression, etc, and that I can edit this video, with filters and cropping, in such a way that ...
4
votes
1answer
75 views

Video encodings in Ubuntu

When exporting videos from Mathematica 10.0.2 on Ubuntu 12.04, I have one video codec to choose from: Internal`$VideoEncodings (* {"Uncompressed"} *) That means ...
3
votes
1answer
231 views

Download Youtube Videos

Is there a way to display or download youtube videos in Mathematica. Youtube is HTML5 enabled so I am hopeful there might be an easy way.
2
votes
0answers
83 views

How to export quicktime video as h.264? [duplicate]

I am trying to export sequences of images as quicktime movies. The dafault codec (cinepak) produces low quality and large file sizes. There is little documentation of the other codecs, which can be ...
3
votes
0answers
502 views

Is there a way to use video codecs for avi files in Mathematica?

I would like to use Mathematica to create compressed .avi video files from image sequences. I read the documentation on .avi but couldn't find a solution. In the documentation it says: ...
37
votes
4answers
3k views

Importing videos in Mathematica

Mathematica's Import command is purportedly able to import .AVI files. However, I find that many files that I want to import do only result in MMA showing a blank ...
0
votes
1answer
93 views

Determination of export video runtime

I have a huge simulation and tried to export it as a video file (or .gif). However regardlessly what I specify under the Framerate option the video its just running for 4 seconds (too fast). When I ...
3
votes
1answer
1k views

Export Animate command to MOV video

I'm trying to export a rather complex Animate command into a full-HD resolution video, but having no success so far. The animation has around 520 frames (the number ...
21
votes
4answers
1k views

How to efficiently import videos

I need to do frame-by-frame analysis of videos. I can import the video files I need, but each file is too large to import at once. I can use the ...
5
votes
1answer
321 views

Capture an image by non-default device

Guys! I need capture video from certain webcam which isn't $DefaultImagingDevice. As I know there is one legal way: ...
4
votes
0answers
167 views

Problem importing individual frames from QuickTime file

I am having difficulties with a code I am trying to run. Essentially I want to Read in a large .mov video file (60000+frames). ...
0
votes
0answers
34 views

Applying Some Kind of Timing Function to AutoRunSequence [duplicate]

Ok, so I'm exporting a video to MOV format that is coming from a manipulate function (I'm demonstrating CLT to a class that doesn't have calculus as a pre-req, if anyone is curious). Anyhow, I'm ...
8
votes
1answer
1k views

Exporting a sequence of graphs as video efficiently

I have a sequence of graphs that are being created within Mathematica which I'm exporting to create an animated plot of the graph, as follows. ...
6
votes
4answers
453 views

How do I overlay corresponding values over each frame of an animation?

I recorded a phenomenon using video capturing (phen.avi, imported into Mathematica) and simultaneous measurement of some electrical properties of that phenomenon (a ...
5
votes
1answer
334 views

Is there an equivalent of “shiftdim” of MATLAB?

Recently I'm spending my time implementing some computer vision algorithms, which usually handle a large amount of data. The problem I'm facing now is that I have to reform my video data to pass it ...
4
votes
1answer
605 views

Exporting a Video of a Simulation of Pendulum Motion

In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
2
votes
2answers
215 views

Import[] bug (video)?

I have the following code: frames = Import["myvideo.avi",{"Frames",{50,60,70}}]; This imports frames 1,2, and 3 of the video, not 50,60 and 70. It imports the ...
5
votes
1answer
960 views

Efficiently exporting many images as a video

I have many .gif images and I would like to export them as a single video file (I prefer .mov, but any video format is fine). But what if I have several tens of megabytes of .gif images? Is it ...
3
votes
1answer
407 views

Take[] and other Mathematica functions with live streams

I have a live video feed that I would like to convert into raw numbers that could be used for a variety of different things. I would also like to do simple operations on these numbers live with as ...
33
votes
1answer
4k views

Does Mathematica support variable frame rate for any video format, in analogue of GIF-style “DisplayDurations”?

The good old GIF animation format allows us to set the duration of each individual frame in the animation separately. This is especially useful if some frames in ...