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.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2008, 11:27   #441  |  Link
DonCarlos
Registered User
 
Join Date: Dec 2007
Posts: 38
Quote:
Originally Posted by Pelican9 View Post
Try with 24fps. Open the HD DVD sup and click Save bitmaps.
hdsup2bdn put the files to the same folder where you running it.
I tried it with 24fps the was my thought too, but then I get an error in Scenarist because the framerate doesn't fit to the video, so scenarist doesn't want to mux it.

Then I don`t know why hdsup2bdn does not work for me?!
Could you please gie me an example command line on how to configure it for my job?Because it does something an says processing took 20 seconds but Ican't find a file anywhere.

Thank you.
DonCarlos is offline   Reply With Quote
Old 1st March 2008, 11:59   #442  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by DonCarlos View Post
Then I don`t know why hdsup2bdn does not work for me?!
Could you please gie me an example command line on how to configure it for my job?Because it does something an says processing took 20 seconds but Ican't find a file anywhere.
If you are not a unix/linux man it is hard to find the help.
Code:
D:\util\Projects\SUPread>hdsup2bdn --help
Allowed options:
  --help                produce help message
  --version             print version number
  --original            output PNG images in the original size (suitable for
                        OCR)
  --fullpng             output 1920x1080 PNG images [DEFAULT]
  --nobdnfixtimes       do not divide BDN times by 1.001 (BDN output only)
  --bdnfixtimes         divide BDN times by 1.001 (BDN output only) [DEFAULT]
  --srtfixtimes         divide SRT times by 1.001 (SRT output only)
  --nosrtfixtimes       divide SRT times by 1.001 (SRT output only) [DEFAULT]
  --framerate arg       frame rate [DEFAULT: 29.97]
  --input-file arg      input file
  --srt                 output SRT file
  --xml                 output Scenarist HDMV BDN file
  --forcedsubs          make all subtitles forced (BDN output only)
  --dropframes          flag all subtitle times as drop frames (BDN output
                        only)
  --nopng               don't generate any PNGs
hdsup2bdn file.sup --xml --framerate 23.976

Last edited by Pelican9; 1st March 2008 at 12:20.
Pelican9 is offline   Reply With Quote
Old 1st March 2008, 12:21   #443  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
New beta (v0.51b6)

Quote:
Originally Posted by DonCarlos View Post
I tried it with 24fps the was my thought too, but then I get an error in Scenarist because the framerate doesn't fit to the video, so scenarist doesn't want to mux it.
I've found a bug and fixed it. The new SUPread generate the same xml as hdsub2bdn.
Pelican9 is offline   Reply With Quote
Old 1st March 2008, 12:40   #444  |  Link
DonCarlos
Registered User
 
Join Date: Dec 2007
Posts: 38
Ok thank you very much I will try it.
DonCarlos is offline   Reply With Quote
Old 1st March 2008, 16:33   #445  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by Pelican9 View Post
jamos:
Could you try to input a HD DVD subtitle stream -> export PNGs -> import in Scenarist?
If i had one. i have no hd dvd subtitles (only bluray) if someone could link one i would try.

edit: I just tried 1080p bluray subtitles and they are fine. so its the conversion of 1080 to 720p that is causing the issue with the blank white screen.
Like I said the 720p fonts have holes in them and the font color bleeds to the background.

Last edited by jamos; 1st March 2008 at 16:44.
jamos is offline   Reply With Quote
Old 1st March 2008, 17:04   #446  |  Link
B4tm4n
Caped Crusader
 
B4tm4n's Avatar
 
Join Date: Jul 2007
Posts: 247
Quote:
Originally Posted by jamos View Post
If i had one. i have no hd dvd subtitles (only bluray) if someone could link one i would try.
Here you go.

http://www.divshare.com/download/3923820-5d3
B4tm4n is offline   Reply With Quote
Old 1st March 2008, 17:55   #447  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by B4tm4n View Post
Thanks Bat,

yes HD dvd subtitles work fine with scenarist in 1080p.
jamos is offline   Reply With Quote
Old 1st March 2008, 18:08   #448  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
720p subtitles now work! although the font is a bit messed up from downconverting.
jamos is offline   Reply With Quote
Old 1st March 2008, 18:24   #449  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by jamos View Post
720p subtitles now work! although the font is a bit messed up from downconverting.
What happened?
Pelican9 is offline   Reply With Quote
Old 2nd March 2008, 02:39   #450  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
sorry 720 subtitles look fine but they are out of sync for 23.976 video.
jamos is offline   Reply With Quote
Old 2nd March 2008, 02:40   #451  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by Pelican9 View Post
What happened?
I am not sure whatever you changed in the last release fixed it. but like i said the sync is now off.

Last edited by jamos; 2nd March 2008 at 06:18.
jamos is offline   Reply With Quote
Old 2nd March 2008, 02:42   #452  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by Pelican9 View Post
I've found a bug and fixed it. The new SUPread generate the same xml as hdsub2bdn.
something broke the sync for 23.976 non drop not sure what it was but they were in sync before this version. about a 12 second delay on the subtitle.

xml output from previous version of supread <Events Type="Graphic" FirstEventInTC="00:02:08:07"

output from current version from same sup file <Events Type="Graphic" FirstEventInTC="00:02:19:22"

Last edited by jamos; 2nd March 2008 at 03:10.
jamos is offline   Reply With Quote
Old 2nd March 2008, 06:15   #453  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Pelican is there anyway we can download older versions of supread? would like to use older version to check this sync error.

edit: ok it seems that using xport i get the correct timings, the sup i was testing that had the wrong timings was demuxed with tsremux. I suggest everyone use xport to demux m2ts streams.


nice photos btw.

Last edited by jamos; 2nd March 2008 at 07:17.
jamos is offline   Reply With Quote
Old 2nd March 2008, 07:16   #454  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
ok so now I can confirm that the current version of supread works with scenarist hdmv with both bluray and hd subtitles in both 1080p and 720p.
jamos is offline   Reply With Quote
Old 2nd March 2008, 08:04   #455  |  Link
hm10
Registered User
 
Join Date: May 2007
Posts: 78
you can give me the data.pas that you did?
to comapre with i do you well
hm10 is offline   Reply With Quote
Old 2nd March 2008, 08:18   #456  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by jamos View Post
ok so now I can confirm that the current version of supread works with scenarist hdmv with both bluray and hd subtitles in both 1080p and 720p.
Glad to hear!
And big thanks for the test.

Quote:
Originally Posted by hm10 View Post
you can give me the data.pas that you did?
to comapre with i do you well
You can download from my site.
Send it to me with your png and I will check it.

Last edited by Pelican9; 2nd March 2008 at 09:10.
Pelican9 is offline   Reply With Quote
Old 2nd March 2008, 10:20   #457  |  Link
hm10
Registered User
 
Join Date: May 2007
Posts: 78
Quote:
Originally Posted by Pelican9 View Post

You can download from my site.
Send it to me with your png and I will check it.

you mean this?
http://pel.hu/down/data.pas

i need to put my new letters in the end of the letdat (after 256) and than in the end of letdati (after 256)?

line, x pos', width, dec after, dec before (from left to right)?

(0, 0, 0, 0, 0), //1 ?
hm10 is offline   Reply With Quote
Old 2nd March 2008, 11:30   #458  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by hm10 View Post
Yes.

Quote:
Originally Posted by hm10 View Post
i need to put my new letters in the end of the letdat (after 256) and than in the end of letdati (after 256)?

line, x pos', width, dec after, dec before (from left to right)?

(0, 0, 0, 0, 0), //1 ?
Yes. Yes.
You have to put your data here (line 292-):
Code:
290:       (0,    0,  0, 0, 0))
291://   ,( // put the new data here (normal)
292://     (0,    0,  0, 0, 0),
293://             ...
294://     (0,    0,  0, 0, 0))
295:       );
and here (line 556-):
Code:
554:       (0,    0,  0, 0, 0))
555://   ,( // put the new data here (italic)
556://     (0,    0,  0, 0, 0),
557://             ...
558://     (0,    0,  0, 0, 0))
559:       );
But you can put your data anywhere, I will correct it.

Last edited by Pelican9; 2nd March 2008 at 11:33.
Pelican9 is offline   Reply With Quote
Old 2nd March 2008, 11:41   #459  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,412
here the code the palette defintion in BDN xml project.

Code:
                <xs:element name="Palettes" minOccurs="0">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="Palette" maxOccurs="unbounded">
                                <xs:annotation>
                                    <xs:documentation>ID: Alphanumeric ColorSpace: RGB/YCrCb</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="Entry" maxOccurs="256">
                                            <xs:annotation>
                                                <xs:documentation>(R,G,B,A) or (Y,Cr,Cb,T) See Sec 9.11.4.2.3 in BD-ROM Spec 0.89r3 for constraints</xs:documentation>
                                            </xs:annotation>
                                            <xs:complexType>
                                                <xs:attribute name="Index" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:int">
                                                            <xs:minInclusive value="0"/>
                                                            <xs:maxInclusive value="254"/>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                                <xs:attribute name="Y_R" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:int">
                                                            <xs:minInclusive value="0"/>
                                                            <xs:maxInclusive value="255"/>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                                <xs:attribute name="Cb_G" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:int">
                                                            <xs:minInclusive value="0"/>
                                                            <xs:maxInclusive value="255"/>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                                <xs:attribute name="Cr_B" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:int">
                                                            <xs:minInclusive value="0"/>
                                                            <xs:maxInclusive value="255"/>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                                <xs:attribute name="T_A" use="required">
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:int">
                                                            <xs:minInclusive value="0"/>
                                                            <xs:maxInclusive value="255"/>
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:attribute>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                    <xs:attribute name="PaletteID" type="xs:string" use="required"/>
                                    <xs:attribute name="ColorMode" use="required">
                                        <xs:simpleType>
                                            <xs:restriction base="xs:string">
                                                <xs:enumeration value="RGB"/>
                                                <xs:enumeration value="YCrCb"/>
                                            </xs:restriction>
                                        </xs:simpleType>
                                    </xs:attribute>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
1) Perhaps good way to close HDDVD subtitles support
2) Perhaps better way to import palette from m2ts and export directly in xml file
3) Possible to make xml BDN file with direct srt import?
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 2nd March 2008, 12:21   #460  |  Link
hm10
Registered User
 
Join Date: May 2007
Posts: 78
Quote:
Originally Posted by Pelican9 View Post

But you can put your data anywhere, I will correct it.

just save this data file and do png?

and i can add bold style? or don't need

edit: how i do the y coordinates bottom (green in u'r picture) in big ABC letters? the bottom and the base same

Last edited by hm10; 2nd March 2008 at 12:47.
hm10 is offline   Reply With Quote
Reply

Tags
supread, suprip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.