*******************************
IMPORTANT!!!
This patch has been generated with some changes that
are required to use project-x 0.90.2.
*******************************
This patch has been created to allow mythburn to do a
slightly better job of determining the tcrequant
resizing factor.
To do so, I added an additional 1/2 pass to the
process. Basically, if cutlists are requested, then it
is only doing 1/2 a pass, in that it does an additional
mpeg2cut to parse out the audio and video streams.
Then it applies the cutlist if requested, and takes the
size( cut .m2v) + size ($audio) to determine the total
approx size of this segment.
There is an additional bit of math done to
incrementally increase the tcrequant factor, based upon
the number of segments being processed. Each
segment/show/file adds approx 1%. This is to allow for
additional overhead from each show. So, for instance,
if there are 6 shows and each show is 800M, that would
total 4800M. That's greater than the 4450 threshold.
To calculate the new factor, the script would divide
4300 / 4800*1.06 to get the new factor. The 1.06 is
used to account for the additional overhead.
If there is some better way to estimate the overhead
per file/show, I'm sure this could be improved.
I created the extra 1/2 pass loop, because I don't
understand the way some of the pieces work, but I did
determine that the tcrequant needs to be done after the
commercial cut, but it needs to happen in the same
pass. If it's done in a following pass, that seems to
mess up the streams, and causes the createmenu process
to barf. So, I needed a non-intrusive way to determine
the final cut size.
Patch to estimate filesize of programs after applying cut list (using project 0.90.2)
Logged In: YES
user_id=1486397
Is there any chance of getting this patch integrated into
CVS, or does anybody have an updated version of this patch
which applies to current CVS?
At the moment, when I burn TV shows to DVD I end up with a
DVD image of about 3GB size, and rather high requantization
factors; because of the long commercial time cut out of the
recordings, mythburn massively overestimates the resulting
DVD image size.