How to install mp4fpsmod on Ubuntu 16.04

How to install mp4fpsmod on Ubuntu 16.04

The mp4fpsmod is a tiny mp4 code editor that can used to change fps, delaying audio tracks, executing DTS compression and extracting time codes of mp4. This tutorial covers on how to install mp4fpsmod on Ubuntu.

Installation procedure

To start the installation procedure, first add the repo in the Ubuntu system and run the following command.

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/tmpuxzol5li/secring.gpg'  created
gpg: keyring `/tmp/tmpuxzol5li/pubring.gpg'  created
gpg: requesting key D4B4972B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpuxzol5li/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 repository is successfully added. Now update the repo in the target system.

root@linuxhelp1:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:2 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial InRelease [17.5 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main amd64 Packages [15.3 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 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 364 kB in 2s (125 kB/s)
Reading package lists... Done

The system is updated with the installed repository. Install the mp4fpsmod package and press y to continue.

root@linuxhelp1:~# apt-get install mp4fpsmod -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mp4fpsmod
0 upgraded, 1 newly installed, 0 to remove and 473 not upgraded.
Need to get 246 kB of archives.
After this operation, 818 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/djcj/hybrid/ubuntu xenial/main amd64 mp4fpsmod amd64 0.24+git20160804-1~xenial [246 kB]
Fetched 246 kB in 5s (47.6 kB/s)
Selecting previously unselected package mp4fpsmod.
(Reading database ... 176594 files and directories currently installed.)
Preparing to unpack .../mp4fpsmod_0.24+git20160804-1~xenial_amd64.deb ...
Unpacking mp4fpsmod (0.24+git20160804-1~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mp4fpsmod (0.24+git20160804-1~xenial) ...

For using the mp4fpsmod package, run the following command. It displays the list of options that can be used in mp4fpsmod.

root@linuxhelp1:~# mp4fpsmod
mp4fpsmod 0.24
(libmp4v2 trunk-r507)
usage: mp4fpsmod [options] FILE
-o < file> Specify MP4 output filename.
-p, --print < file> Output current timecodes into timecode-v2 format.
-t, --tcfile < file> Edit timecodes with timecode-v2 file.
-x, --optimizeOptimize timecode
-r, --fps < nframes:fps> 
Edit timecodes with the spec.
You can specify -r more than two times, to produce
VFR movie.
" nframes"  is number of frames, which " fps"  is
applied to.
0 as nframes means " rest of the movie" 
" fps"  is a rational or integer.
For example, 25 or 30000/1001.
-c, --compress-dtsEnable DTS compression.
-d, --delay < n> Delay audio by n millisecond.
-T, --timescale < keep|n> 
keep: Keep original timescale.
n: Set timescale of videotrack to n.

For removing the package, enter the remove command and press y to continue.

root@linuxhelp1:~# apt-get remove mp4fpsmod -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mp4fpsmod
0 upgraded, 0 newly installed, 1 to remove and 473 not upgraded.
After this operation, 818 kB disk space will be freed.
(Reading database ... 176599 files and directories currently installed.)
Removing mp4fpsmod (0.24+git20160804-1~xenial) ...
Processing triggers for man-db (2.7.5-1) ...

Wasn' t that an easy installation? The mp4fpsmod can also produce straighforward DTS.

Tag : mp4fpsmod
FAQ
Q
What is the stable PPA used for installing mp4fpsmod?
A
For installing mp4fpsmod use "add-apt-repository ppa:djcj/hybrid".
Q
What is mp4fpsmod?
A
mp4fpsmod is a tiny mp4 code editor that can be used to change fps, delaying audio tracks, executing DTS compression and extracting time codes of mp4.
Q
Will mp4fpsmod be useful for delaying audio tracks?
A
mp4fpsmod is a tiny mp4 code editor that can be used to change fps, delaying audio tracks, executing DTS compression and extracting time codes of mp4.
Q
How to optimize timecode in mp4fpsmod?
A
To optimize timecode in mp4fpsmod "-x, --optimizeOptimize timecode"
Q
Please provide the syntax for using mp4fpsmod command?
A
The syntax for using mp4fpsmod command mp4fpsmod [options] FILE