[mythtv-commits] mythtv/master commit: 48079bbda by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Wed Jul 20 18:46:14 UTC 2011


      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2011-07-20T11:30:44-07:00
   Push Date:  2011/07/20 11:46:03 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  48079bbda6e274754e3db72df8aca159d02aeb8e
   Changeset:  https://github.com/MythTV/mythtv/commit/48079bbda

Log:

Adds mythccextractor, which extracts closed caption and subtitle streams from DVB and ATSC recordings.

This is modeled on the functionality of ccextractor, but currently extacts all streams in one go rather than having you select the streams you want. It places text based captions in SRT files and places image based ones in png's one subdirectory for each language.

I've tested that this doesn't break 608, 708 and DVB teletext and subtitle parsing within the player for the test files I have and does successfully extract all caption and subtitle streams.

One deficiency I noticed was that the primary caption/teletext stream seems to have multiple lines added to the SRT files for each piece of text, perhaps this has to do with text being flushed to the screen more often in these files than in secondary streams, but in any case the secondary streams appear to read better.

This will currently only work with completed recordings. My hope is that limitation will be addressed in a future commit.

This is a code contribution from Digital Nirvana, Inc.

Added:

   mythtv/libs/libmythtv/mythccextractorplayer.cpp
   mythtv/libs/libmythtv/mythccextractorplayer.h
   mythtv/libs/libmythtv/teletextextractorreader.cpp
   mythtv/libs/libmythtv/teletextextractorreader.h
   mythtv/programs/mythccextractor/.gitignore
   mythtv/programs/mythccextractor/commandlineparser.cpp
   mythtv/programs/mythccextractor/commandlineparser.h
   mythtv/programs/mythccextractor/main.cpp
   mythtv/programs/mythccextractor/mythccextractor.pro

Modified:

   mythtv/libs/libmyth/programtypes.cpp
   mythtv/libs/libmyth/programtypes.h
   mythtv/libs/libmythbase/mythcorecontext.h
   mythtv/libs/libmythtv/avformatdecoder.cpp
   mythtv/libs/libmythtv/avformatdecoder.h
   mythtv/libs/libmythtv/cc608reader.cpp
   mythtv/libs/libmythtv/cc608reader.h
   mythtv/libs/libmythtv/cc708window.h
   mythtv/libs/libmythtv/decoderbase.cpp
   mythtv/libs/libmythtv/decoderbase.h
   mythtv/libs/libmythtv/libmythtv.pro
   mythtv/libs/libmythtv/mythplayer.cpp
   mythtv/libs/libmythtv/mythplayer.h
   mythtv/libs/libmythtv/teletextreader.cpp
   mythtv/libs/libmythtv/teletextreader.h
   mythtv/programs/programs.pro



More information about the mythtv-commits mailing list