[mythtv] [PATCH] MPEG2->MPEG2 commercial cut (myth patch)

Geoffrey Hausheer ou401cru02 at sneakemail.com
Thu Jan 1 17:28:33 EST 2004


Okay, now that I'm back from holidays, here is a new version of the
mpeg2->mpeg2 commercial cut code.

It is no longer self-sufficient, but instead is a patch against mythtv. 
You will need the latest CVS, as it is built on top of some
reorganization that I just committed.

This patch:
Reimplements the code in C++/Qt, and includes significant cleanups
Merges the code with mythtranscode
Hopefully does better A/V syncing


After compiling (you need to do a qmake in programs/mythtranscode), the
new code can be tested in two ways:

use the new '-i' switch to mythtranscode to specify an input file.  the
output will be <input>.tmp  This forces the new code to be used, and does
NOT support using a cutlist (so it is basically a NO-OP, but useful for
testing that it doesn't screw anything up).  Don't get too attached to
this method, I'm not sure I'll keep it.

OR...

change your transcoding profile in mysql to have videotype 'MPEG-2'. 
This command should do it:
update recordingprofiles set videocodec = "MPEG-2" where name = "MPEG2";

You can now use mythtranscode as usual (use -c and -s switches from
command-line, or 'X' from mythfrontend)  Any mpeg2 encodings will get run
through the new code.

There is no way to select this from the GUI, since it is still not well
tested.

I'd like any bug reports.  If I don't hear anything, it'll probably go
into CVS in about a week.

.Geoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transcode18.patch.gz
Type: application/x-gzip
Size: 9805 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040101/2fc20a09/transcode18.patch.bin


More information about the mythtv-dev mailing list