Gopdit

(Version 0.2.9)

Introduction

gopdit (GOP accurate editor) is a simple program that allows you to cut and merge MPEG2-PS files at GOP boundaries without reencoding. That's it. No other file types! No other operations! Its use is mainly for removing commercials out of tv recordings.

The state of this program is more or less beta. It is usable, when you know, what works and when you have MPEG2 files like the ones I use.

The interface isn't much tested yet. So if you are doing something unexpected - and currently nearly everything is unexpected - this could result in strange behaviour!

As for MPEG2 file formats - currently I work only with two different types resulting from ATI and Hauppauge encoders. So I don't know, how this program will behave on other formats. Encoders that encode with closed GOPs are preferable, because the resulting transitions are usually smoother.

The program can also be called without X.

Please tell me (Reinhard.Enders@gmx.de) about your suggestions, program errors and strange behaviour!

Usage

  1. open a mpeg2 file (file -> open ... )
  2. navigate to the beginning of your wanted clip  (via playing, scrolling, keyboard accelerators)
  3. click the 'clip begin' button left below the clip table
  4. navigate to the end of your wanted clip
  5. click the 'clip end' button right below the clip table - the clip will now appear in the table
  6. you can repeat steps 2-5 or 1-5
  7. save the concatenated clips to a new mpeg2 file (file -> save as ...)

Using the keyboard instead of mouseclicks usually improves your navigation speed (after you get used to it) - i.e. you can keep the arrow keys pressed for scrolling forwards and backwards.



Screen Description


Description

Preferences

Currently there are four preference tabs:

Control Keys

Playing:

Slider (has to have the focus):

Clip table:

Clip selection:

Zooming:

Miscellaneous:


In order to speed up the search for the correct cut point, you can zoom in: the slider will then range over a smaller section of the file.

The numbers displayed aren't really GOP or picture numbers, they are simply file offsets divided by 1000000. They should give you some idea of where you are.

The time displayed is just the time found in the GOP structure.

Scriptable Version

There is also the possibility to call gopdit without firing up X:

# gopdit [<options>] -x [<mpegin>] <editlist> <mpegout>

<editlist> and <mpegout> can be replaces by '-' for stdin and stdout respectively.

When calling gopdit with -x,  parameters are read from .gopditrc, but can be overriden by options (see gopdit -h). When <mpegin> isn't specified, the <editlist> must contain commands for opening mpeg files.


Personal/Financial Notes

If you're already a PayPal member, and find gopdit really useful, you could donate a small sum of money, for which I would be extremely grateful (see also the gopdit homepage: "http://gopdit.ath.cx").


Reinhard.Enders@gmx.de