Reading subtitle streams performance
See original GitHub issueI recently updated to python 3.8 and the latest master version of SMA, I was previously running on python 2.7 (and I don’t know what the previous version was, but I still have the files so could find out if instructed).
The reading of the subtitle streams is taking much longer, even though I have only ENG, in the autoprocess.ini.
Previously:
2020-06-03 12:27:20 - MANUAL - INFO - Subtitle detected for stream #7: subrip [ger]. 2020-06-03 12:27:20 - MANUAL - INFO - Subtitle detected for stream #8: subrip [gre]. 2020-06-03 12:27:20 - MANUAL - INFO - Subtitle detected for stream #9: subrip [spa]. 2020-06-03 12:27:20 - MANUAL - INFO - Subtitle detected for stream #10: subrip [spa]. 2020-06-03 12:27:20 - MANUAL - INFO - Subtitle detected for stream #11: subrip [fin].
And now, around 3 minutes each:
2020-06-11 09:52:04 - MANUAL - INFO - Text-based subtitle detected for stream 5 - subrip fra. 2020-06-11 09:54:58 - MANUAL - INFO - Text-based subtitle detected for stream 6 - subrip heb. 2020-06-11 09:58:23 - MANUAL - INFO - Text-based subtitle detected for stream 7 - subrip por. 2020-06-11 10:01:08 - MANUAL - INFO - Text-based subtitle detected for stream 8 - subrip spa.
My subtitle section for reference:
[Subtitle] codec = mov_text codec-image-based = languages = eng default-language = eng first-stream-of-language = False encoding = burn-subtitles = False burn-dispositions = download-subs = False download-hearing-impaired-subs = False download-providers = embed-subs = True embed-image-subs = False embed-only-internal-subs = True filename-dispositions = forced ignore-embedded-subs = False attachment-codec =
Any ideas what I may be doing wrong? Thank you.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
Sweet, thanks for following up and glad that improved performance
Thank you. That seems to have done it. I tested it on 2 different files successfully.
2020-06-12 08:17:23 - MANUAL - INFO - Text-based subtitle detected for stream 5 - subrip fra. 2020-06-12 08:17:23 - MANUAL - INFO - Text-based subtitle detected for stream 6 - subrip heb. 2020-06-12 08:17:23 - MANUAL - INFO - Text-based subtitle detected for stream 7 - subrip por. 2020-06-12 08:17:23 - MANUAL - INFO - Text-based subtitle detected for stream 8 - subrip spa.