VideoHelp Forum




+ Reply to Thread
Results 1 to 24 of 24
  1. Member
    Join Date
    Dec 2006
    Location
    Thailand
    Search Comp PM
    how can i use .sup with dvd lab pro or how can i convert .sup to .srt?? anyone please help
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    subtitlecreator can ocr sup to srt.
    Quote Quote  
  3. Member
    Join Date
    Oct 2005
    Location
    Lima, Peru
    Search Comp PM
    Though instead of converting the .sup to .srt, it would be better if you instead converted them to a .son file
    Quote Quote  
  4. Member
    Join Date
    Dec 2006
    Location
    Thailand
    Search Comp PM
    Originally Posted by Baldrick
    subtitlecreator can ocr sup to srt.
    can it use with different languages ???
    Quote Quote  
  5. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    Latin-based languages only.
    Quote Quote  
  6. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by taasan
    Originally Posted by Baldrick
    subtitlecreator can ocr sup to srt.
    can it use with different languages ???
    Yes, but not Thai though.
    Quote Quote  
  7. Member
    Join Date
    Oct 2005
    Location
    Lima, Peru
    Search Comp PM
    That's a good reason to keep the subtitles as images, converting them to .son format instead (which DLP can import too).

    1. Use dvdsupdecode to convert the .sup file into a .txt file and several .bmp files, with the -bitmap parameter and either the -pal or -ntsc parameter according to the original DVD you demuxed the .sup file from

    2. Open the .txt file in notepad, remove the lines at the start which are similar to the following ones:
    Code:
    ;Subpictures_20.sup
    FrameRate=29.97
    Palette=2010
    Alpha=FFF0
    and instead add a line like this one (depending on the original value indicated by "Framerate="):

    Code:
    {29.97}
    Also, do a couple global replaces to get rid of the { and } surrounding the subpicture names, the easiest way is to replace {Sub with Sub and then bmp} with bmp.

    Save the file with the ".sub" extension.

    3. Load Subtitle Workshop, and open the .sub file you just save as a MicroDVD subtitle file.

    4. Save the file as a Spruce DVD Maestro .son file.

    5. Open the saved .son file in Notepad. By default, the lines at the start will read:

    Code:
    st_format	2
    Display_Start	non_forced
    TV_Type		PAL
    Tape_Type	NON_DROP
    Pixel_Area	(0 573)
    Directory
    For NTSC only, change that to:

    Code:
    st_format	2
    Display_Start	non_forced
    TV_Type		NTSC
    Tape_Type	NON_DROP
    Pixel_Area	(2 479)
    Directory
    Also, further down, you'll find a couple of lines that read

    Code:
    Color	(0 1 2 3)
    Contrast	(0 15 15 15)
    Adjust those to match the original .txt file's "Palette=" and "Alpha=" entries, keeping in mind that they go backwards. So, for our example

    Code:
    Palette=2010
    Alpha=FFF0
    becomes:

    Code:
    Color	(0 1 0 2)
    Contrast	(0 15 15 15)
    Save the .son file again with the changes.

    6. Now you can import the .son subtitle file into DVD Lab Pro in the same way you import .srt subtitles. Be sure to set the vertical margin to 0, and leave the "drop frame" option unchecked (or the "non-drop frame" option checked, depending on whatever the checkbox actually reads).
    Quote Quote  
  8. Member
    Join Date
    Dec 2006
    Location
    Thailand
    Search Comp PM
    thanks everybody for advices and happy new year
    Quote Quote  
  9. Member
    Join Date
    Jan 2007
    Location
    France
    Search Comp PM
    Originally Posted by machf
    That's a good reason to keep the subtitles as images, converting them to .son format instead (which DLP can import too)
    Yes, I agree, I have also the problem to import .SUP files from DVB-T to DVDLab, and all my attemps to convert the subtitles from bitmap to text based were unsuccessful because OCR is not at all a garanteed process and subtitlles are often of poor graphical quality.

    Your solution is very clever and indeed it works. I did it !

    I wonder if it could not be simplified. What does exactly Subtitle Workshop but modify the text file ? If yes, your solution is
    1) decode de SUP file with DVDSupDecode
    2) make a text modification
    3) Use Subtitle Workshop to make another text mod and
    4) make a last text mod.
    Could it not be a single text modification, reducing the process to 2 steps only ?

    And is there not around here somebody with a programming capability and mood to automate all this ?

    Gab

    [Edit] After I posted the above message, I read a post of Manono in this thread https://forum.videohelp.com/viewtopic.php?t=320033
    The solution if of the same spirit as yours, but the path is different and there is no need to edit the text files.
    1) Open the Sub AND .Sub.IFO with Subtitles Creator and its tool "Manipulate SUP or VOSUB"
    Save as IDX/SUB (format with a text time list and the bunch of bmp files)
    2) Open the Idx with SubResync (part of VoSub) and save as .SON
    3) Load the .SON in DVDLab
    Pros :
    1) no text editing
    2) 2 steps only
    3) Takes account of the IFO information about colours, whereas DVDSupDecode does not. I checked that with and without IFO give different colours parameters in the idx file.
    Quote Quote  
  10. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Originally Posted by gabier
    The solution if of the same spirit as yours, but the path is different and there is no need to edit the text files.
    1) Open the Sub AND .Sub.IFO with Subtitles Creator and its tool "Manipulate SUP or VOSUB"
    Save as IDX/SUB (format with a text time list and the bunch of bmp files)
    2) Open the Idx with SubResync (part of VoSub) and save as .SON
    3) Load the .SON in DVDLab
    Pros :
    1) no text editing
    2) 2 steps only
    3) Takes account of the IFO information about colours, whereas DVDSupDecode does not. I checked that with and without IFO give different colours parameters in the idx file.
    I almost successfully imported .sup subtitles into DVD-Lab project following these instructions. My only problem is that colors are wrong. There are lines around text but subtitle itself is transparent. There is also very large darker area appearing everytime there is text on the screen covering almost the whole picture?

    Any idea what might be causing this? Thanks in advance.
    Quote Quote  
  11. Any idea what might be causing this?
    It looks like the background and the main color got switched. The background is supposed to be transparent, and the color is supposed to show. It's easy to fix, though. Open the final DVD with the mixed up transparencies in DVDSubEdit. Open all the VOBs at once. Then over on the right side play inside the SubPic Color/Transparency section. Use the dropdown box where it says "All Pixel" to choose b,p,e1,e2 in succession, moving the slider around until you find the combination that fixes them. Then Edit->Apply Last Modifications To All->Apply Changes To Transparency->DO IT!, followed by File->Save All Modifications. If the colors need changing, you can easily do that as well at the same time.

    I don't know if that sounded difficult or not. Once you open the VOBs you'll quickly discover what has to be done.
    Quote Quote  
  12. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Thanks manono for your kind help. I almost (again almost ) was able to fix it.

    I was able to fade away the darker area which was covering almost the whole picture when text appeared. Only problem remaining is related to that "almost the whole picture". So dark area covered whole picture except ~50 pixels from the bottom of the screen. Now when I'm trying to change subtitle colour from transparent to white, it turns these 50 pixels also to white.

    That 50 pixels is quite weird since this is not even the difference between 16:9 and 4:3 picture. Well, the measurement is not exact since I used measuring tape from the screen 6.8cm the whole picture and and 6mm the white area. It cannot be 96 pixels, can it? My picture is 720x576 and DVD-Lab says ratio is 16:9. I have been able to produce DVDs earlier but not with subtitles (only one TV company is producing these subtitles here in Finland).

    So first I used Topfield to record the source, then I demuxed it with Projectx. And then I processed subtitles with Subtitle Creator and SubResync (VobSub) as described earlier and this is what I get I also tried to change settings in Subtitle Creator but wasn't able to get the result I want.

    I have had this problem for a long time and really would like to get this resolved. I'm able to use these .sup subtitles with Rejig to author an image but when I import them to DVD-Lab as external VTS, I cannot get the DVD to return to menu after it has played the item. So it's really annoying to shut down the DVD player between different VTS sources (resume option in DVD player).
    Quote Quote  
  13. Sorry, but you lost me. You have a SUP file, right? But you can't import it directly into DVD Lab Pro because it doesn't support SUP files, so you had to do that workaround to get SON files which it does accept, right?

    Here's another workaround. First, test the SUP file in DVDSubEdit. Don't worry about the colors. Just make sure you don't have that background problem you described. After making sure the SUP is good, demux the DVD that DVD Lab Pro made for you. Use PGCDemux for the job and get the main video. Don't forget to check the video box in PGCDemux. When done you'll have the M2V, the AC3 (or whatever kind of audio it is), the Celltimes.txt (the chapters), and a SUP file. Replace that SUP file with the good one. Remux using Muxman. The Celltimes.txt gets loaded in File->Import Chapter. If this is a 16:9 DVD, click both the Wide and LB buttons after loading the good SUP file. Process it, and check the results in a DVD player. Again, don't worry about the colors. Just make sure you don't have any of that transparency and background stuff going on. Make sure the audio and video are in-synch and that the chapters work OK.

    Finally, open the original messed up DVD in PGCEdit. Highlight the video in the left window (make it dark grey) and go File->Replace VTST titles. Scroll to your new DVD and import it. Answer yes to the questions. You can back up the old one if you like. I never do, though. Save it and test it out when done. If the colors were off, they'll still be off, but you shouldn't have the problems you had before. Remember the colors for the main color and outline . Double-click on the video and in the new screen you'll see the CLUT, the 4x4 block of colors. Your colors should be in the top row. Click on them and change them to whatever you like (black and white, grey, or yellow, usually). OK back to the main screen, save it, test it out, and if it's OK, delete the backup file(s) PGCEdit made and burn to disc.

    It's kind of a long way around, but I don't use DVD Lab Pro, and can't offer any advice about how to fix the problem in there.
    ...when I import them to DVD-Lab as external VTS, I cannot get the DVD to return to menu after it has played the item.
    That's usually a very simple thing to fix using PGCEdit. Check your current DVD, and with the video highlighted in the left window, study the post command in the right window. It's often something like:

    1 (Call SS) Call The VTSM Root Menu of the current VTS, resume cell 1

    Maybe DVD Lab Pro doesn't create a proper post command for the ReJig authored one. It's easy for you to create a similar command by right-clicking the post command box and "Add After. That creates a NOP. Double-click the NOP (or any existing command that doesn't work) and hit "Alphabetically" in the new screen. Then Call SS-VTSM. It should already be set for the Root Menu. OK, and the command should be created in place of the NOP. Save your work and test it out. Because PGCEdit creates a backup when the DVD is opened, if you mess something up just go File->Backups->Restore Backup and you'll be no worse off than you were when you started.
    Quote Quote  
  14. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Thanks again.

    Yes, I have SUP file and as I told you, for example Rejig is processing this (+IFO) file correctly so I'm a little bit confused what is causing this problem in Subtitle Creator.

    Let see if I want to try that another workaround since I have ~20 DVDs to process and that seems to require a lot of manual work. Some source files are still .rec files (produced by Topfield) and maybe I will try to get subtitles as .SON files to DVD-Lab. But unfortunately I have already demuxed some files to .m2v, .mpa, .SUP and .SUP.IFO files and I do not have this original REC file anymore. For these I will try Rejig -> DVD-Lab (external VTS) -> PGCEdit as you described above.

    I will let you know what happened.
    Quote Quote  
  15. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Originally Posted by EpiMann
    Let see if I want to try that another workaround since I have ~20 DVDs to process and that seems to require a lot of manual work. Some source files are still .rec files (produced by Topfield) and maybe I will try to get subtitles as .SON files to DVD-Lab. But unfortunately I have already demuxed some files to .m2v, .mpa, .SUP and .SUP.IFO files and I do not have this original REC file anymore. For these I will try Rejig -> DVD-Lab (external VTS) -> PGCEdit as you described above.
    No success there

    First of all that .SON subtitle wasn't good looking, it was missing black lines around text and was totally white. Then I tried that PGCEdit and yes, I had Exit -command as a "post command" but even if I changed it to
    Code:
    1 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1
    it didn't work (DVD stopped after this VTS). In fact I had 5 external VTSs and I did the same thing for each of them. After the modification I opened this DVD again in PGCEdit and it had changed the command but still doesn't work.

    I have a VMG menu for this DVD and each clip is in it's own VTS. Any idea anymore?
    Quote Quote  
  16. I have a VMG menu for this DVD and each clip is in it's own VTS.
    Oh, so the last video clip is in a different VTS from the menu? Then it first has to go to to the VMGM before then going back to the menu. Maybe there's already a command in a VMGM PGC to go to the menu. You can try making the command at the end of the last video something like:

    1 (Jump SS) Jump To VMGM PGC 1

    Where PGC (whichever number) then goes to the menu. Check the various VMGM PGCs to see which, if any, goes to the menu. Just highlight a command and it'll show in blue where it takes you. Also, learn how to use the Trace so you can follow the various commands to try and learn what they do. There's a very good help file included with PGCEdit to teach you what it can do.

    You probably shouldn't be using ReJig for authoring as Muxman is a much better authoring program. I doubt your problem is caused by ReJig, but for the future, you should definitely use Muxman for projects where you used ReJig before.
    Quote Quote  
  17. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Thanks, I will try that tomorrow.

    In fact I had to make VMG Menu in DVD-Lab since I had external VTSs. So I have only VMG Menu and no menus for these external VTSs. This one VMG Menu has links to all these different external VTSs (and directly to the movie).
    Quote Quote  
  18. Your menu is in the VMGM? That explains why my very first suggestion didn't work. It's perhaps more common for a menu to be in a VTSM, common, at least, for commercial DVDs. But since I don't use DVD Lab Pro, I wouldn't know how and where it creates its menus. But if you play around with the commands you can create and modify in PGCEdit, you should be able to get it fixed, and once you get the hang of it, any future projects will take about 30 seconds to fix. If your menu is in the VMGM, then you'll want to play around in Alphabetically->JumpSS-VMGM-menu and JumpSS-VMGM-pgc.
    Quote Quote  
  19. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    After each VTS there was a post command
    Code:
    1 Exit
    and now I changed that to
    Code:
    1 (CallSS) Call the WMGM PGC 1, resume cell 1
    instead of changing it to
    Code:
    1 (CallSS) Call the VTSM Root menu of the current VTS, resume cell 1
    and NOW IT WORKS at least with Cyberlink Power DVD player (I haven't had time to test it with standalone player).

    Is there something I still should do in order to avoid any problems in the future with standalone players?

    I try to describe the structure a little bit. On the left I have following items:
    Code:
    VMG , First-Play PGC
    VMGM , LU 1 (en) , 1 (dummy) Title M
    VMGM , LU 1 (en) , 2 (0:00) 5b.
    VTST 1 , 1 TTN 1 ...
    VTST 2 , 1 TTN 1 ...
    VTST 3 , 1 TTN 1 ...
    VTST 4 , 1 TTN 1 ...
    VTST 5 , 1 TTN 1 ...
    VMG , First-Play PGC has following pre commands
    Code:
    1 Set gprm(11) =(mov) 0
    2 Set gprm(13) =(mov) 65535
    3 Set gprm(14) =(mov) 0
    4 Set gprm(15) =(mov) 0
    5 (JumpSS) Jump to VMGM PGC 2
    VMGM , LU 1 (en) , 1 (dummy) Title M has following pre commands
    Code:
    1 Set gprm(11) =(mov) 0
    2 Set gprm(13) =(mov) 0
    3 (JumpSS) Jump to VMGM PGC 2
    and VMGM , LU 1 (en) , 2 (0:00) 5b. has following pre commands
    Code:
    1 Set gprm(12) =(mov) 1024
    2 If ( gprm(11) == 3 ) then { Set gprm(12) =(mov) 0 }
    3 If ( gprm(11) == 2 ) then { Set gprm(12) =(mov) 0 }
    4 If ( gprm(12) == 0 ) then { Goto line 6 }
    5 (SetHL_BTN) Set Highlighted Button =(mov) gprm(12)
    6 Set gprm(11) =(mov) 2
    7 Set gprm(15) =(mov) 2
    and following post commands
    Code:
    1 Set gprm(11) =(mov) 3
    2 LinkPGCN PGC 2
    And as I mentioned, each VTS has only this post command:
    Code:
    1 (CallSS) Call the WMGM PGC 1, resume cell 1
    and nothing else.

    Does it look like a compliant DVD now?

    Thanks for your huge help, without you this would have been impossible
    Quote Quote  
  20. I wonder why DVD Lab Pro wanted to quit the DVD after playing each video (the EXIT command). I have a sneaking suspicion you didn't tell it where to go at the completion of each video. If you look around in DVD Lab Pro or read the manual or something, you should be able to get that part sorted out.
    ...and NOW IT WORKS at least with Cyberlink Power DVD player (I haven't had time to test it with standalone player).
    Good, and if it works in PowerDVD, it'll almost certainly work in the standalone. You really should learn how to work the Trace. Turn it on (up at the top, Trace->Trace Mode), and then Trace your way from the beginning through the menus and videos and back to the menus. The help file gives more details.
    Is there something I still should do in order to avoid any problems in the future with standalone players?
    Like I said, the Trace. I haven't yet had a problem in a standalone with a DVD that traced OK in PGCEdit. I can't remember whether or not after testing in PowerDVD if all of them played OK in the standalone. They probably did, though.
    Does it look like a compliant DVD now?
    Looks OK to me. And just think how much you learned.
    Thanks for your huge help, without you this would have been impossible
    You're welcome. It only took me about 4 tries to provide you with enough information so you could figure the rest out yourself.
    Quote Quote  
  21. Member
    Join Date
    Mar 2001
    Location
    Finland
    Search Comp PM
    Originally Posted by manono
    I wonder why DVD Lab Pro wanted to quit the DVD after playing each video (the EXIT command). I have a sneaking suspicion you didn't tell it where to go at the completion of each video. If you look around in DVD Lab Pro or read the manual or something, you should be able to get that part sorted out.
    No, in fact I read from somewhere that it's not possible to link back to VMG Menu from external VTS in DVD-Lab. Please someone correct me if I'm wrong.

    Originally Posted by manono
    You're welcome. It only took me about 4 tries to provide you with enough information so you could figure the rest out yourself.
    Well, it's just because I'm quite newbie I have previously used softwares that makes everything automatically and therefore I don't understand anything

    But anyhow, I will give that Trace a try and consider this closed from my point of view. Have a nice summer (what's left of it).
    Quote Quote  
  22. I have a .sup file contains Japanese subtitles from FFVII: Advent Children COMPLETE (Blu-ray), but coz it contains unicode character, I couldn't add it with SubtitleCreator or any other sub program . Any suggestion pls?
    Serge Wazuki
    Quote Quote  
  23. Member
    Join Date
    May 2010
    Location
    Spain
    Search Comp PM
    I did it. I joint my japanese and spanish DVD of Tonari no Totoro.
    I have now in only one DVD the japanse, english an spanish audio and subs using DVDlab.

    Just follow above tutorial writted by Machf
    https://forum.videohelp.com/threads/258132-how-can-I-use-SUP-files-with-DVD-Lab-Pro?p=1...=1#post1540821


    To help you I uploaded a Zip file that contents 2 files:
    1 decode.bat simple bat to make more easy use DVDdecoder
    Edit de bat archive and change the name of you .sup file
    "DVDSupDecode.exe -bitmap -fr:29,97 -ntsc VTS_01_0.20.sup"

    2 DVDLAB NTCS format.cfp
    This is a custom format template to use with Subtitle workshop.
    Just Load the SUB file (your .sup file arranged as Machf say) and the in the Save As push the botton custom format and Load this project archive.

    Now you can upload this new SON file in DVDlab subs. But remember you will only see your subs after compile your DVD.

    Then may be you will have and strange colors in your subs, it this happends just use DVDsubedit to change the color palet of your subs.

    I tryed many other ways but this is the unique I found that it really succes.
    Have a nice DVD autoring
    Image Attached Files
    Quote Quote  
  24. Member
    Join Date
    Dec 2003
    Location
    Spain
    Search Comp PM
    Originally Posted by machf View Post

    Also, do a couple global replaces to get rid of the { and } surrounding the subpicture names, the easiest way is to replace {Sub with Sub and then bmp} with bmp.
    Hi:
    I'm trying to do what Machf said, but the text file I get after using DVDSupDecode doesn't have{Sub to replace. I have simply deleted all the { but then subtitleworkshop doesn't recognize the sub file.
    I attach the txt file.

    Thank you in advance
    Image Attached Files
    • File Type: txt 2.txt (623 Bytes, 308 views)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!