Chinese embedded subtitles not rendering 99% of the time

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
waterbug
Blank Cone
Blank Cone
Posts: 15
Joined: 27 Nov 2003 20:06
Location: Westlake Village, CA
Contact:

Chinese embedded subtitles not rendering 99% of the time

Postby waterbug » 25 Aug 2020 09:02

I used Handbrake to embed two SRT files in a video, one in English and one in Chinese. The resulting MP4 is here (one hour, 1.73 GB :shock: )

When I play this video in Quicktime Player 10.5 on macOS 10.14.6 I can select either subtitle track, and both render correctly.

When I play this video on VLC Media Player 3.0.10 on macOS, I can select the English subtitle track, and it displays correctly. If I select the Chinese subtitle track, it doesn't display anything. Except for one brief period, at 13:10! It was sheer luck that I happened to scrub to one spot where it displays correctly:

Image

I've scrubbed through the rest of the video, and I haven't found any other spot in the video where VLC Media Player renders the Chinese subtitle.

If I manually add the SRT file again, at playback time, then the Chinese subtitles render properly.

VLC Media Player 3.0.10 on Win7/64 behaves identically, e.g. English embedded subtitles render correctly, Chinese embedded subtitles render only at 13:10, and Chinese SRT file added at playback time renders correctly.

So therefore:
  1. SRT file format and embedding appear to be correct, because both embedded tracks display correctly in QuickTime Player.
  2. VLC Media Player can read the embedded Chinese SRT track, because it renders it correctly for one brief interval at 13:10.
  3. The Chinese SRT track is correct, because VLC can render it properly if added at playback time.
  4. VLC Media Player behaves identically on both macOS and on Windows.
Therefore I believe this is a bug! Can any one repro, fix, or workaround?

Thanks!
Never refuse a breath mint.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Chinese embedded subtitles not rendering 99% of the time

Postby InTheWings » 25 Aug 2020 14:01

There's an off-by-one in Handbrake applying styling properties.

There's also a bug dealing with that on our side.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Chinese embedded subtitles not rendering 99% of the time

Postby InTheWings » 25 Aug 2020 15:16

Will be fixed in Nightly Build of VLC by tomorrow.

Meanwhile the main issue:
https://github.com/HandBrake/HandBrake/issues/3084
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

waterbug
Blank Cone
Blank Cone
Posts: 15
Joined: 27 Nov 2003 20:06
Location: Westlake Village, CA
Contact:

Re: Chinese embedded subtitles not rendering 99% of the time

Postby waterbug » 26 Aug 2020 01:22

Wow! Thanks for the rapid response!

Just for clarification--do I need to wait for Handbrake to also fix their bug? Or does the VLC fix work around the Handbrake issue?
Never refuse a breath mint.

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Chinese embedded subtitles not rendering 99% of the time

Postby InTheWings » 26 Aug 2020 11:11

Wow! Thanks for the rapid response!

Just for clarification--do I need to wait for Handbrake to also fix their bug? Or does the VLC fix work around the Handbrake issue?
Will be fixed in Nightly Build of VLC by tomorrow.
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 2 guests