[mythtv] If you use the transcoder please read

Geoffrey Hausheer ou401cru02 at sneakemail.com
Thu Sep 11 15:45:14 EDT 2003


If you haven't noticed, the manner of setting up profiles is getting
ready to change.  The new method is much more flexible/powerful, and it
gives us the ability to add more flexibility to the transcoder as well.

I have two options as to how the transcoder will work (there may be
others, and I'm open to sugestions).

Today there is one transcoder profile.  If you use the transcoder, that
is the profile you get.

In the future there will be multiple transcoder profiles.  There are two
ways to go about this:
1) There is a transcoder profile that maps to each of 'High', 'Low',
'Default', and 'TV'.  This is equivalent to there being a Transcoder
profile group.  Any recording done at 'High' regardless of the card will
be transcoded with the 'High' transcoder settings.

2) Each card-type has a transcoder profile.  This means that all PVR
cards will use the same transcoder settings, regardless of what the
recording settings are.

Neither of these solutions is perfect, and they both have pretty much the
same problem:  You might have 'High' set to 640x480 for bttv, and 720x480
for PVR.  If you select a fixed video-bitrate, then one of your
transcodings will not be at the optimal setting.  this can be mitigated
by allwing myth to auto-scale the bitrate based on resolution, but it
isn't very intuitive.  (2) suffers more from this, as it is more likely
that 'High' quality settings will be comparable across profiles, than
that all of the 'MPEG' profiles will be comparable.  (1) Has a second
problem.  When you start an interactive transcoding, we don't know what
profile it is associated with.  I can detect the recording type (MPEG2,
MPEG4, RTJpeg), but there is no way to map that to a quality level.  If I
go for option (2), I can choose a profile based on the recording format.


If I don't get a good reason to do otherwise, I'll implement (2).  It is
easier to make the transcoder behave consistantly with this method.

Also, I plan to allow auto-transcoding on a per-profile basis.  So you
can autotranscode only your RTJpeg encodings if that is what you want.

Anyone who has a strong opinion has until the time I finish the patch to
convince me to change my mind...unless it's Isaac, in which case, I'll
just do it his way :)

.Geoff


More information about the mythtv-dev mailing list