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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd August 2009, 14:36   #41  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Perfect! Perfect results! Yes, VSFilter rendering engine is ideal! Thank a lot! Yes, your program requires to write AviSinth script, to calculate frames, but it is produces perfect subs!

This is fantastic! It looks like my problem to render ASS subs to Blu-Ray SUP is closed.

Sorry for my English
Oleg Rode is offline   Reply With Quote
Old 23rd August 2009, 20:24   #42  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,251
A quick note:

The application crashes if avisynth parsed width is < ~700px or height is < ~104px.

Dean
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 24th August 2009, 11:50   #43  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
There is a problem - flickering animated subtitles. What to do? i tried both BDSupEdit & BDSup2Sub - problem remains.

Here is an AviSynth script
Code:
MaskSub("Senjou no Valkyria - 01.ass",1280,720,23.976,33002)
And here is a program script
Code:
avs2bdnxml Script.avs Undefined und 720p 23.976 output.xml
And here is a subtitle file and AVCHD structure sample (burn it to DVD-RW disk, insert to Blu-Ray player and manually enable first subtitle)
http://rapidshare.com/files/270858243/Valkyria.zip.html

Tested on my PlayStation 3. Sorry for my English
Oleg Rode is offline   Reply With Quote
Old 24th August 2009, 18:34   #44  |  Link
ps auxw
Registered User
 
Join Date: Apr 2009
Posts: 102
Quote:
Originally Posted by deank View Post
A quick note:

The application crashes if avisynth parsed width is < ~700px or height is < ~104px.

Dean
Thanks for reporting, I'll look into it when I have time.

Quote:
Originally Posted by Oleg Rode View Post
There is a problem - flickering animated subtitles. What to do? i tried both BDSupEdit & BDSup2Sub - problem remains.

And here is a subtitle file and AVCHD structure sample (burn it to DVD-RW disk, insert to Blu-Ray player and manually enable first subtitle)
http://rapidshare.com/files/270858243/Valkyria.zip.html
Having the XML output would've been useful too, but I can generate this myself, of course. Also, maybe this is related to the problem sneaker_ger reported. If timing is 1 frame off after conversion to SUP, it could lead to flickering subs where exact timing is required.
ps auxw is offline   Reply With Quote
Old 25th August 2009, 15:13   #45  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I don't get any blinking when using MPC-HC or SupTitle (looks like this). Question is: does the blu-ray standard allow for such fast changing subtitles making it a PS3 specific problem?
sneaker_ger is offline   Reply With Quote
Old 25th August 2009, 20:06   #46  |  Link
deank
Programmer (or just 教务长)
 
deank's Avatar
 
Join Date: Oct 2008
Location: Valencia, Spain
Posts: 4,251
I get the same flickering in TMT and PS3...

Btw I decided to create a small front-end (gui like) to avs2bdnxml+bdsup2sup.
__________________
multiAVCHD - donate | popBD | uncropMKV | mkv2avi | easySUP
deank is offline   Reply With Quote
Old 25th August 2009, 21:05   #47  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Quote:
Having the XML output would've been useful too, but I can generate this myself, of course. Also, maybe this is related to the problem sneaker_ger reported. If timing is 1 frame off after conversion to SUP, it could lead to flickering subs where exact timing is required.
Tried to set 23.976 to avs2bdnxml - flickering exist.
Tried to set 23.976d to avs2bdnxml - flickering exist.
Tried to set 24 to avs2bdnxml - flickering exist.
Tried to set 24 to avs2bdnxml and manually set 23.976 in .xml file - flickering exist.
Tried to set 24 to avs2bdnxml, set 24 in AVS script and set 24 fps in tsMuxeR for video - flickering exist.
Tried to set 25 to avs2bdnxml, set 25 in AVS script and set 25 fps in tsMuxeR for video - no sync but also no flickering.

Guys, I don't know what to do. Where to dig? Is there a problem with accuracy? Something like 23.976 is NOT the same as 24000/1001?

Sorry for my English

Last edited by Oleg Rode; 26th August 2009 at 11:41.
Oleg Rode is offline   Reply With Quote
Old 27th August 2009, 16:24   #48  |  Link
ps auxw
Registered User
 
Join Date: Apr 2009
Posts: 102
Quote:
Originally Posted by deank View Post
The application crashes if avisynth parsed width is < ~700px or height is < ~104px.
Should be fixed now.

Quote:
Originally Posted by Oleg Rode View Post
Tried to set 23.976 to avs2bdnxml - flickering exist.
[...]
Tried to set 25 to avs2bdnxml, set 25 in AVS script and set 25 fps in tsMuxeR for video - no sync but also no flickering.
I have now generated a couple of different XML files, like you said. There are still some bad timecodes in the output, for example:
Code:
<Event Forced="False" InTC="00:00:53:16" OutTC="00:00:53:16">
<Graphic Width="1280" Height="720" X="0" Y="0">00001288.png</Graphic>
</Event>
<Event Forced="False" InTC="00:00:53:16" OutTC="00:00:53:18">
<Graphic Width="1280" Height="720" X="0" Y="0">00001289.png</Graphic>
</Event>
As you can see, both start at the same timecode. Probably some rounding errors. I'll try to fix this. It might help with the flickering too.
ps auxw is offline   Reply With Quote
Old 29th August 2009, 21:11   #49  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Tried manually remove these bad timecodes from xml file
Code:
<Event Forced="False" InTC="00:00:53:16" OutTC="00:00:53:16">
<Graphic Width="1280" Height="720" X="0" Y="0">00001288.png</Graphic>
</Event>
Bad luck - flickerings exist
Oleg Rode is offline   Reply With Quote
Old 29th August 2009, 23:57   #50  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Could you do a test with PunkGraphicStream? Maybe it's not a problem of the subtitles but of the muxer (or the player). Do you have the possibility to mux with a different program (e.g. Scenarist)?
sneaker_ger is offline   Reply With Quote
Old 30th August 2009, 03:46   #51  |  Link
ps auxw
Registered User
 
Join Date: Apr 2009
Posts: 102
I have corrected timecode calculation now. (Drop timecode support is dropped for now, the results weren't correct anyway. If anybody needs it and can verify calculated timecodes, I can try adding it back correctly.) Even if removing the duplicate timecode entries failed to fix the flickering, maybe it still helps somehow? Otherwise, try what sneaker_ger suggested.
ps auxw is offline   Reply With Quote
Old 30th August 2009, 15:02   #52  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Quote:
I have corrected timecode calculation now. (Drop timecode support is dropped for now, the results weren't correct anyway. If anybody needs it and can verify calculated timecodes, I can try adding it back correctly.) Even if removing the duplicate timecode entries failed to fix the flickering, maybe it still helps somehow? Otherwise, try what sneaker_ger suggested.
Not working - flickering exist.
Quote:
Originally Posted by sneaker_ger View Post
Could you do a test with PunkGraphicStream?
Results much worse. Flickerings are on all animated subs.
Quote:
Maybe it's not a problem of the subtitles but of the muxer (or the player). Do you have the possibility to mux with a different program (e.g. Scenarist)?
OK, i'll try.
Oleg Rode is offline   Reply With Quote
Old 30th August 2009, 16:53   #53  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
The new version 1.9 still creates overlapping timecodes on Oleg's sample:
Code:
<Event Forced="False" InTC="00:00:03:17" OutTC="00:00:03:18">
<Graphic Width="1280" Height="720" X="0" Y="0">00000089.png</Graphic>
</Event>
<Event Forced="False" InTC="00:00:03:18" OutTC="00:00:03:19">
<Graphic Width="1280" Height="720" X="0" Y="0">00000090.png</Graphic>
</Event>
Or am I misinterpreting the timecodes?
Is "00:00:03:17" the first frame it is to be shown on and "00:00:03:18" the first frame it is supposed to be NOT shown on?
sneaker_ger is offline   Reply With Quote
Old 30th August 2009, 17:24   #54  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
@ Oleg:

Could you test this sample (rename to "valkyria.7z", it somehow screwed up the name) on your PS3? Don't mind subtitles and video not being in sync, only look for blinking.

Last edited by sneaker_ger; 30th August 2009 at 17:28.
sneaker_ger is offline   Reply With Quote
Old 30th August 2009, 17:46   #55  |  Link
ps auxw
Registered User
 
Join Date: Apr 2009
Posts: 102
Quote:
Originally Posted by sneaker_ger View Post
Is "00:00:03:17" the first frame it is to be shown on and "00:00:03:18" the first frame it is supposed to be NOT shown on?
I think this is the case, but I am not sure. It would be nice if anybody knew for sure and clarify the situation.

Last edited by ps auxw; 30th August 2009 at 18:27.
ps auxw is offline   Reply With Quote
Old 30th August 2009, 20:38   #56  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I had a little talk about the timecodes being 1 frame off in BDSup2Sub and it turns out that it's not an error in BDSup2Sub (nor in BDSubEdit) but actually an error in SupTitle. It just so happens that there's also an error in PunkGraphicStream and both errors nullified each other which made me draw a wrong conclusion.
sneaker_ger is offline   Reply With Quote
Old 30th August 2009, 21:53   #57  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Quote:
Originally Posted by sneaker_ger View Post
@ Oleg:

Could you test this sample (rename to "valkyria.7z", it somehow screwed up the name) on your PS3? Don't mind subtitles and video not being in sync, only look for blinking.
There is a problem - wrong AVCHD structure. I created a new one and put .m2ts file from your image. Result is not good, but I noticed a strange thing - sometimes subs are playing correctly. In other words - I start to play sample, somewhere in the middle I press "previous chapter" button and sample plays again from the beginning (of course we got only one chapter). I do this again and again and sometimes (somewhere in 1 of 7 times) there is no flickering. At least at "fading in" period. May be subs are changing too fast? May be to try slow down animation? I.e. let's 1 picture will be visible during 2-3 frames.

Sorry for my English
Oleg Rode is offline   Reply With Quote
Old 30th August 2009, 22:17   #58  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
That could be possible, but it would be a shame having to cripple animations. It also does not explain why there are no problems when using 25 fps.
What about this one:
http://www.mediafire.com/?45efdmygwyj
sneaker_ger is offline   Reply With Quote
Old 31st August 2009, 07:52   #59  |  Link
Oleg Rode
Registered User
 
Oleg Rode's Avatar
 
Join Date: Jun 2008
Location: Kiev, Ukraine
Posts: 88
Quote:
Originally Posted by sneaker_ger View Post
That could be possible, but it would be a shame having to cripple animations. It also does not explain why there are no problems when using 25 fps.
What about this one:
http://www.mediafire.com/?45efdmygwyj
Much worse than previous Flickerings are all the time.
Oleg Rode is offline   Reply With Quote
Old 31st August 2009, 14:06   #60  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Ah, my fault. Try this one.
sneaker_ger 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 20:42.


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