View Full Version : DivX Media subtitle creation (xsub)
ricardo.santos
16th June 2005, 22:00
The DivX Media specification for subtitle support was modified slightly after receiving feedback from CE partners. The str2bmp tool is running on the outdated specification and tools (fuse). Shortly we will release updated tools and documentation for the DivX Media format.
Im using the outdated fuse tool. i didnt put the new fuse on the srt2bmp folder.
dont know whyit stooped working.
thanks the fluffy
Hi vsr.
ive been using your tool since version .13 but a week ago this error started to appear even with the last versions .
can you shed some light?
thanks
I can't see the screenshot :(, but I must to agree with thefluffy if you are using the tool with files encoded with new divx.
vsr
Hi vsr.
can you shed some light?
thanks
Hi ricardo,
when the error occurs? while rendering process?
I can't reproduce the error here.
vsr
ricardo.santos
17th June 2005, 17:56
Hi vsr!
no im not using the divx6.
this started before divx6 was launched, couldnt post anything earlier because of some nasty virus(sasser) that plagued me for more than a week.
it happens when i try to open the srt file.
it used to work fine.
you can see the image i posted now
it happens when i try to open the srt file.
All srt file or only a few ones?
My routines to parse srt files are too basic and not able to handle some kind of... (how to say?) "mistake" in file structure.
Empty lines may generate the error.
I suggest you to use another app like subtitle workshop to analyse and probably fix the srt file.
you can see the image i posted now
Yes.
ricardo.santos
17th June 2005, 23:28
it happens with all srt's even with the ones i already used before with srt2bmp(remember my first post here when you answered me some questions?)
im using fuse because i tried using divx converter but the subtitles generated by it are not so good.
Eliéser
21st June 2005, 18:49
Since divx 6 is out, there are some update in the fuse.exe?
szion
30th June 2005, 06:56
Is there anyone that has that bmptoxsub.zip?the link doesn't work. I really need it.I would be greatfull if someone could send it to me, or upload it somewhere (on rapidshare for example, because I guess I'm not the only one looking for this).
ricardo.santos
30th June 2005, 19:25
send me a pm with your email and i will send it to you
Welpy
4th July 2005, 13:20
it happens with all srt's even with the ones i already used before with srt2bmp(remember my first post here when you answered me some questions?)
I've got the same access violation. In my case it's been srt-files with unix line endings (lf), after converting to dos (cr+lf) it worked perfectly!
milo8080
27th July 2005, 18:56
link for bmptoxsub is not working...
can someone fix it pls ?? :)
link for bmptoxsub is not working...
can someone fix it pls ?? :)
See post #95 (http://forum.doom9.org/showpost.php?p=645438&postcount=95) , please.
vsr
milo8080
27th July 2005, 19:57
k tnx! :D
well i have a problem with charset...
when i load the .srt
some char like:
è
à
ò
are bad imported... :(
how can fix this ?
see the attach
or check here http://xoomer.virgilio.it/bazzuka02/charset.png
Are you changed the charset?
If yes, can you contact me in PM and send the subtitle file?
vsr
neo_anderson
31st July 2005, 20:49
does the fuse and srt to bmp and bmp to xsub work with divx 6 helium encoded avi?
Sagittaire
31st July 2005, 23:47
does the fuse and srt to bmp and bmp to xsub work with divx 6 helium encoded avi?
fuse work with all mpeg4 asp compliant stream (xvid, lavc, 3ivx or divx6 helium)
qknet
16th August 2005, 03:26
Can anybody fix the srt2bmp link? I could not download from any posted ones.
:thanks:
vsr
16th August 2005, 17:43
Can anybody fix the srt2bmp link? I could not download from any posted ones.
:thanks:
Try here (http://polo.faenquil.br/~valerio/srt2bmp/srttobmp.rar) for release 1.0.4.19.
vsr
qknet
22nd August 2005, 11:33
srt2bmp encode vietnamese texts wrong though the charset has been set and they displayed right in edit and lines panels (see the different between the big (captures.jpg) and the two smaller (capture3.jpg and capture4.jpg)).
will it be better in the future?
sutter
29th August 2005, 07:51
Hello,
I have a big problem with srt2bmp.
The rendering in BMP works fine, but when I start "Make XSub", I have this message (see Capture_078.jpg) :
Create Process Error #2: The system cannot find the file specified
The srt2bmp folder containt this files :
aviMux.dll
divxcheck.dll
Fuse.exe
how-to.txt
readme.txt
SRT2bmp.exe
SRT2BMP.ini
In my works folder, I have the .srt, .sub and .bmp files
What's wrong?:helpful:
vsr
29th August 2005, 13:08
What's wrong?:helpful:
bmptoxsub.exe is missing.
vsr
sutter
30th August 2005, 09:14
:thanks: That's work :)
Only audio mux doesn't work, but I use VirtualDubMod for it.
Mtz
28th October 2005, 12:37
The subtitles which contain dialogues are not centered.
The subtiltes are looking like this:
- First line of subtitle.
- This is the second line of subtitle.
Can be this bug fixed?
enjoy,
Mtz
vsr
29th October 2005, 17:58
Can be this bug fixed?
That is not a bug, dialog lines are centered by the longest line and aligned to left. I can put an option in program to center both lines when I back to my home next week.
vsr
TwoToad
30th October 2005, 10:40
I tried the methods in this thread, and then I found a different and much simpler method of muxing subtitles into a .divx. Just rip your subtitles into SRT format and then use fuse:
fuse -v video.avi -a audio.mp3 -s subtitle.srt -o file.divx
Not sure how this differs from going the long way around to create xsub files...
Mtz
1st November 2005, 03:13
I can put an option in program to center both lines when I back to my home next week.
vsr
Thanks. I'm waiting for this new version.
enjoy,
Mtz
vsr
1st November 2005, 18:22
@Mtz
You can download a new version here (http://polo.faenquil.br/~valerio/srt2bmp/srttobmp.rar). This version (1.0.4.20) have a new check box option "Center dialogues" in "Subtitle box". When checked both lines in dialogue must be centered.
vsr
Mtz
1st November 2005, 22:49
Thank you!
enjoy,
Mtz
PS: You renamed me in the changelog as Mtx. I am Mtz. But not a big deal. Users to pe happy. ;)
vsr
3rd November 2005, 11:30
You renamed me in the changelog as Mtx.
Oops, my fault, sorry. It was fixed now. "x" and "z" are too close, in keyboard :D
vsr
GDion
11th November 2005, 15:35
Nice knowing you're still working on this great frontend.
Thank you.
ricardo.santos
14th November 2005, 16:25
While opening one of the DMF created by Srt2bmp with Divxplayer(software) it reported the file as being an High definition file, i took a closer look at the command line srt2bmp produces and in one of the lines it says "option --profile = >HD<", does this mean srt2bmp "tags" the files as high definition files? just curious about this as srt2bmp works perfectly when playing the DMF's on my samsung divxplayer
would it be possible to add a function to srt2bmp to allow the user to see to wich language does the xsub belongs to when switching subs like in a normal dvd? what we see now is the total of xsubs and the number of wich is selected.
Valeu Valério!!
Thanks
Ricardo
vsr
16th November 2005, 12:40
While opening one of the DMF created by Srt2bmp with Divxplayer(software) it reported the file as being an High definition file, i took a closer look at the command line srt2bmp produces and in one of the lines it says "option --profile = >HD<", does this mean srt2bmp "tags" the files as high definition files? just curious about this as srt2bmp works perfectly when playing the DMF's on my samsung divxplayer
A bug in fuse, I guess.
would it be possible to add a function to srt2bmp to allow the user to see to wich language does the xsub belongs to when switching subs like in a normal dvd? what we see now is the total of xsubs and the number of wich is selected.
I know that's possible with a xml project file but I don't know how to build that xml file. I read something about in other threads (Sagittaire posts) and in sample files from divx labs but I'm confused and waiting for more divx specifications.
vsr
filo74
16th November 2005, 16:53
Something is not working.
I am ripping (backing up) the movie DAS_BOOT from DVD9. It has 3 6ch audiotracks - German (original), English and Russian, 1 Lithuaninan 2ch audiotrack and English, German, and Estonian subtitles. Total of 1.87GB.
I wish to fit it on DVD5 and to preserve all streams, but DVD rebuilder with CCE and 5 passes produces too poor quality. There is 700Mb menu too which rebuilder refuses to compress no matter what extra reduction I choose. (Of course I could manually modify .ecl files, but I decided to skip on that.) Finally it tries to put 200 minute movie into 2 gigs and of course there is nothing good out of it.
So I started to look for DivX solution. The 2.4Gb DivX version looks brilliant. There are no compression artifacts visible even on 400% zoom. I have successfully used DivX with several audio tracks - VirtualDubMod allows to add several audio streams. They switch well with remote even on my cheap standalone DivX player (Elenberg).
Also I have successfully created DVDs with several subtitles and languages in IFOEdit. I have even mastered Sonic Scenarist to create DVD with menus and multiple subtitle and audio streams. It takes about a week to get into it, but when it's done it is easy to author a DVD with any combination of subtitles, languages, buttons and menus created in Photoshop with Scenarist pretty fast.
I thought maybe if there is a tool to mux avi with sup files extracted from DVD maybe they play and switch on DivX standalone too.
I found the first Zhnujm tutorial. Of course it did not work. Then I read through pages of this forum and found the new Zhnujm tutorial. But I still got the same result.
I started from Estonian subs. Here is a contents of my batch file:
--------
bmptoxsub Estonian.sub Estonian.xsub
pause
--------
The folder also containts aviMux.dll, bmptoxsub.exe, divxcheck.dll, SRT2bmp.exe, Fuse.exe
And here is a result:
_________________
C:\DAS_BOOT\Estonian>bmptoxsub Estonian.sub Estonian.xsub
Timecode file: Estonian.sub
Subtitle file: Estonian.xsub
Bitmap file path:
PAL Mode: 2
SRT2SUP Mode: 0
REPOS Mode: 0
Cannot parse, <PAL/NTSC>
C:\DAS_BOOT\Estonian>pause
Press any key to continue...
_________________
I though maybe there is something wrong with my bitmaps. Interesting that latest version of SubRip crops the bitmaps no matter if you check crop bitmaps option or not. I set minimum size of cropped image to 720x576 and got full screen bitmaps. I checked 100 times if the bitmaps are 4 bit, and background is black. Checked and unchecked the compress bitmaps option. Nothing works. Interesting that aprx first 10 bitmaps were 574x720 no matter if I checked the crop checkbox or not and how small minimum size you set.
Then I tryed several links of vsr while reading through pages of numerous problems of different users and found the real link. I loaded an English subtitles (srt file) into SRT2bmp. I didn't use Estonian .srt because SubRip optically recognized Estonian Os and Us with umlauts (..) like they were tildes (~). Successfully created bitmaps - they turned out all cropped and 4 bits (Windows properties do not show if they were compressed). I showed the paths. Pressed the Mux button. There was a short flash of command prompt window, but nothing happened furthermore.
From reading through pages of this forum it seems to me that there is misalignment of file versions between fuse, srt2bmp and bmptoxsub.
I wonder if somebody could post an archive with all corresponding tools together.
And another question: do other subtitle streams have to be muxed one after another or there is a way to mux them altogether?
The same question applies to audio streams: fuse commandline help shows only one argument for audiostream. I can mux all audiostreams altogether in VirtualDubMod. Does it have to be done before muxing with subtitles or it will be possible afterwards?
My standalone player do not load .srt subtitles if they are saved as .srt text files on same disk with same name. Is it worth trying to mux .srt text files using fuse command line? Is there a chance they will display if they do not load from separate .srt text file? If they do what is all this buzz with the bitmaps?
filo74
17th November 2005, 10:25
When I try to mux one video, one audio and one .srt subtitle stream with fuse, it tells me:
C:\DAS_BOOT>Fuse --vidfile Das_Boot.avi --audfile "Boot AC3 T02 3_2ch 384Kbps DE
LAY 0ms.ac3" --subfile "Das_Boot_English.srt" --outfile D:\Das_Boot.avi
option --vidfile[0] = >Das_Boot.avi<
option --audfile[0] = >Boot AC3 T02 3_2ch 384Kbps DELAY 0ms.ac3<
option --subfile[0] = >Das_Boot_English.srt<
option --outfile = >D:\Das_Boot.avi<
option --infile = >Das_Boot.avi<
option --profile = >HD<
Processing beginning chunks.
Processing all chunks.
VBV TEST PASSED
0 Chunk size mismatch between movie list and idx1
1 Incorrect dwTotalFrames for Video (is 250503, should be 299525)
Result: FAIL
aborting
C:\DAS_BOOT>pause
Press any key to continue . . .
filo74
17th November 2005, 10:30
Look, the difference 250503 and 299525 is like 25 and 29.7 or like PAL and NTSC. And bmp2xsub also complains about: Cannot parse, <PAL/NTSC>. Maybe there is connection here. I will look if my sub files are not saved as NTSC or something. Because movie is PAL.
filo74
17th November 2005, 10:39
Strange but GSpot tells about my DivX6 encoded movie like this:
Multipart OpenDML AVI
(250503 frames in first part, 49022 frames follow)
DivX Style "packed bitstream" AVI
Garbage at end
filo74
20th November 2005, 14:05
I burned DivX with 4 ac3 language streams and 3 srt streams muxed with VirtualDubMod (it allows to mux srt streams too). But my player does see no soundtracks except the first, probably it has limit of 2 tracks and no subtitles.
Not without your help I decided to stick to mpeg2 format. I left Russian and German audiotracks and all subtitles. This gave me space for bitrate over 2000 kb. Conclusion: DVD format is the best!
Petruchio
26th November 2005, 00:52
Hi guys !!
I have the same problems as mentionned by filo74 on 16th November 2005 16:53
When i have created the bitmaps, i mux and nothing...all files are deleted and no xsub file is created.
Somebody have an idea ?
Thanks
marcellus
26th November 2005, 11:02
Make sure your source files you begin with (.srt and .avi) don't contain spaces in their names. See if that way works, it did for me.
Petruchio
26th November 2005, 12:26
Ok i will try this solution during the we
Petruchio
26th November 2005, 15:24
Here is the thing. The problem is still there.
See the capture below......
http://images5.theimagehosting.com/Fuse.jpg (http://www.theimagehosting.com)
SO ?
Petruchio
27th November 2005, 01:45
Oups i did a mistake but the result is the same with an output file .divx
marcellus
27th November 2005, 20:09
I don't know what's happening.
Check this:
here (http://forums.divx.com/groupee/forums/a/tpc/f/531101651/m/861105642/r/907104052#907104052)
and try this guide (http://projects.gdion.biz/guides/dmfwithxsub.html)
Petruchio
28th November 2005, 00:36
As said in the first link i try with virtualdubmod but sound is not well muxed.
For the second link, i used this one first but the problem is that the bitmap are deleted and xsub not created.
I have the same problem with my second pc.
SO :confused: ?????????
marcellus
28th November 2005, 09:58
For the second link, i used this one first but the problem is that the bitmap are deleted and xsub not created.
I had the very same problem untill I removed all the spaces in the .srt name that I begin with. That 'cured' the problem for me. But if that doesn't work, I have no idea :(
Sibi
28th November 2005, 17:38
Hi marcellus,
Very good Guide...Thanks a lot.
Petruchio
30th November 2005, 21:41
Still not working.
Any other idea ??
Gej
2nd December 2005, 20:30
Hey guys we finally release the official SDK for the DivX Media format !
It’s available at on DivX Labs here: http://labs.divx.com/archives/000066.html
It include tool for multiple audio and subtitle creation and muxing, as well as advanced menu creation, and some documentation and examples
Enjoy this tools and sorry for the delay...
denise
3rd December 2005, 07:47
@Gej and DivXlab
Excellent tool.
Thanks
DigitAl56K
3rd December 2005, 22:31
BTW, the DivXMux tool can now input VobSub (.idx + .sub) and SubRip (.srt) :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.