Linux Video Editing Tips

ElijahLofgren

I follow Jesus Christ, enjoy helping people, and like making websites. Who is Jesus?

Jesus gives me overflowing hope, peace, and joy in this short life of mine. You can have it too! :)

My life mission: "Whatever you do, do it all for the glory of God." - 1 Corinthians 10:31

You are here: Home » Linux Tips » Video Editing Tips

Linux Video Editing Tips

Contents

Edit DVDs with Avidemux

Using Avidemux you can edit the vob files off a DVD (vob files are just mpegs I think).

Burn Video DVDs with K3b

Say you have your "AUDIO_TS" and "VIDEO_TS" folders ready and you want to use them to burn a DVD video, here's how to do that:

  1. Run this command replacing "mydvd" with the name of the folder containing the "AUDIO_TS" and "VIDEO_TS" folders:

    mkisofs -dvd-video -o mydvd.iso mydvd/
  2. Open K3b and go to "Settings -> Configure K3b"
  3. Click on "Programs"
  4. Click on the "User Parameters" tab.
  5. Double-click under "Parameters" next to "growisofs"
  6. Paste: "-dvd-compat" in the blank. (The "-dvd-compat" option enables maximum media compatibility with DVD-ROM/-Video.)
  7. Click on the "Programs" tab.
  8. Click the "OK" button.
  9. Click the "Burn DVD ISO Image..." button.
  10. Click on the blue "folder" icon.
  11. Find and select "mydvd.iso" and click the "OK" button.
  12. Click the "Start" button.

Easily Create DVDs with Menus

Use KMediafactory which uses templates to allow you to quickly and easily create DVDs with great-looking menus.

Make Cinelerra look much nicer!

I just saw this screenshot of Cinelerra using the Blue Dot theme and I was like "WOW! It looks like a KDE app!".

Here's how to switch to using the Bluedot theme in Cinelerra:

  1. Go to Settings -> Preferences...
  2. From the drop-down list choose "Interface".
  3. Under the "Editing" next to "Theme:" select "Blue Dot" instead of "Blond" from the drop-down list..
  4. Click "OK".
  5. Close and reopen Cinelerra.

Now Cinelerra should look much nicer.

Get DVDShrink working under Wine

See the following pages:

  1. HOWTO: dvdshrink in wine
  2. Wine DVD-Shrink: CD-Rom Fix

Scale down an MPEG

Modified: 2006-08-22 21:13:17

To resize an MPEG video file install mencoder and run a command like this:

mencoder input.mpeg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell  -oac copy -vf scale=360:240 -o output.avi

Change 360:240 to the size that you want.

The Steps I used to create a DVD from DV video

Modified: 2007-05-21 14:35:03

Note: I started with Windows programs.

  1. Caputured with WinDV
  2. Edited with Windows Movie Maker
  3. Converted from AVI to MPG with mencoder
  4. Used Avidemux to see the exact time that I wanted to start each chapter and used those times to write to a text file that I imported into KMediaFactory.
  5. Created DVD Menu with KMediaFactory and created a DVDAuthor project. I created a custom KMediaFactory template in order to display the chapter images that I wanted.
  6. Created a DVD directory with DVDAuthor:

    mkdir mydvd
    dvdauthor -o mydvd -x mydvd-dvdauthor.xml
    
  7. Previewed the DVD with XINE:

    xine dvd:/usr/tmp/mydvd/VIDEO_TS/

Convert AVI or ASF to MPEG

Modified: 2007-06-04 12:48:38

From Convert any video file to DVD with open source tools

Run this command to convert an ASF file to MPEG:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup \
-srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=4/3:\
acodec=ac3:abitrate=192 -ofps 30000/1001 -o your_video.mpg your_wmv_file.asf

See HOWTO mencoder divx to dvd: Using MEncoder for an explanation of what all those parameters mean.

Now you can use something like KMediafactory to create a DVD out of it. :)

Video Editing Bookmarks

Convert AVI to FLV in Linux

Modified: 2008-04-01 15:52:38

I am using what is posted here: :

#!/bin/sh

mencoder -forceidx \
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames \
-of lavf -ffourcc FLV1 \
-oac mp3lame -lameopts abr:br=56 -srate 22050 \
-ovc lavc \
-lavcopts vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \
-vf scale=360:240 \
-o $1.flv $1

Just save that in a script, make it executable, then call it with the name of the AVI file you want to convert as the only argument. :)

Then you can easily use JW FLV MEDIA PLAYER to embed it on your website! :)

Comments

Comments? Questions? What do you think?

Add A Comment

Type in the letters/numbers in the picture below (spam prevention measure):

1 + 5 =
Your Name(*):
Comment(*):

Last Modified: May 20, 2008 03:30 PM

Back to Top

Previous page: Debian Linux Tips

Next page: Familiar Linux Tips