Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#2365 closed defect (fixed)

Vobsubs not displaying correctly

Reported by: gillux Owned by: beastd
Priority: normal Component: undetermined
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: yes Analyzed by developer: no

Description

A particular vobsub does not display correctly when played with mplayer. A large rectangular shape shows instead of the expected text. The appearing and disappearing times of the rectangular shape match the original subtitles. It seems that the exact same rectangular shape shows for every single subtitle of the video for a given execution of mplayer. The contents of the shape seem to vary inconsistently depending on the contents ~/.mplayer/config or command line options like -ass or -ss. Sometimes it's black, sometimes it contains white dots or patterns (see attached screenshots).

ffplay version n4.2.1 displays the subtitles correctly (see attached screenshot).

The vobsub file came embedded in an MKV file. I extracted it using mkvextract and played it with -vobsub, same result. I created a sample of the vobsub file by keeping the first 2 minutes using dd and a text editor (see attached archive).

Not that this bug differs from #1478 because all the subtitles of the file are incorrectly displayed.

How to reproduce:

% mplayer -v <input> -vobsub bgc.2min -ss 100
MPlayer SVN-r38139 (C) 2000-2019 MPlayer Team
(see attached log file)

Attachments (5)

bgc.tar.gz (13.7 KB ) - added by gillux 5 years ago.
First two minutes of the vobsub
bgc.log (34.4 KB ) - added by gillux 5 years ago.
Mplayer execution log
mplayer1.png (126.0 KB ) - added by gillux 5 years ago.
Subtitle displaying incorrectly
mplayer2.png (254.3 KB ) - added by gillux 5 years ago.
Subtitle displaying incorrectly (different pattern)
ffplay.png (466.7 KB ) - added by gillux 5 years ago.
Subtitle displayed correctly with ffplay

Download all attachments as: .zip

Change History (9)

by gillux, 5 years ago

Attachment: bgc.tar.gz added

First two minutes of the vobsub

by gillux, 5 years ago

Attachment: bgc.log added

Mplayer execution log

by gillux, 5 years ago

Attachment: mplayer1.png added

Subtitle displaying incorrectly

by gillux, 5 years ago

Attachment: mplayer2.png added

Subtitle displaying incorrectly (different pattern)

by gillux, 5 years ago

Attachment: ffplay.png added

Subtitle displayed correctly with ffplay

comment:1 by beastd, 5 years ago

Reproduced by developer: set
Status: newopen

Thanks for the report.

Could reproduce the problem.

Need to take a look at what's happening to tell more.

comment:2 by reimar, 3 years ago

The critical hint is this: vobsub: ignoring palette: 000000, 000000, 000000, 0000ff, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 000000, 858585, fefefe, 000000
MPlayer only supports palette specified in a .ifo file, it seems you do not have a .ifo file and instead the information is in the .idx file, that support needs to be added to MPlayer.

comment:3 by reimar, 3 years ago

Resolution: fixed
Status: openclosed

Actually that was a red herring.
The problem was that the interlacing of the SPU data was weird here, with the bottom field encoded first.
Fixed in r38227.

in reply to:  3 comment:4 by gillux, 3 years ago

Thank you very much, reimar!

Note: See TracTickets for help on using tickets.