[mythtv-users] Re: Deleted commercials show up again on DVD.

Grant Edwards grante at visi.com
Wed Sep 22 10:38:06 EDT 2004


On Tue, Sep 21, 2004 at 10:48:40PM -0700, Blammo [doh] wrote:

> > > > 3) Enable the MPEG2->MPEG2 transcoding feature in Myth.
> 
> How does one do this?

You can either go into the database and set the encoder
selection to "MPEG-2" manually using SQL commands the
table/field name is in the mailling list archives in a thread
from January on mythtv-dev:

  http://mythtv.org/pipermail/mythtv-dev/2004-January/018064.html

Or, if you're like me and more comfortable with gcc than with
mysql, you can add that to the list of options by editing the
sources and recompiling.

In 0.15.1, it's in libs/libmythtv/recordingprofile.cpp in
selectCodecs() that starts at line 587:

   587      void selectCodecs(QString groupType)
   588      {
   589          if(!groupType.isNull())
   590          {
   591              if(groupType == "MPEG")
   592                 codecName->addSelection("MPEG-2 Hardware Encoder");
   593              else if(groupType == "MJPEG")
   594                  codecName->addSelection("Hardware MJPEG");
   595              else
   596              {
   597                  // V4L, TRANSCODE (and any undefined types)
   598                  codecName->addSelection("RTjpeg");
   599                  codecName->addSelection("MPEG-4");
>>>600                  codecName->addSelection("MPEG-2");
   601              }
   602          }
   603          else
   604          {
   605              codecName->addSelection("RTjpeg");
   606              codecName->addSelection("MPEG-4");
   607              codecName->addSelection("Hardware MJPEG");
   608              codecName->addSelection("MPEG-2 Hardware Encoder");
   609          }
   610      }

I added line 600
   
-- 
Grant Edwards
grante at visi.com


More information about the mythtv-users mailing list