PDA

View Full Version : How can I get single subs at the top of the frame in XSUB format? (using Sub2DivX)


numaios
26th April 2008, 00:43
Hello!

When creating subbed movies, sometimes the subtitle translates some heading or sign which appears at the bottom of the screen, so the subtitle, at the default position, covers the letters and it's impossible to read it in the original language.

I've been using Sub2DivX, and there is an option to set a single subtitle at the top of the screen (and leaving the rest at the bottom), but when I finally mux the DMF file, the subtitle shows up at the bottom, like the others.

Does anybody know if this is a bug of the program? Or it's just that XSUB format doesn't support subtitles at the top mixed with subs at the bottom?

Thank you very much!

setarip_old
26th April 2008, 03:20
Hi!

A simple solution would be to use DVD SubEdit, on your ripped-to-hard-drive version of your DVD to place whichever subtitle(s) wherever you want onscreen and then save (back into the hardd drive ripped DVD). This takes all of about one or two minutes.

Then use your normal procedure to extract and apply the subtitles tothe DivX-compressed .AVI that you are creating...

numaios
27th April 2008, 10:55
Thanks!

I want selectable subtitles in this DivX Media Format file, and if I do it the way you say, I'd have a hard subbed avi file, right?

By the way, the subtitle I want at the top of the frame doesn't exist in the original DVD, so I ripped the VobSub files to SubRip format in order to add that line.

Thanks again.

setarip_old
28th April 2008, 10:44
Again, the suggestion I made, regarding DVD SubEdit, is only regarding altering the onscreen appearance of subtitles of your ripped DVD.

After doing so, as I said before, then use your normal procedure to extract and apply the subtitles to the DivX-compressed .AVI that you are creating. You will determine whether you create hard subs or otherwise...

numaios
1st May 2008, 02:29
Again, as I said:

the subtitle I want at the top of the frame doesn't exist in the original DVD

So I guess I can't follow your suggestion regarding DVD SubEdit.

Besides, even if I managed to get a top subtitle in the ripped DVD, how could I save the onscreen appearance info in a SubRip file? So I couldn't use my normal procedure to extract and apply the subtitles to the DivX-compressed .AVI that I'm creating (as you said before), am I right?

setarip_old
1st May 2008, 05:48
Besides, even if I managed to get a top subtitle in the ripped DVD, how could I save the onscreen appearance info in a SubRip file?Once you've used DVDSubEdit to move the subtitle to the top and have resaved the subtitles, the ripped-to-hard drive DVD's subtitles would have been permanently altered, reflecting any changes you made - including moving one subtitle to the top of the screen.

You would now be at your usual starting point for ripping and including subtitles in any conversion of that DVD you wish...

numaios
7th May 2008, 07:24
You would now be at your usual starting point for ripping and including subtitles in any conversion of that DVD you wish...
1. If I rip that permanently changed DVD subtitle to SubRip, I will lose the subtitle position information.

2. If I don't rip permanently changed DVD subtitle to SubRip and directly do VobSub-->XSUB, for example with Dr. DivX OSS, the resulting subtitles are ALL OF THEM at the bottom of the screen. This has actually happened with DVDs with original subs-at-the-top (The Simpsons, for instance).

But anyway, this is not the point, since I can't get the sub-at-the-top in the DVD, because it doesn't exist in the DVD. So I must stick to SubRip and add it manually. And then I'd need a tool (like Sub2DivX if it could) able to put that line of the manually modified srt as a sub-at-the-top in the XSUB.

As you can tell, this is a very hard issue... :(

setarip_old
7th May 2008, 21:00
If I rip that permanently changed DVD subtitle to SubRip, I will lose the subtitle position information.I'm sorry, but I'm afraid that either I don't understand what you're saying here, or you don't understand (and haven't tried) what I've suggested.

Perhaps another member can provide you with additional assistance...

alfixdvd
8th May 2008, 01:25
Extract yours subtitles with Vobsub (http://www.doom9.org/Soft21/Subtitles/VobSub_2.23.exe) in format idx/sub.

idx file contains the timings
sub file contains the graphic subtitles.

This format preserves position.

sub2divx supports idx/sub format.

numaios
8th May 2008, 17:18
I'm sorry, but I'm afraid that either I don't understand what you're saying here, or you don't understand (and haven't tried) what I've suggested.
It looks like if you didn't read what I wrote.
How can I rip a subtitle that doesn't exist in the original DVD?
Is this so difficult to understand? I can't manually add a subtitle to a idx/sub pair. It's not that the subtitle exists in a position that I'd like to change (in that situation I could, of course, change its position with DVDSubEdit): IT JUST DOESN'T EXIST!!

Extract yours subtitles with Vobsub. This format preserves position. sub2divx supports idx/sub format.
I will try this method with a DVD that already has subtitles at the top.

But, again and again: the point is I don't have this subtitle line in the DVD. I'm trying to explain this since the beggining.

ADDED LATER:

OK, now I can confirm it: even if the idx/sub files contain subs at the top, when I mux them into a video file with Sub2DivX, the final product shows them at the bottom.

So please stop insinuating I am clumsy or dim or something.

This is a capture of the encoded AVI file being played with idx/subs trough BSplayer:
http://img59.imageshack.us/img59/2974/bscap0003gp3.th.jpg (http://img59.imageshack.us/my.php?image=bscap0003gp3.jpg)

And this is a capture of the Sub2DivX muxed file in DivX Player, showing the same subtitle at the bottom. Sorry for the bad quality, I needed to disable hardware acceleration in video card settings to capture from DivX Player.
http://img369.imageshack.us/img369/7497/sshot2au0.th.jpg (http://img369.imageshack.us/my.php?image=sshot2au0.jpg)

picrade
31st May 2008, 23:18
ADDED LATER:

OK, now I can confirm it: even if the idx/sub files contain subs at the top, when I mux them into a video file with Sub2DivX, the final product shows them at the bottom.


I have similar problems with correct positioning of subtitles on a muxed DivX movie.
I don't use srt. I directly rip the subtitles from DVD in idx/sub format and use DivXMuxGui to mux them with video/audio.
I also tried muxing with Sub2Divx with the same result.
Not surprising since DivXMuxGui and Sub2Divx both use DivXMux as the muxing engine. So the problem is with DivXMux.

After numerous experiments with DivXMux it is clear to me that it does not honor the positioning info from the idx/sub files.
I am not familiar with the details of idx/sub format but it must contain the positioning info from the original DVD, because
when I play the avi in Windows Media Player using DirectVobSub the subtitles are displayed at exact positions as on the DVD.
DivXMux places all subtitles horizontally centered, and vertically at the bottom just above the safe area boundary, regardless of
what the original position is in idx/sub files.

picrade
21st August 2008, 06:26
This is kind of late reply and I don't know if you are still around to read this.
But in case you are:
Yes, XSUB format allows placing subs anywhere on the screen.
Each sub packet has position/size info in its header.

As I understand you want to change the position of a single sub from bottom to top.
It's possible to do that with a hex editor. You would need to change the top and bottom
values in the header of that sub in the divx file.

qknet
2nd September 2008, 08:29
Thought he was asking about how to do it in sub2divx.

Why don't you right click on the line you want to alter and select "Set pos and alignment". I think that's the feature you might have been looking for.

Noted that divxplayer might show no difference on PC but hardware player would.

Cheers.

Fateh2002
6th September 2008, 23:31
I had that problem before and one person told me how to solve it....
Divxmux or Dr.Divx will put all subs at the bottom of the screen no mater where it was
so you have to convert idx into xsub manually to keep the position of the subs

Programs you need:
- Subrip
- srttobmp-1.0.4.20+bmp2xsub+fuse
- DivxMuxGUI

1st: use Subrip to save all the bmp files
1-In the color tab: choose custom color
-Choose Philips SVCD Designer
-set color #1 to Gray (Very important - Read note bellow)
change the other colors as you wish to make your sub look clear
-Uncheck Compress Bitmaps and choose 4 bits
2-In the Cropping tag: check Allow BMP Cropping and set the width & height to 720X576 (for PAL) or 720X480 (for NTSC)
3-Finally, save the bmp + sub files. close subrip

2nd: go to the sub file you jus create and open it
it should look like this:

[HEADER]
TITLE
FRAMERATE PAL
DROPFRAME NO
CONTRAST (0 15 15 15)
COLOR (0 1 2 3)

[PALETTE]
0 (32, 32, 32)
1 (255, 255, 255)
2 (255, 255, 255)
3 (0, 0, 0)


[LIST]
P00001.bmp 00:00:28:09 00:00:33:20 720 466 000 020
P00002.bmp 00:02:46:20 00:02:49:12 720 466 000 020

if not add the Header part as above changing PAL into NTSC & NO into YES if your idx ripped for NTSC DVD.

3rd: open srttobmp and click on Make XSub button
-choose the folder where you want to save the xsub file
-choose the sub file that you create earlier using Subrip
-uncheck Delete BMP after creating xsub
-click on Start button and after few seconds the XSub file will be created, close the program

4th: open DivxMuxGUI and choose Remux-Mode
-choose the video & audio
-in the subtitle track choose the xsub you just create
-click next Then Proceed to Job Queue then click Start Muxing

wait until DivxMuxGUI finish and you will get a Divx file with subtitle displayed in its same original position

Note: if your idx is ripped from original DVD, when set color #1 to Gray the background color of the bmp will be gray, if not then you have a problem.
Because DivxMux read color #1 as the background color of the bmp & will make it transparent while muxing the xsub.
But if color #1 is linked to the color of the text or outline then DivxMux will make that part transparent and the background visible.
Try this method and see what happen with you.
Check the attachments