Please sign in to comment.
Adds mythccextractor, which extracts closed caption and subtitle stre…
…ams 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.
- Loading branch information
Showing with 1,796 additions and 101 deletions.
- +1 −0 mythtv/libs/libmyth/programtypes.cpp
- +1 −0 mythtv/libs/libmyth/programtypes.h
- +1 −0 mythtv/libs/libmythbase/mythcorecontext.h
- +23 −12 mythtv/libs/libmythtv/avformatdecoder.cpp
- +0 −1 mythtv/libs/libmythtv/avformatdecoder.h
- +111 −62 mythtv/libs/libmythtv/cc608reader.cpp
- +31 −8 mythtv/libs/libmythtv/cc608reader.h
- +3 −1 mythtv/libs/libmythtv/cc708window.h
- +1 −0 mythtv/libs/libmythtv/decoderbase.cpp
- +2 −0 mythtv/libs/libmythtv/decoderbase.h
- +2 −0 mythtv/libs/libmythtv/libmythtv.pro
- +714 −0 mythtv/libs/libmythtv/mythccextractorplayer.cpp
- +184 −0 mythtv/libs/libmythtv/mythccextractorplayer.h
- +6 −3 mythtv/libs/libmythtv/mythplayer.cpp
- +5 −5 mythtv/libs/libmythtv/mythplayer.h
- +245 −0 mythtv/libs/libmythtv/teletextextractorreader.cpp
- +40 −0 mythtv/libs/libmythtv/teletextextractorreader.h
- +13 −3 mythtv/libs/libmythtv/teletextreader.cpp
- +5 −5 mythtv/libs/libmythtv/teletextreader.h
- +1 −0 mythtv/programs/mythccextractor/.gitignore
- +26 −0 mythtv/programs/mythccextractor/commandlineparser.cpp
- +19 −0 mythtv/programs/mythccextractor/commandlineparser.h
- +345 −0 mythtv/programs/mythccextractor/main.cpp
- +16 −0 mythtv/programs/mythccextractor/mythccextractor.pro
- +1 −1 mythtv/programs/programs.pro
Oops, something went wrong.