Log in

View Full Version : Position of subtitles (.idx/.sub) after cropping black bars


grattachecca
28th January 2011, 00:00
I bought House M.D. Season 1 (R1) on Amazon.com

It's a 1.77 AR but not anamorphic! I rip first episode and cut the black bars from 720x480 to 720x360 (60 pixel per stripe).
I use vobsub to extract .idx/.sub with default option. .idx file contain this info
# Original frame size
size: 720x480

# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 0

# Image scaling (hor,ver), origin is at the upper-left corner or at the alignment coord (x, y)
scale: 100%, 100%

# Force subtitle placement relative to (org.x, org.y)
align: OFF at LEFT TOP

I muxed them with video part in mkv with 1.77 AR but subtitles are smaller and in a wrong position.

Here the original DVD
http://img266.imageshack.us/img266/5469/dvdms.png

Here the screenshot from .mkv
http://img837.imageshack.us/img837/6634/mkv.png

The size is OK for me (the original one is too big), but i want to pull down the subtitles because they are in the center of the video, how can i do? Should i change
# Original frame size
size: 720x480 or # Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 0? It would be nice if each subtitle remain on the right side (under the actor who are saying it) only further down like the DVD.

manono
29th January 2011, 10:55
Try:
# Origin, relative to the upper-left corner, can be overloaded by aligment
org: 0, 100

Play around with the 100. Maybe it'll be a bit less (75 or 80).

grattachecca
29th January 2011, 12:59
Thanks! 100 or 75 is too much, I tried 50 and that's the result

http://img62.imageshack.us/img62/3996/mkv2.png

The sub on the left is ok, the right one is slightly above the original position but it's ok, maybe better.
Only one more question: is there a way I can check that subs, maybe those on 3 lines, will not "overflow" and do something like this (this is an example in which I tried 75)

http://img560.imageshack.us/img560/573/wrong.png

manono
29th January 2011, 13:43
Any way to check? By playing the video with the subs. Before muxing, test it out. Name the subs the same as the video, like House.mkv and House.idx and House.sub. That way you can experiment with the values and change them and test them quickly, before doing the final mux.

grattachecca
29th January 2011, 14:25
By playing the video with the subs. Before muxing, test it out. Name the subs the same as the video, like House.mkv and House.idx and House.sub. That way you can experiment with the values and change them and test them quickly, before doing the final mux.

Yes I know, I hoped there was a forumla to calculate from the original size which was the max number of pixels I can use :D

:thanks: a lot!