Create a video from images unix command line with transitions

I found several questions with answers on how to create a video from images. I setup two of them and was able to produce the videos correctly. I tried the following:

ImageMagick convert -delay 100 -quality 75 photo1.jpg photo2.jpg movie.mpg

FFMPEG ffmpeg -r 10 -b 1800 -i photo1.jpg photo2.jpg movie.mpg

The end result is the video displaying images with timing, no effects. I looking to learn how they add a Fade In and Fade Out Transition between those images.

-------------Problems Reply------------

I doubt this can be done by either library out of the box, short of creating every frame one by one. Both libraries don't really focus on Video effects.

One command line solution I can see is dvd-slideshow:

dvd-slideshow is a group of Linux commandline programs that creates a slideshow-style dvd from groups of pictures. Slideshow videos can be made from a directory or some online photo albums. You can add fancy effects like fades, titles, and the Ken Burns effect (slowly zooming and panning at the same time) along with audio to make your slideshows even nicer. There is also a script which generates a menu for your dvd (dvd-menu). The dvd-slideshow tools are open-source programs released under the GNU GPL.

It can output DVD (MPEG-something) and FLV among other this. You may have to do two transitions, but you should be able to build any kind of video file using a combination of this and ffmpeg.

Category:php Views:0 Time:2010-07-04

Related post

  • How does one create a package for a Java Project through the Unix command-line? 2010-02-27

    How does one create a package for a Java Project through the Unix command-line? I am looking to find a way to create a package for my Java files similar to the way Eclipse does, but in the command-line. --------------Solutions------------- Packaging

  • unix command line execute with . (dot) vs. without 2009-05-28

    At a unix command line, what's the difference between executing a program by simply typing it's name, vs. executing a program by typing a . (dot) followed by the program name? e.g.: runme vs. . runme --------------Solutions------------- . name source

  • Matlab-like command history retrieval in unix command line 2010-08-20

    In Matlab, there is a very nice feature that I like. Suppose I typed the command very-long-command and then a few several commands afterwards. Then later if I need the long command again, I just type very and press the up arrow key, my long command a

  • Unix command-line JSON parser? 2010-10-04

    Can anyone recommend a Unix (choose your flavor) JSON parser that could be used to introspect values from a JSON response in a pipeline? --------------Solutions------------- First, install the JSON module from CPAN: cpan JSON Then you can use this co

  • What's an easy way to read random line from a file in Unix command line? 2009-01-15

    What's an easy way to read random line from a file in Unix command line? --------------Solutions------------- There is a utility called rl. In Debian it's in the randomize-lines package that does exactly what you want. Or you can use shuf: shuf -n 1

  • cmake creating visual studio solution on the command line 2010-02-17

    I am using cmake 2.6.4 WinXP Pro Compiling on Visual studio 2008 VC Express edition I can create the solution files by using the cmake-GUI. However, I don't want to use the cmake-GUI, as I always prefer the command line. However, I am having a proble

  • Xcode : UNIX Command-Line Tools Installation 2010-06-19

    I'm trying to install MacPorts but it needs command-line support to be installed with Xcode (which is an option during installation) is there any way I could install UNIX command line support with Xcode without re-installing Xcode? --------------Solu

  • Watermarking video from the Linux command line 2010-10-27

    does anyone know how to watermark video from the Linux command line using a simple tool? Watermarking in ffmpeg isn't supported in the current version, and requires a custom compile. Max. --------------Solutions------------- ffmpeg -y -i 'inputFile.m

  • Grammar for Unix command line options 2010-12-11

    This is a homework question. I would like to write a simple parser for Unix command line options. First, I would like to define a grammar with BNF. Options = Option | Options, space, Option; Option = OptionName | OptionName, OptionArguments; OptionNa

  • Rabbitmq creating queues and bindings from a command line 2010-12-28

    If I have Rabbitmq installed on my machine, is there is a way to create a message queue from the command line and bind it to a certain exchange without using a client ? I think it is not possible but I want to be sure? --------------Solutions--------

  • Programatically splitting pdf pages to their own pdf's in UNIX command line 2011-01-07

    I am trying to write a program that takes as input a .pdf file and separates each page into their own .pdf files in UNIX command line. I have tried SplitPdf but for some reason I keep getting errors. I have already tried pdftk but it has poor perform

  • Way to invoke the Selenium IDE From a unix command line 2011-04-03

    Is there a way to invoke the Selenium IDE From the Linux command line. I would really like to have a command that when run would cause the Selenium IDE to run the current test. (This way I can hook it into gvim's save hook and never take my hands off

  • Blowfish or AES (.Net) and compatible unix command line tools 2012-02-09

    I've been asked to do a little research on implementing symmetric encryption in C# using either Blowfish or AES. Our customer wants to be able to use a unix command line tool such as BCrypt (for Blowfish) to handle the decryption. The reason I'm aski

  • Bash shell script run on UNIX command line does not change the current shell environment 2012-03-18

    Possible Duplicate: Why doesn't “cd” work in a bash shell script? I'm attempting to execute a bash shell script './go_cd' from the UNIX command line in my working directory '/c/My_Objective'. All I expect the script to do is change to a new directory

  • How to create a layered PSD file from command line? 2009-07-22

    I need to create a layered PSD file with ImageMagick or any other command-line tool available on Linux platform. Since I need to do this on Linux server, I can't use Photoshop scripting. The ImageMagick command below creates PSD file with a single la

  • How to create an empty file at the command line? 2009-11-09

    How to create an empty file at the DOS/Windows command-line? I tried: copy nul > file.txt but it always displays that a file was copied. Is there any other method in the standard cmd? It should be a method that does not require the touch command f

  • Is There Any Way to Pipe Data from Perl to a Unix Command Line Utility 2010-12-07

    I have a command line utility from a third party (it's big and written in Java) that I've been using to help me process some data. This utility expects information in a line delimited file and then outputs processed data to STDOUT. In my testing phas

  • Create a silent mp3 from the command line 2011-03-11

    I am trying to create a silent / empty mp3 of (x) seconds using the command line. Quite a simple task I thought! It seems lame is able to do somethign like this but I am unable to find anything that leads to achieving this. Has anyone been able to do

  • Scripting VLC to capture first frame of a video - can't get command line to work 2012-04-05

    I'm creating a script to pull a video off the web, create an image of the first frame, and save the image as a file. My script is handling grabbing a lot of videos and giving the file names a sequential number. My problem is in using VLC to grab the

Copyright (C), All Rights Reserved.

processed in 0.280 (s). 11 q(s)