[mythtv-users] Mythccextractor does not create a .srt file
Doug Vaughan
r.d.vaughan at rogers.com
Tue Mar 19 16:45:23 UTC 2013
Trond,
Use the mediainfo utility to identify which tracks contain the "TEXT"
subtitlesas those are the tracks you care looking for to generate an srt
file. For example:
> mediainfo 2558_20120901010000.mpg
A text subtitle would like:
Text #1
ID : 5603 (0x15E3)-888
Menu ID : 1 (0x1)
Format : Teletext
Language : English
The output givesyou the track PID (5603) and the code page (888), then
use ccextractor like:
> ccextractor -datapid 5603 -tpage 888 --defaultcolor "#ffd700"
"2558_20120901010000.mpg" "srt_file_5603.srt"
Be aware that some Text tracks do not contain anything that ccextractor
can interpreter so you will need to try them all to get the one you are
interested in using. Alsoccexctractor has a limited number of code pages
(tpage) it can deal with. One last thing the ccextractor executables
distributed with Lossless Cut are special versions given to me by the
author which may not have been released yet.
GoodLuck
Doug
More information about the mythtv-users
mailing list