Opened 10 years ago

Closed 9 years ago

#8222 closed defect (fixed)

yellow subtitles in mythvideo with internal playerbv

Reported by: joakim.becker@… Owned by: markk
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: 0.22
Severity: low Keywords: subtitles yellow internal player
Cc: Ticket locked: no

Description

I get yellow subtitles from a mkv container made with mkvmerge from filename.avi (xvid encoded dvd backup made with mencoder), filename.idx, filename.sub. I run mythtv 0.22 (mythbuntu 9.10 ). When I view the mkv from mplayer the sub's are white like they suppose to and before the mkvmerge the files showed white sub's in mplayer. The reason that I have made mkv files is that thats the only way to get the internalplayer to play sub files ( that I have found)

Attachments (1)

1 copy.idx (32.1 KB) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by robertm

Component: MythTV - GeneralMythTV - Video Playback
Owner: changed from Isaac Richards to markk
Status: newassigned

Suspect this has to do with the colorspace the subtitles are rendered with, and don't know for sure but this might not be an issue at all in the OSD branch. Mark, please unassign if this doesn't interest you (and forgive my presumption).

comment:2 Changed 10 years ago by markk

DVD subtitle colours are chosen from a specific palette (or CLUT - Color Look Up Table) when being played from a DVD. When the DVD is converted to another format (e.g. Matroska), the CLUT is unavailable and hence ffmpeg makes a best guess for a reasonable palette to use. For some reason, this is based on shades of yellow. ffplay has the same problem.

I haven't tracked down where in the mplayer code the correction is made but, assuming the ffmpeg selection is deliberate, the fix is to use our own palette when playing dvd subtitles and the container is not a dvd filesystem.

comment:3 Changed 9 years ago by markk

Resolution: fixed
Status: assignedclosed

(In [24956]) Improved display of DVD subtitles in containers other than the original.

This changes the default ffmpeg colour choice of yellow to white, so that we get greyscale rendering rather than shades of yellow and fixes the range so that we get the full scale from black to white.

This is by no means a complete fix as the palette is still a best guess and hence the edges are sometimes brighter than the text and sometimes the brightest shade (i.e. white) is not used - and hence the subtitles appear grey.

Closes #8222

Changed 6 years ago by anonymous

Attachment: 1 copy.idx added
Note: See TracTickets for help on using tickets.