About
-----

I put this together to make it easier to convert videos from gtk-recordmydesktop's ogg/ogv files into flv for web uploads. 

License
-------

Code put together by Jean-Claude, Oct 2008 - https://wiki.ubuntu.com/JeanClaude
This code is licensed under the General Public License as released by the Free Software	Foundation. You may use, modify and distribute as long as you use the GPL2 or later version. 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Requirements
------------

- Zenity (Included with Gnome 2.4?)
- gnome-utils
- Mencoder

Installation
------------

Double click on the "install" file. Select "Run" if prompted. This should copy the script over to the appropriate directory and make it executable. If this fails...

Copy the 'Ogv to Flv Converter' file to your "/home/username/.gnome2/nautilus-scripts" folder and make sure it is executable. Right click over the file and select "Properties" -> "Permissions" and select the checkbox "Allow executing file as program" or "chmod +x filename" from a terminal.

Ubuntu 8.10 (Intrepid):

You may need to manually download and install: 

- libenca0 From: https://launchpad.net/ubuntu/intrepid/i386/libenca0/1.9-4
- libtwolame0 From: https://launchpad.net/ubuntu/intrepid/i386/libtwolame0/0.3.10-2
- Then sudo apt-get install mencoder

Known Issues
------------

- It's kind of slow, but it takes a little while to re-encode video anyway. Doing it from the terminal will take just as long! :-)
- The process of converting to AVI first is not the best way, but it works.
- Cancel buttons do not work, yet! Unfortunetly this seems to be a problem on some Distros like the popular "Ubuntu" based systems. https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/220656
- The resulting file has two extensions; filename.ogv.flv for example. 

Contact
-------

Please let me know if you've used this script and how it's working out for you. Also, if you have any problems, e-mail me at siafulinux@gmail.com or leave a comment on this site.

No promises that I'll be able to get back to you, but at least I can try to look at the issue.

https://wiki.ubuntu.com/JeanClaude

Changelog:
10/07/2008:

- When installing mencoder for you, the script should detect if it did not succeed. After installing, script will continue without further prompts, unless the above error is detected or entire script completes.
- If one selects the wrong file format, you should now get an error.
- Added a simple install script.
- Changed version number from 0.1 to 1.0.
- Added readme.txt :-)


10/30/2008:

- Fixed problem with Ubuntu 8.10 (Intrepid) where it would incorrectly determine file type and prevent conversion. Thanks to Edwin for feedback on this issue.

11/16/2008:

- Added size selection box with the following options: 320x240, 640x480, 800x600, 1027x768. Thanks to Robin for the original code. Moved to provide for "file format error" prompt before asking for size though.
- Added flash conversion support due to some apparent differences in flash formats or methods of encoding. Also if one wishes to resize a flash file.
