Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a set of video clips, that all need the same title/end image added, then cross-faded into (and at the end, out of) the video.

I figure there's a way to automate this with ffmpeg or avconv, I just don't know where to look.

Or perhaps it's not that simple, but a cinelerra/open shot/pitivi project file could be 'templatized' - and the render automated.

share|improve this question
    
Found this, but still interested in other solutions: youtube.com/playlist?list=PLcUid3OP_4OWC-GJ6KfHK7dIK_yRKKn0e –  Tim Lytle Feb 1 '13 at 12:08

1 Answer 1

up vote 3 down vote accepted

Just use melt and instead of giving it a video file use an image file that you either join to the video at the begining or end (remember to give it an out= time in frames to define the time length of the image) or that you blend with a filter.

A lot of examples and uses of other commands too:

To utilize images (say, .png) in a video edit composition:

melt \
video.avi in=30 out=79 \
test.png in=0 out=15 \
video.avi in=30 out=79 \
-blank 15

Note that for test.png, in= parameter doesn't need to be 0 - however, the image will be displayed for out-in time; in this case, it would be easiest to simply leave the in=0 parameter out altogether.

The youtube playlist that you mention in your comment is really good and simple to understand. It gives good examples of the commands and also of how to write simple scripts in Bash to iterate the use of filters and mixes over multiple files. Worth watching!

Here it explains how to add to your video text using gstreamer:

gst-launch filesrc location="<Filepath>" ! textoverlay text="Title : Hello" valign=top halign=left ! xvimagesink

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.