gnoling/UnlinkMKV

PlayResXY and Font Sizes

gnoling opened this issue · 1 comments

help.txt

Sorry if this is a bit much. I can send you another with just one file.
I'm inclined to think it might be the encode that's the problem though as I'm getting other video issues I haven't noticed until now (but only after unlinked).

Originally posted by @aaronstc1 in #30 (comment)

I was able to track down the source files. There are two issues going on, they are:

  1. Video encoded parts are not compatible for merge
  2. The subtitles are not fully compatible with merge, causing font-size issues depending on the part during playback.

The first issue is solvable by using --fixvideo, which re-encodes the files before merging to a compatible format according to whatever is in the template in the ini file. Essentially the source parts were not encoded alike enough to be merged directly. When a player plays the parts before merge, they're essentially played more like a playlist and the videos can differ like that.

The second issue is somewhat similar. Whats happening is that in the source files, the "Play Resolution" property (PlayResX and PlayResY) is being set in some of the parts, while other parts use the default size of the player. How this effects font sizes is that the font size is scaled against the play resolution settings, and appears to be required for the OP/ED karaoke to scale correctly. Since the files are now merged, the other parts of the video also use the play resolution settings and scale accordingly -- which is much smaller then would be otherwise default scaling. UnlinkMKV actually has hidden options to force these values on the command line, but unfortunately are of no use here since they'd need to be different values part way through the video. The only 100% fix that would work in this specific case would be to adjust the subtitles in the main videos prior to merging to use the same scaling settings, and adjusted font sizes, as the OP/EDs.