Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th April 2009, 22:11 | #1 | Link | |
Registered User
Join Date: Jan 2002
Posts: 581
|
BDSupEdit
I created this tool, as I was missing a tool to downscale BD subtitles to be used on 720p encoded movies.
The application is pretty simple, just load the sup file, then set the resolution under options, including all the resize filter, Dither mode etc. then export the sup file and import it into tsMuxeR Supported resolutions are:
I have alot of planned work for this tool, but ideas are welcome. I hope alot of you will like it and maybe donate a little, as I have used >alot< of time (see about in application) on this application and hopefully will continue to do. Newest version: BDSupEdit Ver 0.41 Old Version: BDSupEdit Ver 0.1 BDSupEdit Ver 0.2 BDSupEdit Ver 0.3 BDSupEdit Ver 0.4 Change log: Quote:
Last edited by GZZ; 18th April 2009 at 16:29. |
|
6th April 2009, 00:46 | #2 | Link |
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,708
|
Wow, I think you just made tons of people's day. The downscaling capabilities have been missing in almost every tool yet, so this is fantastic for people making 720p backups with subtitles.
I haven't tested yet, but I may later once I have some time.
__________________
FAQs:Bond's AVC/H.264 FAQ Site:Adubvideo Zsmooth - Cross-platform smoothing for Vapoursynth |
6th April 2009, 15:27 | #4 | Link |
Registered User
Join Date: Jan 2002
Posts: 581
|
it differ in that way, that my program export to bluray subtitles, its not the same as DVD subtitles. IDX/SUB are in DVD resolution, where Bluray subtitles used on bluray support higher resolutions and it can be used on BD5/BD9 movies, which contains the bluray structure. So its not the same.
Also DVD subtitles only support 4 colors I think, where bluray support up to 256 colors including alpha values for transparent areas. But at the moment only IDX/SUB can be muxed into mkv movies, so you wont get anything useful out of my program, if your target is mkv, its only useful for BD5/9. |
6th April 2009, 21:32 | #7 | Link |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
Perfect; that is what i've been looking for.
Pelican was working on it but he is not come back from Amazon jungles yet. I resized an 1080 sup to 720 as sup. I gave it a go with ulf's script before but the output file was not sup. So, some notes and feature request: I tried BDSupEdit with an HD-DVD sup; so i had to make it first BD compliant sup via SupRead. The first feature request. The second one is PAL speedup feature. Here is what kind of torture to me: http://forum.doom9.org/showthread.ph...00#post1181900 Thanks bro. A sample (FF2 HD-DVD) converted to 720p BD. (i muxed eac3 which is not compliant with BD but no matter to me; i watch them on HTPC.) http://www.sendspace.com/file/rpdxws Last edited by rica; 6th April 2009 at 22:26. |
6th April 2009, 23:31 | #10 | Link |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
OK gave it a go with your tool as well.
Thanks it is nice tool. But here are the differences of resulting pngs between them: (above capture is gotten with BDSupEdit and below with your BDSup2Sub) Last edited by Guest; 7th April 2009 at 03:26. |
7th April 2009, 00:22 | #11 | Link |
Author of BDSup2Sub
Join Date: Jun 2003
Posts: 478
|
Dunno what you're comparing there, since the above pic has at least twice the resolution (and a strange red tint).
Anyway nobody complained about the scaling quality yet. Then again this should be discussed in the according thread. |
7th April 2009, 09:15 | #14 | Link |
Registered User
Join Date: Sep 2008
Location: Sweden
Posts: 66
|
Just the tool I have been waiting for, great job GZZ! The quality of the downsizing to 720p is amazing. BDSupEdit beats BDSup2Sub quality wise in 1080p to 720p downscaling in my opinion.
Would it be difficult to add import of PNG's with an BDN XML file? The reason I ask is because there is no decent free tool for creating your own (high quality) BD subtitles. I have developed a way to create BD subtitles starting by using MaestroSBT to create a SST file and 3840x2160 pixels BMP's. From these I create 1080p or 720p PNG's (8-bit with alpha transparency and trimmed) and a BDN XML file, but these are only usable for import to Scenarist. The resulting subtitles are great though. I will be happy to share the tools if anyone is interested (one warning - it is painfully slow). |
7th April 2009, 11:39 | #15 | Link | |
Registered User
Join Date: Jan 2002
Posts: 581
|
Quote:
Im looking into creating your own subtitles, it will properly take a little while, have a few things I need to overcome. You have an example of the BDN XML file ? |
|
7th April 2009, 12:46 | #16 | Link |
Registered User
Join Date: Sep 2008
Location: Sweden
Posts: 66
|
Yes, here is one example:
Code:
<?xml version="1.0" encoding="UTF-8"?> <BDN Version="0.93" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BD-03-006-0093b BDN File Format.xsd"> <Description> <Name Title="Invasion" Content=""/> <Language Code="swe"/> <Format VideoFormat="1080p" FrameRate="23.976" DropFrame="False"/> <Events Type="Graphic" FirstEventInTC="00:01:00:04" LastEventOutTC="00:02:52:06" NumberofEvents="3"/> </Description> <Events> <Event InTC="00:01:00:04" OutTC="00:01:04:14" Forced="False"> <Graphic Width="777" Height="148" X="567" Y="877">line_0001.png</Graphic> </Event> <Event InTC="00:02:01:12" OutTC="00:02:06:22" Forced="False"> <Graphic Width="1004" Height="149" X="457" Y="64">line_0002.png</Graphic> </Event> <Event InTC="00:02:49:14" OutTC="00:02:52:06" Forced="False"> <Graphic Width="980" Height="152" X="468" Y="873">line_0003.png</Graphic> </Event> </Events> </BDN> It's an output from my tool where I create subtitles with the help of MaestroSBT. View the attachment for the resulting SUP file. I have taken 3 lines (in swedish) from the film Invasion. For those who have the Blu-ray disk can compare the quality (I think it beats the original). Also, take a look at Pelican9's tool SUPread. SUPread can export to PNG's and Scenarist BDN XML file. The PNG's are not trimmed though. SUPread always export 1920x1080 PNG's. Maestro_ex.zip Last edited by Ulf; 7th April 2009 at 17:44. |
7th April 2009, 19:26 | #17 | Link |
Registered User
Join Date: Mar 2008
Posts: 2,021
|
|
7th April 2009, 20:59 | #18 | Link | |
Registered User
Join Date: Jan 2002
Posts: 581
|
Maybe some one here can help me out on this one. I got a PG header with the PTS value of 2522579 (Equal to timecode 00:00:28,029) Sec2Timecode(2522579 / 90) //90 khz clock.
in the next PG header I got a PTS value of 2522216 (Equal to timecode 00:00:28,025) Sec2Timecode(2522216 / 90) //90 khz clock. this is from a original BD file, if want to create my own BD subtitle from stratch or just from an image and only have the start PTS and end PTS. How do I calculate the PTS values in between (Marked with red). Anyone know ? Quote:
|
|
11th April 2009, 00:26 | #19 | Link | |
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
Quote:
So I imported the original HDDVD extract with BDSupEdit, and it too thought the .sup was 1920x1080 i.e. a straight "Don't Resize" yielded a 1920x1080 result. If I check "Resize to 720x480" the result muxes and appears to be sized correctly for the frame, and it looks smooth, but it has a red outline as rica's. BDSup2Sub also thinks it's a 1920x1080, and exports to 720x480 which muxes and shows fine, except the output is a bit "wrinkle-y" compared to BDSupEdit; it's not quite as smooth in appearance. I dunno where the mistake is made with these proggies thinking it's a 1920x1080 subtitle; maybe eac3to? But BDSupEdit's conversion looks good except it might be nice to lose the red outline! I uploaded a piece of the subtitle: here. Last edited by laserfan; 11th April 2009 at 01:06. |
|
12th April 2009, 09:10 | #20 | Link |
Registered User
Join Date: Jan 2002
Posts: 581
|
Hey laserfan.
Your subtitle is a HD DVD subtitle, my program only support Bluray subtitles, so you need to convert it to BD subtitle in Supread. Second, your sample is broken, so I cant even convert it for you, please upload a complete sup file. You can Rar it before uploading, then it will be smaller. |
|
|