Closed yanosh-k closed 1 year ago
It looks like Netflix changed the format for the begin and end attributes of the .DFXP subtitles. The subtitles used to work with the following:
begin
end
... <p begin="00:00:34,040" end="00:00:35,500">[men shouting indistinctly]</p> <p begin="00:00:42,375" end="00:00:43,625">[horse neighs]</p> ....
now they only work with the following:
.... <p begin="340400000t" end="355000000t">[men shouting indistinctly]</p> <p begin="423750000t" end="436250000t">[horse neighs]</p> ...
The time in the new attributes is 10000000 * seconds and has t appended to it.
10000000 * seconds
t
Here is a copy of an original subtitles file downloaded from Netflix: N9no1KQV.zip
This has been tested with latest release (v0.3.10), converting the following file: The.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.zip to .DFXP DFXPThe.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.zip, for the following movie: https://www.netflix.com/watch/80182016 (The King - 2019).
Steps to Reproduce: ================
The.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.srt
The subtitles are shown on the screen, when there is a dialog in the movie.
No subtitles are shown on the screen.
Wow, nice description of the problem. Thank you. Fixed.
Description:
It looks like Netflix changed the format for the
begin
andend
attributes of the .DFXP subtitles. The subtitles used to work with the following:now they only work with the following:
The time in the new attributes is
10000000 * seconds
and hast
appended to it.Here is a copy of an original subtitles file downloaded from Netflix: N9no1KQV.zip
Environment:
This has been tested with latest release (v0.3.10), converting the following file: The.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.zip to .DFXP DFXPThe.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.zip, for the following movie: https://www.netflix.com/watch/80182016 (The King - 2019).
Steps to Reproduce: ================
The.King.2019.720p.NF.WEB-DL.DDP5.1.x264-NTG-HI.srt
to .DFXPExpected result:
The subtitles are shown on the screen, when there is a dialog in the movie.
Actual Result:
No subtitles are shown on the screen.