How to install Ffmbc on Ubuntu 16.04

How to install Ffmbc on Ubuntu 16.04

The ffmbc is a video and audio converter for Ubuntu. It can also grab from a live audio/video source. This tutorial explains the installation procedure of ffmbc on Ubuntu.

Installation procedure

To start the installation procedure, add the repository in the target system.

root@linuxhelp1:~# add-apt-repository ppa:djcj/hybrid
Hybrid is a multi platform (Linux/Mac OS X/Windows) Qt based frontend for a bunch of other tools which can convert nearly every input to x264/x265/Xvid/VP9/... + ac3/ogg/mp3/aac/flac inside an mp4/m2ts/mkv/webm/mov/avi container, a Blu-ray or an AVCHD structure.
http://www.selur.de/
http://forum.selur.de/topic612-hybrid-tools-ubuntu-packages.html
More info: https://launchpad.net/~djcj/+archive/ubuntu/hybrid
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpjme0yy0a/secring.gpg'  created
gpg: keyring `/tmp/tmpjme0yy0a/pubring.gpg'  created
gpg: requesting key D4B4972B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpjme0yy0a/trustdb.gpg: trustdb created
gpg: key D4B4972B: public key " Launchpad PPA for djcj"  imported
gpg: Total number processed: 1
gpg:imported: 1(RSA: 1)
OK

The installation is successfully done. Now update the repo in the system.

root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:2 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial InRelease [17.5 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:6 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main amd64 Packages [15.3 kB]
Get:7 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main i386 Packages [15.3 kB]
Get:8 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main Translation-en [9,480 B]
Fetched 57.6 kB in 1s (49.8 kB/s)
Reading package lists... Done

The system is updated with the repository. Now install the package and press y to continue with the installation.

root@linuxhelp1:~# apt-get install ffmbc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
i965-va-driver libass5 libdc1394-22 libfaac0 libgsm1 libmp3lame0 libopenal-data libopenal1 libopenjpeg5 libschroedinger-1.0-0
libsdl1.2debian libva1 libvdpau1 libx264-148 libxvidcore4 mesa-vdpau-drivers va-driver-all vdpau-driver-all vdpau-va-driver
Suggested packages:
ffmpeg | avconv libfglrx-amdxvba1 libvdpau-va-gl1 nvidia-vdpau-driver nvidia-legacy-340xx-vdpau-driver
The following NEW packages will be installed:
ffmbc i965-va-driver libass5 libdc1394-22 libfaac0 libgsm1 libmp3lame0 libopenal-data libopenal1 libopenjpeg5
libschroedinger-1.0-0 libsdl1.2debian libva1 libvdpau1 libx264-148 libxvidcore4 mesa-vdpau-drivers va-driver-all vdpau-driver-all
vdpau-va-driver
0 upgraded, 20 newly installed, 0 to remove and 473 not upgraded.
Need to get 6,959 kB of archives.
After this operation, 35.8 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libgsm1 amd64 1.0.13-4 [27.1 kB]
Get:2 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main amd64 ffmbc amd64 0.7.2-0ppa1.1~xenial1 [3,026 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libschroedinger-1.0-0 amd64 1.0.11-2.1build1 [293 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libopenal-data all 1:1.16.0-3 [101 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libopenal1 amd64 1:1.16.0-3 [164 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libass5 amd64 0.13.1-1 [82.6 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libdc1394-22 amd64 2.2.4-1 [78.8 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial/multiverse amd64 libfaac0 amd64 1.28+cvs20151130-1 [51.3 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 libmp3lame0 amd64 3.99.5+repack1-9build1 [127 kB]
.
.
.
Setting up libva1:amd64 (1.7.0-1) ...
Setting up libx264-148:amd64 (2:0.148.2643+git5c65704-1) ...
Setting up libxvidcore4:amd64 (2:1.3.4-1) ...
Setting up ffmbc (0.7.2-0ppa1.1~xenial1) ...
Setting up libvdpau1:amd64 (1.1.1-3ubuntu1) ...
Setting up mesa-vdpau-drivers:amd64 (12.0.6-0ubuntu0.16.04.1) ...
Setting up i965-va-driver:amd64 (1.7.0-1) ...
Setting up vdpau-va-driver:amd64 (0.7.4-5) ...
Setting up va-driver-all:amd64 (1.7.0-1) ...
Setting up vdpau-driver-all:amd64 (1.1.1-3ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

For checking the version of the ffmbc, run the following command.

root@linuxhelp1:~# ffmbc -v
FFmbc version 0.7.2
Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
ffmbc: missing argument for option ' v' 

For help, run the command to retrieve the options that can be used in ffmbc.

root@linuxhelp1:~# ffmbc -h
FFmbc version 0.7.2
Copyright (c) 2008-2014 Baptiste Coudurier and the FFmpeg developers
usage: ffmbc [options] [[infile options] -i infile]... {[outfile options] outfile}...
Main options:
-Lshow license
-hshow help
-?show help
-helpshow help
--helpshow help
-versionshow version
-formatsshow available formats
-codecsshow available codecs
-bsfsshow available bit stream filters
-protocolsshow available protocols
-filtersshow available filters
-pix_fmtsshow available pixel formats
-metadata_tagsshow available metadata tags per format
-loglevel loglevelset libav* logging level
.
.
.
3gp muxer options:
-movflags< flags>  E.... MOV muxer flags
rtphintE.... Add RTP hint tracks
-rtpflags< flags>  E.... RTP muxer flags
latmE.... Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC
-faststart< string>  E.... Pre-allocate space for the header in front of the file: < size or ' auto'  or ' no' > 
Files are automatically rewritten if size is <  20MB unless ' no'  is specified.
wav muxer options:
-write_bext< int> E.... Write BEXT chunk.

For removing the package, enter the following command and ffmbc gets removed from the system.

root@linuxhelp1:~# apt-get remove ffmbc -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
i965-va-driver libass5 libdc1394-22 libfaac0 libgsm1 libmp3lame0 libopenal-data libopenal1 libopenjpeg5 libschroedinger-1.0-0
libsdl1.2debian libva1 libvdpau1 libx264-148 libxvidcore4 mesa-vdpau-drivers va-driver-all vdpau-driver-all vdpau-va-driver
Use ' sudo apt autoremove'  to remove them.
The following packages will be REMOVED:
ffmbc
0 upgraded, 0 newly installed, 1 to remove and 473 not upgraded.
After this operation, 8,117 kB disk space will be freed.
(Reading database ... 176739 files and directories currently installed.)
Removing ffmbc (0.7.2-0ppa1.1~xenial1) ...
Processing triggers for man-db (2.7.5-1) ...

Wasn' t that an easy installation? ffmbc can also convert from any sample rate to any other.

FAQ
Q
What is the stable PPA to be used for Ffmbc?
A
Use PPA add-apt-repository ppa:djcj/hybrid for Ffmbc installation.
Q
What is Ffmbc Tool?
A
Ffmbc is a video and audio converter for Ubuntu. It can also grab from a live audio/video source.
Q
Option to check for the list of formats in Ffmbc?
A
For Ffmbc use option"-formatsshow".
Q
What is the stable PPA to be added for Ffmbc?
A
The stable PPA to used for adding Ffmbc "add-apt-repository ppa:djcj/hybrid"
Q
Option to see available bit stream filters on Ffmbc?
A
To see available bit stream filters on Ffmbc use option -bsfsshow.