Log in

View Full Version : The subtitles color is changing while the movie is playing


Pringles
12th February 2010, 14:23
Hi,

As I stated in my other subtitle topic, I'm converting my Z2 DVD of Titanic to a x264 mkv file. On this collector edition, the movie is splitted on 2 discs, so I had to encode the 2 parts separatly and then join them with mkvmerge.

I ripped the 2 sets of subs with VSRip and joined them with the Vobsub merger. But the subtitles color is changing in the 2nd part of the movie and goes from white to yellow.

Here are pictures of my screen as I couldn't do screenshots showing the subs.


http://s2.noelshack.com/uploads/images/6666285334797_12022010008.jpg

http://s2.noelshack.com/uploads/images/8695774025631_12022010009.jpg

I tried to edit the idx file of the 2nd part to change the subs palette so it matches the 1st part, but it didn't do the trick.

Do you know a way to correct this color problem so sub remains white even after being merged?

Thanks in advance ;)

setarip_old
12th February 2010, 18:31
I tried to edit the idx file of the 2nd part to change the subs palette so it matches the 1st part, but it didn't do the trick.I would think that, since you've now JOINED the two subtitle streams, you should have only one .IDX file and one palette for the entire video...

Pringles
12th February 2010, 22:16
I edited the the 2nd idx (the yellow one) so it would appear like the 1st one (white) before joining, and then joined the 2 files.

But even after this, the joined file displays the 2 parts of the film like on the pictures above... which is odd as there is only one palette.

:confused:

setarip_old
13th February 2010, 03:07
I edited the the 2nd idx...Again, I would think that, since you've now JOINED the two subtitle streams, you should have only one .IDX file and one palette for the entire video...

Sounds like (under MKVMerge) you've used the "Add" (separate additional title) rather than "Append" (Join into ONE title)

Pringles
13th February 2010, 12:53
Here is what I did:
- used mkvmerge to join the 2 mkv files with the append button
- edited the idx of the 2nd part of the movie so the palette would look like on the idx of the 1st part (The Titanic movie is spread over 2 discs, DVD1 lenghth = about 1h43)
- joined the 2 idx with the vobsub joiner.
- I end up with one idx that matches perfectly the movie but the subtitles color switches from white to yellow after 1h43 which was the exact start of the original DVD2.

Any idea why a subtitles would change its appearance like this ??

0xdeadbeef
13th February 2010, 17:15
If the palettes of the two DVD differ, then the frame palettes of the subtitles also differ. E.g. if white is index 4 in the 1st palette, but index 8 in the 2nd, than the frame palettes of the subtitles on the first DVD would use index 4 for white, while they would use index 8 on the 2nd DVD.
Since in the end, only one palette is used, the frame palettes from the other DVD will then refer to a wrong color. Guess that is exactly what happened here.
If so, the only workaround would be to patch all the frame palettes of the subtitles of the 2nd DVD. Patching the global palette is futile.

Pringles
13th February 2010, 17:43
If so, the only workaround would be to patch all the frame palettes of the subtitles of the 2nd DVD. Patching the global palette is futile.

Thanks for your input. Now my question would be: how do I patch a palette? :D

setarip_old
13th February 2010, 19:15
If the palettes of the two DVD differI find it extremely hard to believe that a COMMERCIAL two-disc movie would use different colored subtitles on Disc 2 than on Disc 1.

BTW, what is "Z2"?

Pringles
13th February 2010, 19:47
Why would I lie about that (you saw the pics on my initial post)?

By Z2 I meant R2 (Region 2).

setarip_old
13th February 2010, 21:06
Please carefully re-read my post (I've said/made no accusation about lying). It simply doesn't make sense for the producer to alter the subtitle palette...

Pringles
14th February 2010, 01:36
I guess the new intern was in charge of the subtitles.

0xdeadbeef
14th February 2010, 15:48
Thanks for your input. Now my question would be: how do I patch a palette? :D

E.g. BDSup2Sub can patch the frame palettes for a whole subtitle stream. Then again, you would have to demux and remux the stream for this. Maybe other VOB based subtitle tools can do this with less effort.

setarip_old
14th February 2010, 20:20
I believe that DVD SubEdit can do that in "one click"...

Nikse555
15th February 2010, 23:29
Can't you just find the yellow color in the idx file "palette: ..." line - and change it to white?