mpegcat command not found

In this troubleshooting guide we learn how to fix mpegcat command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mpegcat: command not found

or when using sudo you get the following error message

sudo: mpegcat: command not found

Solutions to mpegcat: command not found

How To Fix mpegcat: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mpegcat is provided by gopchop package.

gopchop is:

gopchop cuts and merges MPEG2 video streams. gopchop uses a method to cut streams that does not require re-encoding, and therefore is fast and not prone to the artifacts and degradation of quality inherent in re-encoding. However, cuts are limited to I-frames or group-of-picture (GOP) boundaries. These frames occur frequently enough, and often times at scene transitions, so that gopchop’s method is adequate for many applications.

The typical use is manually editing commercials out of recorded television programs.

Another application is splitting .VOB files from dual-layer DVD rips so that the content can be re-authored such that each half will fit on one single-layer DVD recordable.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gopchop

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gopchop.

sudo apt -y install gopchop

Or if you have aptitude installed you can use the following command.

sudo aptitude install gopchop

Summary

In this tutorial we learn how to fix mpegcat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.