Log in

View Full Version : easySUP/goSUP - an easy way to create BD SUP, BDN XML/PNG & DVD SUB with SRT/ASS/SUB


Pages : [1] 2 3 4

deank
26th August 2009, 17:08
I decided yesterday to create a small tool (easySUP) to help users create nice (BD) SUP, (DVD) SUB or BDN (XML+PNG) subtitles, which can later be used with applications which support SUP format (import in tsMuxeR, multiAVCHD (http://forum.doom9.org/showthread.php?t=143744), Scenarist or any other tool). It is kind of an extended GUI to avs2bdnxml (http://forum.doom9.org/showthread.php?t=146493)+ avisynth + vsfilter + bdsup2sub (http://forum.doom9.org/showthread.php?t=145277) and should make users' life easier. :)

It supports some things not found in multiAVCHD (like LOGO, outline color and shadow depth) and it can be used as a stand-alone application.

Requirements:
AviSynth (http://sourceforge.net/project/downloading.php?group_id=57023&use_mirror=kent&filename=Avisynth_258.exe&6791458)and Java.

Input formats:
Text based subtitles: SSA, ASS, SRT, microDVD SUB.

Output formats:
Picture based subtitles: Blu-ray PGS (sup), DVD SUB (idx+sub) and BDN (xml+png).

DVD SUB (idx+sub) and BDN (xml+png) are packed in .RAR files for easier distribution.

Click the image to download (http://multiAVCHD.deanbg.com/easySUP/) the standalone application (2.5MB):

http://multiAVCHD.deanbg.com/easySUP-pre.jpg (http://multiAVCHD.deanbg.com/easySUP/)

...or if you have multiAVCHD, just download executable only (http://multiavchd.deanbg.com/easySUP.rar) (44kb rar) and extract it in your multiAVCHD folder.

p.s. Thanks to drpaulng for the testing and the general idea about LOGO usage.

Dean

//

A lite version of easySUP is goSUP tool:

Download link: 1.3MB standalone package (http://multiavchd.deanbg.com/goSUP/)

Download link: 125KB executable only (http://multiavchd.deanbg.com/goSUP.exe) (if you have multiAVCHD, just put it in multiAVCHD folder).


As you can see, it is quite simple, but some people need just that. :)

http://multiavchd.deanbg.com/goSUP.jpg

XML+PNG are saved in a .rar archive in source file folder (just like easySUP does).
SUP is saved in source file folder.

goSUP supports multiple input files which allows you to process any number of subtitle files in batch mode.

b66pak
26th August 2009, 20:16
nice job...thanks a lot...
_

Adub
26th August 2009, 22:46
Fantastic work there Dean! Yet again, you introduce a fantastic tool for use by the community. Excellent work!

Mixin
27th August 2009, 00:13
Great job!
Please, add "output directory" option.

deank
27th August 2009, 10:18
There are options in the "Settings" tab:

Common output folder
Load last project
Disable sound

You need to re-download the executable only from the link above.

Dean

twazerty
27th August 2009, 18:39
Wow looks very nice. When you create a CLI it would be very nice. I would like to add this to AVCHDCoder.

The quality also looks very nice. Much better then tsMuxer.

deank
27th August 2009, 21:23
:) This is a GUI for CLI applications... why would you need me to convert it to CLI? You can do everything with the tools noted in the message above.

twazerty
27th August 2009, 23:42
it is easier for me :p

Saw it too late that it uses the other tools. Takes me soms days to fully understand everything. I will use your tool to analyze how to create some things like the style file. :)

deank
28th August 2009, 00:03
Nothing special about the style file.

Read about VSFilter here (http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm).

The only thing not available in other tools is the fast/half frame processing and LOGO... and some other things.. but most can be done just by using the cli versions of avs2bdnxml and bdsup2sub.

Dean

PHD_1976
28th August 2009, 08:51
I've been waiting for such a handy tool for srt to BDN+XML conversion.
Perfect job, deank.

To be tested later in the evening.

THANX!!!

hamletiii
28th August 2009, 21:17
Just tried a 720*480 *.ass file as input, but the font size changed dramatically.
Here (http://i219.photobucket.com/albums/cc183/linkai8424/PS3%20MEDIA/00000390easysup.png) is the output by easySUP.
And this (http://i219.photobucket.com/albums/cc183/linkai8424/PS3%20MEDIA/00000390avs2bdn.png) is directly from avs2bdnxml, which is what I saw in aegisub/vsfilter.

deank
29th August 2009, 04:49
If the .ass file has font-size attributes then easySUP just renders what VSFilter outputs. Otherwise you can change the fontsize yourself. I can't understand your problem.

The program automatically suggests font-size and (bottom) margin for each resolution (480/576/720/1080). It is you (the user) who decides how and what to change.

The difference in the pictures is caused by the default font size used by VSFilter.

tymoxa
29th August 2009, 11:35
Hello. Thank you for a nice program.
Just observation.
When i use 1080 Res and Fast/Half Frame Mode mode easySUP generates .avs/.style with subtitle width 1440 and i get this:
http://www.picatom.com/13/wrong-1-th.png (http://www.picatom.com/13/wrong-1.html)
When i change mode to Full Frame or manually change 1440 to 1920 in (generated earlier and copied before they were deleted)
.avs/.style from fast mode i get what i want:
http://www.picatom.com/13/right-2-th.png (http://www.picatom.com/13/right-2.html)
Is it a bug or a feature?

deank
29th August 2009, 12:43
It is a feature and it is called safe zone. There is a dropdown list.

tymoxa
29th August 2009, 13:22
Yep. Safe zone is works. Thank you.

sl1pkn07
29th August 2009, 23:35
hello, accept ssa/ass subtitles with styles?

thanks

deank
30th August 2009, 12:48
hello, accept ssa/ass subtitles with styles?

Yes, it does.

PHD_1976
1st September 2009, 07:14
Hi deank,
During the weekend I had a chance to test your great tool.
I chose BDN XML+PNG output to use it with Scenarist.
Well, Scenarist accepted XML structure but hung on first png file.:(
I've compared your png and png file Scenarist is happy with and they differ.
Due to BD White Papers (Application Definition Blu-ray Disc Format):
Graphics planes
... One graphics plane is assigned for subtitling applications
(Presentation Graphics or Text Subtitles) ...

... Each graphics plane has 8-bits per pixel,
with each pixel value referring to an index entry in a Palette
for translation to YCrCb color and 8-bit (256level) alpha.

So, PNG IHDR chunk must have ColorType=3 (yours is 6 AFAIR), and two more chunks must be present:
PLTE chunk - palette and tRNS chunk - transparency.

Being fed with png having such header Scenarist feels itself very happy:p

I hope you can check and fix it;)

sneaker_ger
1st September 2009, 11:24
You should probably ask ps auxw that, because easySUP is "just" a GUI for avs2bdnxml (http://forum.doom9.org/showthread.php?t=146493), which creates the PNGs.

PHD_1976
1st September 2009, 12:26
ОК, I'll post in a thread you've pointed.

PHD_1976
2nd September 2009, 06:53
deank,
Guys from avs2bdnxml thread sent me back to you:-)
ps auxw wrote the following about PNG non-acceptance with Scenarist:

http://forum.doom9.org/showthread.php?p=1320873#post1320873

Could you do anything about it?

deank
2nd September 2009, 07:30
I can do what ps auxw suggested and make the PNG output through bdsup2sub. I'll let you know later.

edit:

You can download (http://multiavchd.deanbg.com/easySUP.rar) the executable only and try. It will now generate both 32bit and 8bit PNGs in separate archives.

Let us know if it works.

Dean

PHD_1976
2nd September 2009, 07:41
Thanx, Dean, will check it in the evening and let you know about the result:-)

PHD_1976
3rd September 2009, 07:07
Dean,
I've checked new version and:
1. 8bits Generated subs are perfectly accepted by Scenarist
2. Image, I mean picture of subs text is generated in the middle of 1920x1080 8 bit png, although i've set margin to 60 and preview showed text near bottom.

Comparing to 32bit pngs text image is smaller in 8bit png.
I've checked settings again but they were OK.

deank
3rd September 2009, 13:34
You're right... There were few bugs, causing the output to be resized to 480i (that's why you got it in the middle of the screen and smaller)

Please re-download 0.3 from the link above.

edit: I also changed the default 'merge' and 'min display' times of bdsup2sub, so probably it will cause more smooth processing of animated subtitles and no flickering. Still I had no time to test it yet.

edit2: Ok, so I gave it a try with ass subtitles uploaded by Oleg Rode (here (http://forum.doom9.org/showthread.php?p=1317968#post1317968)). There is no flickering and subtitles show and disappear smoothly (fade in/fade out) with 23.976fps 1280x720 source. I was testing on PAL PS3 (60GB model) with firmware 3.00.

Dean

PHD_1976
4th September 2009, 07:08
Dean, hi!
v0.3 doesn't generate 8bit pngs.
RAR archive contains only xml file.
Checked 2 times - same 1kb RAR file with xml only :-(

32bits pngs still OK :-)

deank
4th September 2009, 11:00
Strange.. it is okay here... Just redownload it and try again. Do you get any errors in the log?

PHD_1976
4th September 2009, 12:24
No, no errors in the log.
Will redownload and try again in the evening then.

PHD_1976
5th September 2009, 10:11
Dean,

I redownloaded v0.3 and this is how it works on my machine:

1. 8bit png are generated out of rar file - just in a folder where easySUP is.
2. Image is still in the middle of the png and now its huge:-)

deank
5th September 2009, 10:26
I certainly cannot replicate what is happening to you.

I tested all 3 formats (SUP only, XML+PNG only and SUP+PNG) and I always get 2 rars with proper 8bit and 32bit pngs+xml and 1 SUP file.

Can you move easySUP to another folder like: c:\easySUP\

It makes no sense 32bit to work and 8bit not to.

deank
20th September 2009, 10:41
easySUP is updated to 0.4:

A small glitch was fixed for "Fast" and "Half frame" modes, when the associated video file has non-standard resolution (not BD standard 1920x1080, 1440x1080, 1280x720), causing unnecessary large frames to be passed to avs2bdnxml and bdsup2sub, which in turn causes slower processing.

Dean

djesteban
13th October 2009, 23:01
This little application is awesome! Thanks a lot!

borivoje
9th November 2009, 12:23
Thanks for application deank ... But, how can I use East European characters, for exhample, Serbian ... Is there a way you can add support for that sort of characters?

deank
9th November 2009, 12:25
It should work with any characters. Open your SRT file and save it as ANSI. Then use easySUP to see if all is okay.

borivoje
9th November 2009, 18:53
It's not working ... I've tried to save it both as ANSI and East European with ''Subtitle Workshop'' and ''Subtitle Creator'' and the result is the same when I open it in easySUP... For exhample, instead of character ''ć'' I get character ''æ'' ... In the aplications I've mentioned I'm getting the wright characters after I chose ''1250 - East/Central Europe'' character encoding.

deank
9th November 2009, 19:34
I meant to do it in NOTEPAD.

Is your computer set to Serbian for non-unicode? It is a setting in regional settings/advanced.

borivoje
9th November 2009, 22:25
Where were you all these years ... I was having same problems for years while trying to make some DVD subtitles, and it never occur to me to even think about regional settings ... I must sound like a complete volley, but I actually don't mind, because I'm finally going to make my first BD with custom subs ... At least I hope so ...

MANY THANKS DEANK

CHEERS

deank
9th November 2009, 23:11
Way to go, eh! :)

SUPERBIF
2nd December 2009, 14:24
Thanks for this excellent tool. Works perfect.
I'm about to make a backup of all my HD DVD to Blu-Ray with no quality loss, but is it important to choose 1080p subtitles to match 1080p movies or is it just either 720p or 1080p?

Is the resolution important when it's subtitles?

deank
2nd December 2009, 14:28
Yes, it is very important to use 1080p for 1080p/i videos and 720p for 1280x720 videos. Otherwise subtitles may not show or be misplaced.

Dean

p.s. I'm glad you find it useful :)

SUPERBIF
2nd December 2009, 15:06
Thanks for getting back to me quick and yes it's very usefull since tsMuxer is not good with .srt subs.
Is it okay to have 1080p, 23.976, 10% safe zone, margin 30, size 80 or is there any risks with my settings:)

deank
2nd December 2009, 15:43
Well, even with safe zone 0% all will be okay, because the text will be split in multiple lines (but won't go outside the viewing area).

Still it is good to use 10% to avoid situations where TV sets have overscan enabled.

SUPERBIF
3rd December 2009, 08:47
Thanks again for the usefull help:)

takumibox
12th December 2009, 17:34
didn't support *.otf fonts, only *.ttf?

findlayss
18th December 2009, 08:09
hi deank
I have a problem,when I make sup from srt,easysup will change the timeline,how to fix it because I want the output sup has the same timeline from srt.

e.g. the orginal srt
1
00:00:56,792 --> 00:01:01,396

2
00:01:01,961 --> 00:01:05,236

3
00:01:05,735 --> 00:01:09,000

export xml
<Event Forced="False" InTC="00:00:56:18" OutTC="00:01:01:09">
<Graphic Width="960" Height="140" X="160" Y="546">00001362.png</Graphic>
</Event>
<Event Forced="False" InTC="00:01:01:22" OutTC="00:01:05:05">
<Graphic Width="960" Height="140" X="160" Y="546">00001486.png</Graphic>
</Event>
<Event Forced="False" InTC="00:01:05:17" OutTC="00:01:08:23">
<Graphic Width="960" Height="140" X="160" Y="546">00001577.png</Graphic>

deank
19th December 2009, 05:45
I can't see anything changed.

00:00:56,792 is the same as 00:00:56:18

because in the XML format are used frames, not milliseconds.

findlayss
25th December 2009, 07:24
ok,thanks a lot
But I found a new problem
If two line nearby is same (the timeline is different),easysup will combine it in one line and the time will be added.How to resolve it because I want a flash between the two line

e.g. org srt

1925
02:00:00,778 --> 02:00:02,311
hello

1926
02:00:03,313 --> 02:00:04,484
hello

the output sup by easysup will be
1925
02:00:00,777 --> 02:00:04,447
hello

moosekaka
21st February 2010, 04:05
hi dean,
i have an error message when trying to convert the SRT file to a 1080p BD SUP file, i have done it succesfully for several SRT files but i cant with this file. can you help ? thanks
the error is "error processing subtitle"......this comes after easysup scans all the lines

deank
21st February 2010, 09:08
I can't see the attachment yet but... Try to open your SRT file in SubtitleWorkshop and fix any possible errors (CTRL-I) then resave and retry. Make sure it is in ANSI, not UTF.

Dean

maldino800
21st February 2010, 22:18
Hi. Thank you for this easy program. One thing is the addition of non-western subtitles, specifically, Arabic not support. I can add the srt file fine and it gives no error message but I get weird text, it looks arabic, but certainly not the text that is in the original srt file.I think it need formatting and selecting character encoding to support non-western subtitles.