I need to output a summary of a video as an animated gif. Ideally, I would have 8 equally-spaced frames from the video, and play them back one at a time, each for 0.25 seconds. So I'd have a 2 second animated gif.
This is what I have so far:
As you can see, I'm taking eight frames from the first eight seconds of video. What can I use to take eight frames from $timeOfVideo/7 time periods. Note that I'm dividing the time of the video by 7, not 8, so that I will have the first and last frames of the video in the gif.
My second problem is shortening the duration that each frame is shown. Currently, each frame is shown for 1 second. How can I reduce that to 0.25 seconds?
I am starting to think that ffmpeg is a better tool for the job, however, surprisingly I cannot find relevant examples in Google. Can ffmpeg do what I need? Can mplayer, for that matter? Something else?
Raspberry Pi B 2014-01-07 Raspbian fully up to date.
Installed and configured motion for surveillance.
It works just fine and creates .avi files and .jpeg.
Installed Mplayer trying to run it from desktop was
not successful. I did try to do a command line by
executing sudo mplayer... (6 Replies)
Is there a way to burn avi to cd with k3b? When I tried the disc became unusable. I tried to open the disc on 2 different computers with no luck. (0 Replies)
Hello to all in forum,
Somebody could help me saying me which command or application can I use to convert correctly a VOB file of more than 5 GB in size.
I have the VIDEO_TS folder with the files:
- VTS_01 - Stream Information.txt
- VTS_01_0.IFO
- VTS_01_1.VOB
The Stream Information... (4 Replies)
I need some recommendations on programs to fix broken avi index. Please tell me what your experiences have been with the program. Which programs work and which ones don't work. (1 Reply)
found a few ffmpeg posts and after a few unsuccessful attempts, I have found a solution :)
to encode an avi to to an nokia e71 recognized mp4 format:
ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop... (2 Replies)
Hello,
I need software to convert multimedia files.
What is the good software?
I was looking for it on the web, but I did not find any special.
Thanks... (1 Reply)
Hello there!
Slightly off topic maybe, but maybe someone can help us. For a videoshow which will be called reality 6.1 we need a video file from a unix kernel that is compiling. Does anyone know how to capture this, or does anyone have such a vid?
cheers,
iuno
(www.iuno.nl) (2 Replies)
cfourcc(1) User Commands cfourcc(1)NAME
cfourcc - tool for changing FourCC in Microsoft RIFF AVI files
SYNOPSIS
cfourcc [-i] <file.avi>
cfourcc -u <CODE> <file.avi>
OPTIONS -h Show summary of options.
-d CODE
Sets FOURCC codec decription string.
-f Force changing FOURCC on unsupported file
-i Display FOURCC information (default).
-u CODE
Set FOURCC codec.
None.
DESCRIPTION
Program identifies the codec used in AVI files (*.avi) and allows the user to change the FourCC description code (like fourcc-changer in
Windows). Useful for people working with Microsoft AVI file. A Linux clone of AviC fourcc changer tool.
EXAMPLES
Note that you only need to change the -u codec field most of the time and not touch the -d description:
cfourcc -u DIVX -d DIVX file.avi
ENVIRONMENT
None.
FILES
None.
SEE ALSO ffmpeg(1)mplayer(1)AUTHORS
cfourcc was written by Mohammad Hafiz bin Ismail aka "mypapit" <info@mypapit.net>.
This manual page was written by Jarno Elonen <elonen@debian.org>, for the Debian project (but may be used by others). Updated by Jari Aalto
<jari.aalto@cante.net>. Released under license GNU GPL v2 or (at your option) any later version. For more information about license, visit
<http://www.gnu.org/copyleft/gpl.html>.
cfourcc 2012-04-02 cfourcc(1)