Book navigation

User Actions Menu

User login

Video Convertor Script for Nautilus/Gnome

<!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } -->

Video-Convert (.02.2): This script will take multiple video files of the same type (right now: MPG, AVI, MOV, ASF) and covert them into either NTSC/PAL - dvd, svcd or vcd compliant MPEG files by using ffmpeg (http://ffmpeg.sourceforge.net) or mencoder.

Installation:

  • Requirements: zenity (Comes with gnome 2.4), ffmpeg (apt-get ffmpeg), transcode

  • Place the script in the Nautilus scripts folder (/home/YourUserName/.gnome2/nautilus-scripts)

  • Make sure the file is executable (chmod 740 ~/.gnome2/nautilus-scripts/Video_Convertor2)

  • Select some video files. This works well on the video files my digital camera makes

  • Right-Click -> Choose Scripts -> Video_Convertor2


Background and Credits:

I came across the very nicely done audio-convert script in the Ubuntu forums http://ubuntuforums.org/showthread.php?t=48007 and thought how nice it would be to not have to open each file I want to convert in avidemux manually or by using a script for each file(s) using ffmpeg. So after looking at http://g-scripts.sourceforge.net/ and some of the scripts there:


I ended up working this out with various bits and pieces of the above mentioned scripts. It is not pretty but it works for me. Have fun! (See attached file)

AttachmentSize
Video_Convertor225.17 KB
Video_Convertor_Beta56.17 KB