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 9th July 2012, 23:26   #61  |  Link
Tappen
Registered User
 
Join Date: Dec 2006
Posts: 196
In the function "static PcsData ParsePicture(byte[] buffer, SupSegment segment)" in BluRaySupParser.cs you can see where I loop through compositionObjectCount x PcsObjects. The original code assumed there was only 1 PcsObject per subtitle frame a.k.a. a single region.

Once you have multiple PcsObjects per PcsData describing the regions, you need multiple BitmapObjects in the Pcs as well with the actual data (attached when the Pcs is being completed). So PcsData goes from being a simple class to containing several collections which must be dealt with separately.

Last edited by Tappen; 9th July 2012 at 23:32.
Tappen is offline   Reply With Quote
Old 9th July 2012, 23:56   #62  |  Link
SassBot
Guest
 
Posts: n/a
Okay, that's a good starting point. Thanks.
  Reply With Quote
Old 22nd August 2012, 04:22   #63  |  Link
qknet
Registered User
 
Join Date: Aug 2005
Posts: 23
Dear slartibardfast,

I don't know what happens but I can never use the output of PunkGraphicStream directly. Now, I see there is no more "cropping" issues, but instead the timing is seriously messed up. Several subtitles are displayed too long while the next subtitle doesn't show up. It happens to ALL the outputs.

BUT, if I feed those outputs into bdsup2sub and save them, everything is now fine. One more step, but I still appreciate the speed PunkGraphicStream and use it instead of avs2bdnxml (EasySub).

I uploaded the ass and the two generated sups for your review:
https://dl.dropbox.com/u/19135597/testPGS.rar

==========
PS: I used tsMuxer to create sample bluray, and TotalMedia Theater 5 to play it.
But the good thing is XBMC plays it without problem, while it has problem (flashing subtitle) with the outputs of bdSup2SuB. .

I will run a test on my Media Tank Player and report the compatibility issue, if any.
==============
Edit: HD Player can't display properly PunkGraphicStream, but, again supports well output of bdSup2SuB



So, the situation is like this

Code:
  
                         PunkGraphicStrem     bdSup2SuB
HD Player                      x                  ok
TotalMedia Theater (5)         x                  ok
XBMC (12)                      ok                 x

Last edited by qknet; 22nd August 2012 at 14:30.
qknet is offline   Reply With Quote
Old 3rd February 2014, 18:01   #64  |  Link
BBA163
Registered User
 
Join Date: Feb 2013
Location: China
Posts: 13
Waht about change the Filter to Xy-vsfilter?
Some ASS-fx was big
BBA163 is offline   Reply With Quote
Old 8th December 2014, 21:54   #65  |  Link
DoctorM
Registered User
 
Join Date: Sep 2005
Posts: 558
I can't find an explanation anywhere. What are 'misses' and is there a way to minimize them? It sounds bad.
DoctorM is offline   Reply With Quote
Old 5th January 2016, 00:16   #66  |  Link
Flanker-B
Registered User
 
Join Date: Jun 2011
Posts: 20
Quote:
Originally Posted by slartibardfast View Post
Hi all,

No updates on a linux build. I have a serious lack of free time at present!

On all Windows x64, it is required to use a 32bit java virtual machine. This is because the native components (.dll files) are compiled only for 32bit on windows.

(A 64bit jvm can't use a 32bit native library, hence the java.lang.UnsatisfiedLinkError).

When I have some free time to do a linux build, I will also do a x64 windows build. Just can't give an ETA.

Best of luck,
Why virtual machine? You can normally instal 32bit java on 64bit windows, actually 32bit java (jre) is required for 32bit browsers even if you use 64bit windows. Could it be that the program was "poorly" coded that it can't find c:\Program Files (x86) and only checks for c:\Program Files\ as location for java?
Flanker-B is offline   Reply With Quote
Old 21st August 2016, 06:16   #67  |  Link
foodadd
Registered User
 
Join Date: Aug 2016
Posts: 1
Good work! This will be very useful.
foodadd is offline   Reply With Quote
Old 9th August 2018, 16:01   #68  |  Link
LordTrace
Registered User
 
LordTrace's Avatar
 
Join Date: Sep 2002
Location: Victoria BC Canada
Posts: 160
Cool tool!!

Is there any way to avoid the delay this adds to subs? Every .ass i have converted is ever so slightly later than the original file. :/
LordTrace is offline   Reply With Quote
Old 10th August 2018, 16:06   #69  |  Link
LordTrace
Registered User
 
LordTrace's Avatar
 
Join Date: Sep 2002
Location: Victoria BC Canada
Posts: 160
Hmm.. the 23.97 setting gives every ass i try a delay. And the 59.94 setting does not but they all flicker. :/
LordTrace is offline   Reply With Quote
Old 11th August 2018, 21:33   #70  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
Quote:
Originally Posted by LowDead View Post
Also.. is the framerate buttons for film swapped?

using:
Film (NTSC) (Tooltip says 24p) - shows up in tsmuxer as 23.976
Film (Tooltip says 23.976) - shows up in tsmuxer as 24




//LD
There's a cosmetic bug..

//LD
LowDead is offline   Reply With Quote
Old 7th December 2018, 17:39   #71  |  Link
Beo
Registered User
 
Join Date: Nov 2018
Posts: 6
I love this application! Exactly what I needed.


However I had this bug with the fps as well.

@LowDead
Which version did you use? In my case both (23.976 and 24) options will give me a .sup with 24 fps.
At least that's what Blu-Disc Sudio says (Decoding PGS stream (track 5): Resolution: 1920:1080 Frame rate: 24
Change FPS from 24 to 23.976 for PGS stream #5
), when I'm exporting something (via tsMuxeR) with the converted subtitles. And in the finished product, the subtitles are a little bit to slow.
Any idea what I'm doing wrong?
Or what I could do alternatively to compensate this? I'm no sure, how the "24fps"-information is contained in the .sup, but maybe it's possible to change it? Or to somehow compensate it by changing the .ass before converting? I'm still not entirely sure, how all the subtitles stuff works, I thought it's about absolute timestamps anyway.
I'd appreciate, if someone could help me there.


Also, I just realized that suddenly I'm getting the mentioned error. (Encode failed - java.lang.UnsatisfiedLinkError etc.)
I have installed 32-bit java and didn't change anything since the last time. It runs without problems on my notebook. Any idea, whta this could be about?
Beo is offline   Reply With Quote
Old 7th December 2018, 19:57   #72  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
please try easySUP that's included in the multiavchd package instead. It will give you less headache ;-)

//LD
LowDead is offline   Reply With Quote
Old 7th December 2018, 21:10   #73  |  Link
Beo
Registered User
 
Join Date: Nov 2018
Posts: 6
Is it able to do the same thing? Because I have some effects like blur, fade, positions etc as well as different styles and if i remember correct, easySup was only generating the images in it's own style from the text.
Correct me if I'm wrong, if this would work I'd be happy to use it.
Beo is offline   Reply With Quote
Old 8th December 2018, 02:23   #74  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
easySUP can generate styles and effects. just load an .ASS and test

//LD
LowDead is offline   Reply With Quote
Old 8th December 2018, 17:29   #75  |  Link
Beo
Registered User
 
Join Date: Nov 2018
Posts: 6
I did, and it almost worked perfectly after trying a few things. I guess I will pn you about the one last thing, I don't want to spam this thread with my specific kinda offtopic questions. I hope that's ok.

Anyway, thanks for the help!
Beo is offline   Reply With Quote
Old 9th December 2018, 00:13   #76  |  Link
LowDead
Elit Amans
 
Join Date: Feb 2005
Location: Sweden
Posts: 275
sure, np
LowDead is offline   Reply With Quote
Reply

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 23:38.


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