AVCONV

I sometimes wonder how I miss certain things in the computing Video world. I had never heard of avconv and was a little surprised when I started my google research.

From http://libav.org/avconv.html

“avconv is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.”

So, its very similar to ffmpeg then? Well as it turns out libav is a fork of the FFmpeg project. The fork was basically as a result of conflicting personalities and development styles within the FFmpeg community.

It also has similar sub programs like FFprobe and FFplay:

http://libav.org/avprobe.html

http://libav.org/avplay.html

Before jumping into the Windows builds, I thought I would have a play within a Linux environment (Currently using Mint 12 which is based on Debian & Ubuntu….. Must update to Mint 14 when I get some time!! ).

To get it installed I needed to do an update to Yasm as I only had 1.1 installed and for avconv to work, it requires 1.2!

 
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure
make
sudo make install

Once that’s updated from the repository….

mkdir avconv-source
cd ~/avconv-source
git clone git://git.videolan.org/x264.git x264
cd x264
sudo ./configure --enable-static
sudo make
sudo make install
cd ~/avconv-source
git clone git://git.libav.org/libav.git avconv
cd avconv
sudo ./configure
sudo ./configure --enable-gpl --enable-libx264
sudo make
sudo make install

Now, when you enter avconv into your terminal you should be greeted by something like this..

avconv version v9-222-g6d1114a, Copyright (c) 2000-2013 the Libav developers built on Jan 18 2013 19:22:20 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) Hyper fast Audio and Video encoder usage: avconv [options] [[infile options] -i infile]… {[outfile options] outfile}…Use -h to get full help or, even better, run ‘man avconv’

The syntax and usage is very similar and most cases the same as FFmpeg with the basic method being..avconv [global options] [[infile options][‘-i’ infile]]… {[outfile options] outfile}…

I had some test files and it seemed to work in the same method and I also had to force the input codec to h264 on the files discussed in my earlier post.

I have it running well in Linux so its now over to the Windows environment to see how it fairs there. If you are new to using Linux or want to learn a bit more, remember that the easiest way is to install it inside a virtual machine. I have posted before  about using VM’s and this is undoubtedly the simplest way to try it out. If you screw it up, you can just start again!

Thanks to Mark over at Kinesense for enlightening me on yet another software tool that I want to know more about but just don’t have the time!!!!

Advertisements
By Spreadys Posted in EEPIP

One comment on “AVCONV

  1. Pingback: Linux Mint 14 Cinnamon | Spreadys Space

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s