LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2007, 06:11 PM   #1
metalx1000
Member
 
Registered: Jun 2006
Distribution: Debian
Posts: 112

Rep: Reputation: 16
Video editing in the shell


Does anyone know of a command line program that can do some basic video editing?

What I would like is to be able to type a command that says, "take all AVI files in the folder and combined them with 2sec fade transition between each video clip"

or "take all AVI files in this folder and add a SEPIA effect to each one"

Anyone know of anything like that?

Just though it would cut down on some editing time for me.

Thanks
 
Old 09-15-2007, 09:53 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, editing videos on the command line is a rather illogical activity, so I doubt you are going to find much software. I certainly don;t know of any.

The closest you will probably get is Mencoder, which can rencode from the command line, as well as do some trimming and joining. That should satisfy your first example, but the second one is going to be where you have problems.
 
Old 09-16-2007, 08:39 AM   #3
metalx1000
Member
 
Registered: Jun 2006
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 16
Thanks for the response.

I've use Mencoder for trimming and converting Videos all the time. But, I'm not sure if it can do transition (Let me know if I'm wrong).

I guess if I wanted I could convert my videos to JPEG files with Mencoder and add effects with something like ImageMagik and then convert it back with Mencoder. Just thought there maybe a more direct route. Plus I'm not sure how much quality loss I'll get with all the converting from one format to another.
 
Old 09-18-2007, 02:11 AM   #4
yodermk
Member
 
Registered: Feb 2006
Location: San Antonio
Distribution: Kubuntu Feisty
Posts: 43

Rep: Reputation: 15
Hi,

May not be time-practical for just one use, but if this is a regular task for you, here's something to consider:

Cinelerra works via XML files. It leaves original media untouched, and all transformations from original to output are defined in the XML. So it would be quite conceivable to write a script that generates XML for all the inputs and transitions between them, then call Cinelerra to render it.

I haven't checked to see if Cinelerra can render from a command line option, but even if not it would be mostly automated.
 
Old 09-19-2007, 08:13 AM   #5
metalx1000
Member
 
Registered: Jun 2006
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 16
My next step was to look into doing something like that.
I'll have to look at the XMl files and see what I can do

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fx and video editing philipvarghese Linux - General 1 01-02-2006 01:46 AM
Editing properties of your terminal/shell ? fredgt Linux - Software 3 10-03-2004 10:30 AM
Editing files from shell scripts? SirRobbin Linux - Newbie 6 03-23-2004 10:27 AM
Editing Files Via Shell mattsmith999 Linux - General 2 02-15-2004 12:16 PM
Editing a text file in shell Lotmr Linux - Software 5 06-24-2003 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration