Mailing List Archive

[MythTV/mythtv] 426f90: Restore SubtitleCodec combo box.
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 426f908cc87af38eb338be810e20cf8e12339af6
https://github.com/MythTV/mythtv/commit/426f908cc87af38eb338be810e20cf8e12339af6
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-21 (Wed, 21 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/dbcheck.cpp
M mythtv/programs/mythfrontend/globalsettings.cpp

Log Message:
-----------
Restore SubtitleCodec combo box.


Commit: 86235fe5f9ff4e221aa654fe16e75288a7860f4c
https://github.com/MythTV/mythtv/commit/86235fe5f9ff4e221aa654fe16e75288a7860f4c
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-21 (Wed, 21 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp

Log Message:
-----------
Fix misspelled word.


Commit: 41c761edbe5ac172731b7c459a8cda49d161847c
https://github.com/MythTV/mythtv/commit/41c761edbe5ac172731b7c459a8cda49d161847c
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp

Log Message:
-----------
Use FFmpeg to convert external subtitles to utf-8.

This requires examining the file contents before initializing the
FFmpeg subtitle codec. If the file encoding is already utf-8, no
conversion is required. If not, then the codec is initialized to
convert from user specified encoding to utf-8. The encoding
conversion is handled integral to FFmpeg using the system iconv
library.

Refs #756.


Commit: 3988655b055d692f0930f88e3850663dfbcaf414
https://github.com/MythTV/mythtv/commit/3988655b055d692f0930f88e3850663dfbcaf414
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/programs/mythfrontend/globalsettings.cpp

Log Message:
-----------
Update SubtitleCodec setting to list iconv encodings.

Now that the subtitle re-encoding is performed by FFmpeg(iconv), the
selection box should provide the list of encodings supported by iconv.


Commit: 2a8ff77dd32172f3acd2ace696740302e4f0a84b
https://github.com/MythTV/mythtv/commit/2a8ff77dd32172f3acd2ace696740302e4f0a84b
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.h

Log Message:
-----------
subtitles: Move two local variables to the class instance.


Commit: ca16b82544ae3a8d49b18271e9a7fe39ece26a60
https://github.com/MythTV/mythtv/commit/ca16b82544ae3a8d49b18271e9a7fe39ece26a60
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/subtitlereader.h
M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.h

Log Message:
-----------
Read subtitles on demand, instead of all at once.

When the FFmpeg code opens a subtitle file, it immediately parses the
entire file and builds an internal list of all the subtitles. There
is no reason to duplicate this work in MythTV. MythTV now requests
the subtitles from FFmpeg one at a time.


Commit: 76ea9ac7ff6bc6137bbb0cddfe1ba449dc977c1c
https://github.com/MythTV/mythtv/commit/76ea9ac7ff6bc6137bbb0cddfe1ba449dc977c1c
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/subtitlereader.h

Log Message:
-----------
Revert earlier code that prevents clearing the AVsubtitles queue.

This code is no longer necessary now that MythTV is relying on FFmpeg
to maintain the complete set of subtitles, and is requesting subtitles
one at a time.


Commit: 05ff55b9474dce6ffa86746c216e35b24323b403
https://github.com/MythTV/mythtv/commit/05ff55b9474dce6ffa86746c216e35b24323b403
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/subtitlereader.h
M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
M mythtv/libs/libmythtv/captions/subtitlescreen.h
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.h
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

Log Message:
-----------
Keep external subtitle stream in sync with video stream.

Whenever a seek is performed on the FFmpeg context for the main video
file, perform the same seek on the context for the external subtitle
file. This keeps the subtitles aligned with the video.

Refs #758.


Commit: dc80af6e74d8343a6c4cb1913bfe3f3c9c79bb8f
https://github.com/MythTV/mythtv/commit/dc80af6e74d8343a6c4cb1913bfe3f3c9c79bb8f
Author: David Hampton <mythtv@love2code.net>
Date: 2023-06-22 (Thu, 22 Jun 2023)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/subtitlereader.h
M mythtv/libs/libmythtv/captions/subtitlescreen.cpp
M mythtv/libs/libmythtv/captions/subtitlescreen.h
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp
M mythtv/libs/libmythtv/captions/textsubtitleparser.h
M mythtv/libs/libmythtv/dbcheck.cpp
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
M mythtv/programs/mythfrontend/globalsettings.cpp

Log Message:
-----------
External subtitles fixes for synchronization and non-utf8 encodings.


Compare: https://github.com/MythTV/mythtv/compare/d5c727cde79d...dc80af6e74d8
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits