I've been having trouble with this because I'm new to Linux:
I would like to convert different video formats to ogv. I found some terminal commands like this: ffmpeg -i input.avi -acodec libvorbis -ac 1 -b 768k output.ogg
The problem with these type of commands is that they are intended to change bit rate, fps, or even resolution. I would like to just change the file format without changing anything else about the video.
I looked at the man pages for ffmpeg
and found some useful info but I don't know how to space command-line options.
Are there any easy ways to do this? In addition, is there a command to change the bit rate so that it doesn't go over a certain rate?
You can simply run this to do the conversion.
Dont bother to put any options for bitrate or aspect ratio. It will choose for itself. You can set the max audio bitrate to 192000 (or whatever value you want, upto 320000 AFAIK) by adding
-ab 192000
anywhere in the command. Also, you set the video bitrate at say, 1200kb (or any other value), by including-b 1200kb
in the command.So here is the command in the end, (the order of options dont matter, since you asked. nothing to worry)
Here is a good guide to all that you might want to do.
I don't usually use the terminal for my audio/video conversions. I guess that's one area where I like to stick to the GUI.
There's a Windows application called Format Factory, and it runs well in WINE. Once you install it, the left side of the window has all the conversion options. I think it's pretty self-explanatory from there. I hope that works!
http://www.iasptk.com/ff-multi-converter-is-a-simple-graphical-application-which-enables-you-to-convert-audio-video-image-and-document-files-between-all-popular-formats
FF Multi Converter is a simple graphical application which enables you to convert audio, video, image and document files between all popular formats, using and combining other programs. It uses ffmpeg for audio/video files, unoconv for document files and PythonMagick library for image file conversions.
The goal of FF Multi Converter is to gather all multimedia types in one application and provide conversions for them easily through a user-friendly interface. Extra options will be gradually added.
The application is written in python and PyQt.
All code is licensed under the GNU General Public License.
FF Multi Converter is free software - software that respects your freedom.
Features
Conversions for several file formats.
Very easy to use interface.
Access to common conversion options.
Options for saving and naming files.
Recursive conversions.
Installing on Ubuntu and Debian
Stable release
To add the ppa to your system resources and install ffmulticonverter, open a terminal and enter:
I found pretty useful
ffmpeg2theora
, which kept original video's quality (full HD), launching the commandI figured it out here is the command
-b is target bit rate -bt is like max bit rate -ac 2 -ar 48000 is stereo 48 kHz -ab is audio bit rate