Opened 8 years ago

Closed 8 years ago

#1940 closed defect (duplicate)

Mencoding with hardcoded subtitles: subtitle image is negative

Reported by: lago@… Owned by: reimar
Priority: normal Component: ve
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

If I try to use mencoder to encode an existing MKV file with VobSub? subtitles to a new file with hardcoded subtitles, the subtitles in the resulting file are negative, i.e., the core of the characters get gray (or black, depending on the original vobsub color) and the border gets white.

This happens with many different codecs. If doing the conversion directly from a DVD image, things apparently work correctly.

I have attached an example. The original mkv file was encoded with mencoder and muxed with mkvmerge.

A tip if someone is facing the same problem: as a workaround I started doing something like

mencoder -o outfile.avi -noautoexpand -vf eq2=1:-1,expand=::::1,eq2=1:-1 -sid 0 infile.mkv

Results are far from perfect, but acceptable.

Attachments (1)

subtitles-bug.tar (840.0 KB) - added by lago@… 8 years ago.
example original and resulting files for negative subtitles problem

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by lago@…

example original and resulting files for negative subtitles problem

comment:1 Changed 8 years ago by reimar

  • Resolution set to duplicate
  • Status changed from new to closed

This was already fixed 6 days ago.

Note: See TracTickets for help on using tickets.