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 5th March 2007, 17:15   #81  |  Link
ai4spam
Programmer
 
ai4spam's Avatar
 
Join Date: Sep 2003
Posts: 382
SubRip

SubRip expects the bitmaps in the format DVDSupDecode writes them (supported options are Palette, FrameRate and Alpha).
The images need not be full-screen, they should be cropped like in .idx/.sub. Also, they are 256-color .bmp files (8 bits per pixel).
Finally, SubRip can process characters of at most 80x44 pixels, so if your characters are larger than that, you need to do a resize. Careful with bilinear interpolation, make sure it doesn't create new color values (only 4 colors are supported).
ai4spam is offline   Reply With Quote
Old 5th March 2007, 20:53   #82  |  Link
dchard
Registered User
 
Join Date: Aug 2006
Posts: 53
With a.25b and demuxed Batman begins (with latest evodemux) and 32bit sp2 XP I got access violation errors, when trying to open demuxed .sup-s in supreader.

Dchard
dchard is offline   Reply With Quote
Old 6th March 2007, 15:16   #83  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by dchard View Post
With a.25b and demuxed Batman begins (with latest evodemux) and 32bit sp2 XP I got access violation errors, when trying to open demuxed .sup-s in supreader.

Dchard
Download the newest EVOdemux and demux the subtitle again.
Pelican9 is offline   Reply With Quote
Old 7th March 2007, 08:43   #84  |  Link
tjf
Registered User
 
Join Date: Apr 2005
Posts: 50
I am trying to convert the demuxed sup subtitles to idx and then mux it to Matroska. I do not care much for OCR as the file size savings do not make sense compared to those huge video and audio files. So I tried to open the sup file in SubtitleCreator but at the end of import I get .NET Framework unhandled exception.

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at SubtitleCreator.SUPPreviewForm.UpdateMenu()
   at SubtitleCreator.SUPPreviewForm.ListBoxSUPSelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
   at SubtitleCreator.SUPPreviewForm.ShowSUPPreview(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SubtitleCreator
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files/SubtitleCreator/SubtitleCreator.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DShowNET
    Assembly Version: 1.0.0.1
    Win32 Version: 1.0.0.1
    CodeBase: file:///C:/Program%20Files/SubtitleCreator/DShowNET.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ListViewEx
    Assembly Version: 1.0.2297.19690
    Win32 Version: 1.0.2297.19690
    CodeBase: file:///C:/Program%20Files/SubtitleCreator/ListViewEx.DLL
----------------------------------------
SubtitleCreator.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files/SubtitleCreator/en/SubtitleCreator.resources.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
tjf is offline   Reply With Quote
Old 7th March 2007, 10:15   #85  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
I am trying to convert the demuxed sup subtitles to idx and then mux it to Matroska.
You're right. This is the best thing we can do now, as SubRip works strangely with image sequence.
Maybe SUPread can directly export idx/sub files ?
Maybe this code can be included in EVODemux ?
For this, we need to find idx/sub file specs ...

EDIT:
A good start point : http://www.matroska.org/technical/sp...es/images.html

Last edited by Deckard2019; 7th March 2007 at 14:08.
Deckard2019 is offline   Reply With Quote
Old 7th March 2007, 14:14   #86  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
I think the idx/sub structure can contain only the DVD's subtitles, but cannot the HD DVD's subtitles because the subtitle streams are different.
Pelican9 is offline   Reply With Quote
Old 7th March 2007, 17:31   #87  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
I think the idx/sub structure can contain only the DVD's subtitles, but cannot the HD DVD's subtitles because the subtitle streams are different.
As we can mux the files in MKV container, I don't think it's only relative to DVD.
Deckard2019 is offline   Reply With Quote
Old 7th March 2007, 18:12   #88  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by Deckard2019 View Post
As we can mux the files in MKV container, I don't think it's only relative to DVD.
I'm sure. :-)

I don't understand why the programmers don't develop their softwares to handle this new .sup format of HD DVD...
(Manusse! Do you hear me?)
Pelican9 is offline   Reply With Quote
Old 7th March 2007, 20:41   #89  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Hi Pel,

It's on my plans to have a look but at present I (and Paddington) are a bit busy and don't have much time for programming.
Also we want to add many features to SubtitleCreator like karaoke sup generation, sup or vobsub resize, HD compatibility, fix the annoying remaining bugs ...
I was wondering if at first a simple import function in SubtitleCreator would do the job. Like resizing the sup to SD and reducing the number of colors to 3. This may be an easier task for a beginning.

What do you (the users) think?

Manusse

Last edited by manusse; 7th March 2007 at 22:35.
manusse is offline   Reply With Quote
Old 7th March 2007, 23:12   #90  |  Link
dchard
Registered User
 
Join Date: Aug 2006
Posts: 53
Quote:
Originally Posted by Pelican9 View Post
Download the newest EVOdemux and demux the subtitle again.
With those the problem solved.

About HD-DVD subtitles:
now we had the complete subtitle in BMP/PNGs, so first the .sup --> .srt conversion have to be solved.

But a most annoying problem is, that we cannot convert any .srt to .sup and then remux the stream with it. Now if a rip done, than its very easy to find/resync existing subtitles and use them, but if I have a proper one for a HD-DVD movie I cannot use it. So I think the most important is the capability to convert .srt to .sup, and then remux the video with it. Teh second is .sup to .srt .

Dchard
dchard is offline   Reply With Quote
Old 7th March 2007, 23:40   #91  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by dchard View Post
With those the problem solved.

About HD-DVD subtitles:
now we had the complete subtitle in BMP/PNGs, so first the .sup --> .srt conversion have to be solved.

But a most annoying problem is, that we cannot convert any .srt to .sup and then remux the stream with it. Now if a rip done, than its very easy to find/resync existing subtitles and use them, but if I have a proper one for a HD-DVD movie I cannot use it. So I think the most important is the capability to convert .srt to .sup, and then remux the video with it. Teh second is .sup to .srt .

Dchard
No.
First thing first.
The hard part is the .sup to .srt conversion (OCR).
If it's working go to the next part.
I'll make the subtitle multiplex in EVOdemux.
Pelican9 is offline   Reply With Quote
Old 7th March 2007, 23:47   #92  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
Hi Pel,

It's on my plans to have a look but at present I (and Paddington) are a bit busy and don't have much time for programming.
Also we want to add many features to SubtitleCreator like karaoke sup generation, sup or vobsub resize, HD compatibility, fix the annoying remaining bugs ...
I was wondering if at first a simple import function in SubtitleCreator would do the job. Like resizing the sup to SD and reducing the number of colors to 3. This may be an easier task for a beginning.

What do you (the users) think?

Manusse
I (and many others) would like to use the features of Subtitle Creator for HD subtitles right now.
Pelican9 is offline   Reply With Quote
Old 8th March 2007, 21:45   #93  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Quote:
I (and many others) would like to use the features of Subtitle Creator for HD subtitles right now.
I've understood that. But let me ask again my question:

Would a first (fast to design) solution that would resize the HD-sub to SD and lower its colour number to 3 plus background be OK.

Of course, a fully working HD solution would be better but as I mentioned before it will take time and we don't have much at present.

So would my first proposal be OK?

Cheers
Manusse
manusse is offline   Reply With Quote
Old 8th March 2007, 21:49   #94  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
Would a first (fast to design) solution that would resize the HD-sub to SD and lower its colour number to 3 plus background be OK.
Of course !
Deckard2019 is offline   Reply With Quote
Old 9th March 2007, 00:56   #95  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
I've understood that. But let me ask again my question:

Would a first (fast to design) solution that would resize the HD-sub to SD and lower its colour number to 3 plus background be OK.

Of course, a fully working HD solution would be better but as I mentioned before it will take time and we don't have much at present.

So would my first proposal be OK?

Cheers
Manusse
Sorry but it isn't clear for me.
Do you want to read the HD subtitles to the existing format that your sw can handle right now?
Anyway, my answer is yes. :-)
Pelican9 is offline   Reply With Quote
Old 9th March 2007, 19:01   #96  |  Link
manusse
SubtitleCreator's Co-Dev
 
manusse's Avatar
 
Join Date: Oct 2005
Location: France
Posts: 579
Quote:
Sorry but it isn't clear for me.
Let me try to rephrase it simply:
Add an import function to SubtitleCreator. When importing a HD-DVD sup file (extracted using EvoDemux), SubtitleCreator would first internally convert it to SD sup (which means resize it to PAL or NTSC sup size, change its number of colors to 3 plus background) and then display it. It will then be possible to process it as a standart SD subtitle, i.e. save it to sup (SD) or VobSub (sub/idx) thus allowing to OCR it with DVDSubEdit or SubRip.

Hope it's clear now.
Cheers
Manusse starting to work on it. (Hoping it's not too time consuming)
manusse is offline   Reply With Quote
Old 9th March 2007, 19:22   #97  |  Link
Pelican9
Coder
 
Pelican9's Avatar
 
Join Date: Jan 2007
Location: Around the World
Posts: 697
Quote:
Originally Posted by manusse View Post
Let me try to rephrase it simply:
Add an import function to SubtitleCreator. When importing a HD-DVD sup file (extracted using EvoDemux), SubtitleCreator would first internally convert it to SD sup (which means resize it to PAL or NTSC sup size, change its number of colors to 3 plus background) and then display it. It will then be possible to process it as a standart SD subtitle, i.e. save it to sup (SD) or VobSub (sub/idx) thus allowing to OCR it with DVDSubEdit or SubRip.

Hope it's clear now.
Cheers
Manusse starting to work on it. (Hoping it's not too time consuming)
Thanks, understood.
Pelican9 is offline   Reply With Quote
Old 9th March 2007, 21:06   #98  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
Quote:
It will then be possible to process it as a standart SD subtitle, i.e. save it to sup (SD) or VobSub (sub/idx) thus allowing to OCR it with DVDSubEdit or SubRip.
Great !
Deckard2019 is offline   Reply With Quote
Old 13th March 2007, 21:03   #99  |  Link
MichalHabart
Registered User
 
Join Date: Mar 2006
Posts: 135
Quote:
Originally Posted by manusse View Post
Let me try to rephrase it simply:
Add an import function to SubtitleCreator. When importing a HD-DVD sup file (extracted using EvoDemux), SubtitleCreator would first internally convert it to SD sup (which means resize it to PAL or NTSC sup size, change its number of colors to 3 plus background) and then display it. It will then be possible to process it as a standart SD subtitle, i.e. save it to sup (SD) or VobSub (sub/idx) thus allowing to OCR it with DVDSubEdit or SubRip.

Hope it's clear now.
Cheers
Manusse starting to work on it. (Hoping it's not too time consuming)
Sounds more then promising
MichalHabart is offline   Reply With Quote
Old 13th March 2007, 21:47   #100  |  Link
Deckard2019
Registered User
 
Join Date: Jan 2005
Posts: 110
There you are here MichalHabart
Deckard2019 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 22:44.


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