[mythtv] New MPEG2 commercial-cut code ready for testing

Geoffrey Hausheer mythtv0368 at phracturedblue.com
Tue Nov 15 23:12:01 EST 2005


Here's another one:
http://www.pblue.org/myth/mpeg2fix-0.10.tgz

Should fix:
Cory's problem with an abort that looked like:
Need to insert 139 frames > max allowed: 20

Bryan's problem with an infinite loop (or a failed assert)

Sort of fixes:
Cory's blockiness.  Basically I just forced the quality to be at level
2.  Makes it better, but doesn't necessarily fix the underlying
problem.  There may be other contols that can be sent to the encoder. 
you can play with the line that says 'c->qmax =' to try different
values, lower is better (and bigger) with '1' being the smallest
allowed.  qmax must be >= qmin.  largest allowed  size is 31


Possibly fixes:
Robin's hang.  Assuming it is the same issue Bryan was having.

The crash in avcdec_encode, if it was due to an alignment issue (I
have applied the relevant alignment requested earlier)

Let me know how it goes.

.Geoff


More information about the mythtv-dev mailing list