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 31st August 2009, 03:06   #41  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
What's the frame rate of your source?

Edit: I think I know what's going on.
It's a rounding error that's resulting 1000.999999 being treated as 1000.
I'll change it such that it rounds up / down more accurately.

I've found the problem with the subtitle not showing with v1.0.6.
It's another 10L caused by code refactoring.

Last edited by Zachs; 31st August 2009 at 03:28.
Zachs is offline   Reply With Quote
Old 31st August 2009, 03:25   #42  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
24000/1001
sneaker_ger is offline   Reply With Quote
Old 31st August 2009, 05:50   #43  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
v1.0.7 now available.
Fixes both problems.

http://www.zachsaw.co.cc/?pg=suptitl...visynth_plugin
Zachs is offline   Reply With Quote
Old 31st August 2009, 14:01   #44  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
That was fast, Thanks! Working fine.
sneaker_ger is offline   Reply With Quote
Old 11th September 2009, 18:58   #45  |  Link
Red Leader
Registered User
 
Join Date: Mar 2009
Posts: 4
Suptitle is great and I was wanted this for a long time.
To make installation easier, maybe you should insist that .NET 2005 is required, and that .NET 2008 does not includes 2005 functions
I had the "can't load plugin" before realizing that.

Also, it that's not too complex, could Suptitle display PGS that are not text? I tried to display a non-text .SUP file (graphic comments with trivia about the movie), and SupTitle could not display it, while regular subtitles from the same movie worked perfectly.
Red Leader is offline   Reply With Quote
Old 13th September 2009, 16:42   #46  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Thanks for the suggestions.

PGS is all bitmap - it doesn't differentiate between a text and non-text sub. Could you post your file somewhere and let me know what and where to look at?
Zachs is offline   Reply With Quote
Old 14th September 2009, 04:29   #47  |  Link
Red Leader
Registered User
 
Join Date: Mar 2009
Posts: 4
Here is the file ready for download.

http://dl.free.fr/rug5GtpiA

There must be some data that makes SupTitle stall. The graphics are comments in one color, appearing regularly at the bottom of the movie, on the sides or in the center.
Red Leader is offline   Reply With Quote
Old 14th September 2009, 13:49   #48  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
I'll take a look at it - what's the time code I should be looking at?
And what did you use to create the sup file?
Zachs is offline   Reply With Quote
Old 15th September 2009, 01:52   #49  |  Link
Red Leader
Registered User
 
Join Date: Mar 2009
Posts: 4
eac3to was used to demux the movie (m2ts file from bluray) each subtitle tracks is demuxed to a .sup file, including regular subtitles and graphics

suptitle stalls as soon as the avs script is opened

here is the error message

Name:  snapshot20090915024912.jpg
Views: 1940
Size:  144.7 KB
Red Leader is offline   Reply With Quote
Old 15th September 2009, 15:29   #50  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Yup definitely something I haven't come across before.
Will have a look and see if I could figure out the format...
Zachs is offline   Reply With Quote
Old 16th September 2009, 05:48   #51  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
I've changed the code so it would read the SUP format you posted.
It'll be available soon.

With regards to the framework dependency issue though, there's really not much I could do besides incorporating the dotnet bootstrap into a proper installer. I'm not keen on doing that as it would increase the download size to a few MBs from ~40KB. I'd rather have the framework as a separate download so users only need to download it once.
Zachs is offline   Reply With Quote
Old 16th September 2009, 08:34   #52  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
v1.0.8 is now available.
Adds support for the SUP file format found here.

Head over to http://www.zachsaw.co.cc/?pg=suptitl...visynth_plugin to download.
Zachs is offline   Reply With Quote
Old 17th September 2009, 18:57   #53  |  Link
Red Leader
Registered User
 
Join Date: Mar 2009
Posts: 4
Great! It works perfectly now, you have redefined the word responsive! Many many thanks. Now we can read the graphics commentaries demuxed from blurays. You just added a major feature that was lacking since the introduction of hidef media. Maybe you could talk to the media player classic developers, it would be fantastic to include SUP reading directly from MPC, what do you think?
Red Leader is offline   Reply With Quote
Old 19th September 2009, 12:14   #54  |  Link
vwpassion
Registered User
 
Join Date: Feb 2007
Posts: 81
Thank you for this filter! Great work.
vwpassion is offline   Reply With Quote
Old 19th September 2009, 22:25   #55  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,986
This plugin is a lifesaver!

Thanks so much!
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 21st September 2009, 03:04   #56  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Quote:
Maybe you could talk to the media player classic developers, it would be fantastic to include SUP reading directly from MPC, what do you think?
It'll be a lot easier if MPC-HC has some sort of plug-in support which would allow developers to build upon the subtitles rendering part of the software. For now though, you can use AviSynth to do the same and use MPC-HC to play the script.
Zachs is offline   Reply With Quote
Old 2nd February 2010, 01:45   #57  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
Just wanted to drop a line to inform all Suptitle users that an updated version (v1.0.9) is now available.
It fixes a problem with some SUP files not loading properly.
Zachs is offline   Reply With Quote
Old 12th May 2010, 02:18   #58  |  Link
ChldsPlay
Registered User
 
Join Date: Nov 2009
Posts: 35
I'm getting a syntax error. It says: "Script error: syntax error" Then below that is the location of the script followed by line 3, column 0.

I'm not really sure I know what I'm doing, but I think I don't see what I'm doing wrong. I installed everything mentioned.
ChldsPlay is offline   Reply With Quote
Old 12th May 2010, 04:17   #59  |  Link
Zachs
Suptitle, MediaPlayer.NET
 
Join Date: Nov 2001
Posts: 1,721
What's your script?
Zachs is offline   Reply With Quote
Old 13th May 2010, 04:28   #60  |  Link
ChldsPlay
Registered User
 
Join Date: Nov 2009
Posts: 35
LoadPlugin("SupTitle.dll")
clip = MPEG2Source("C:\Users\Kevin\Documents\NeroVision\ExportedVideo\avatar.mpg")
return clip.SupTitle("D:\Avatar\00002.track_4608.sup", forcedOnly=false,
swapCbCr=false, relocate=false, relocOffset="")

For all I know, everything about it is wrong. This is my first time working with AviSynth and scripts.
ChldsPlay is offline   Reply With Quote
Reply

Tags
avisynth, hard sub, plugin, subtitle, suptitle

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 10:13.


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