INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: Matt on July 21, 2011, 10:26:18 am

Title: NEW: JRiver Subtitle Engine
Post by: Matt on July 21, 2011, 10:26:18 am
MC16.0.136 introduces a JRiver subtitle engine.

Using the JRiver Subtitle Engine has several advantages:


Here are two 100% crops of a Blu-ray showing subtitles with both the current ffdshow system, and with the new JRiver system.  Notice the sharpness of the subtitles and the colored ghosting around the edges of the ffdshow version.

ffdshow subtitles: http://files.jriver.com/images/subtitles_ffdshow.png

New JRiver subtitles: http://files.jriver.com/images/subtitles_jriver.png

More technical details follow.
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on July 21, 2011, 10:29:41 am
This describes the current capabilities of the JRiver subtitle engine.

Supported Embedded Subtitle Formats

.

Supported Sidecar Subtitle Formats

.

Supported Video Decoders

.

Supported Renderers

.

Render Quality

.

Sidecar naming rules
Sidecar subtitle files must start with the same name as the video filename.  They can optionally contain any suffix to describe the language, etc.  Then they must be terminated with a known extension like .srt or .sub.

Another way to say this is that subtitles must use the convention, [Name]*.[Extension] where * is an identifier (or empty).

You can also place the subtitle files in a subfolder.  The folder must be named 'Sub', 'Subs', 'Subtitle' or 'Subtitles'.  The subtitle file itself must use the same naming rule [Name]*.[Extension]

Additional features
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on July 21, 2011, 10:30:49 am
Related Threads

Original announcement:
http://yabb.jriver.com/interact/index.php?topic=65269.0

Text based drawing discussion:
http://yabb.jriver.com/interact/index.php?topic=65296.0
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on July 21, 2011, 10:34:51 am
(reserved)
Title: Re: NEW: JRiver Subtitle Engine
Post by: mobyfrag on July 21, 2011, 11:22:42 am
Waooh, it looks very nice and much more clear ;D
However, the purple tint under the ffdshow subtitles is pretty weird :o
Title: Re: NEW: JRiver Subtitle Engine
Post by: CountryBumkin on July 21, 2011, 12:09:54 pm
I'm not noticing the purple tint. But the JRiver png example is definately sharper.
Title: Re: NEW: JRiver Subtitle Engine
Post by: jmone on July 21, 2011, 04:16:44 pm
Let me add my thanks and congrats to those involved in the Dev for how quickly they have implemented it!  Another advantage is that the J River Sub Renderer is not impacted by the FFDSHOW "disappearing" Sub Title Bug.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 01, 2011, 08:10:52 am
The new subtitle engine is good. But I really need .ass animations and other formatting. Are there any plans for implementing them in the near future? And if not is there any method to use external subtitle filters with MC 17 ?
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 01, 2011, 10:19:29 am
But I really need .ass animations and other formatting. Are there any plans for implementing them in the near future?

Most formatting should be supported.  Maybe try 17.0.17 or newer since it has this:
Fixed: The v4+ style blocks would not be parsed for some SSA subtitles.

If that's not sufficient, could you pick the two most important formatting or animation features that are missing?  Maybe we could add them.

Thanks.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 02, 2011, 08:55:44 am
Well, whenever I try to play any mkv file with styled subtitles (.ass), the new engine always forces its font settings on the subtitles . Also when multiple subtitle lines are present at the same frame only only line is displayed.
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 02, 2011, 09:29:28 am
Well, whenever I try to play any mkv file with styled subtitles (.ass), the new engine always forces its font settings on the subtitles.

v17 allows selecting the subtitle font.


Quote
Also when multiple subtitle lines are present at the same frame only only line is displayed.

I can't find a way to know how long a given subtitle should stay visible in the SSA format.  So we show for a few seconds or until the next subtitle is shown.  Do you have any more information on this?

Thanks.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 03, 2011, 07:58:55 am
Well, here are some screenshots.
The way it is shown by directVobSub and MPC-HC internal engine: http://i.imgur.com/M4PfF.jpg (http://i.imgur.com/M4PfF.jpg)
The way shown by J River internal engine: http://i.imgur.com/KxPuB.jpg (http://i.imgur.com/KxPuB.jpg)
J River is not using the embedded fonts . Is there any way to make it the subtitles show in the proper way.
This is the only thing that is preventing J River from becoming my sole media player.
I would really appreciate any help. Also as a final fallback, is it possible to configure J River to use VobSub for ass/ssa subtitles ?
Title: Re: NEW: JRiver Subtitle Engine
Post by: sgomes on November 03, 2011, 09:40:07 am
I can't find a way to know how long a given subtitle should stay visible in the SSA format.  So we show for a few seconds or until the next subtitle is shown.  Do you have any more information on this?

http://matroska.org/technical/specs/subtitles/ssa.html (http://matroska.org/technical/specs/subtitles/ssa.html) (and the linked DOC at http://moodub.free.fr/video/ass-specs.doc (http://moodub.free.fr/video/ass-specs.doc)) should have all the tech specs. Events seem to include a start and an end, which is probably what you need.
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 03, 2011, 10:05:08 am
Well, here are some screenshots.
The way it is shown by directVobSub and MPC-HC internal engine: http://i.imgur.com/M4PfF.jpg (http://i.imgur.com/M4PfF.jpg)
The way shown by J River internal engine: http://i.imgur.com/KxPuB.jpg (http://i.imgur.com/KxPuB.jpg)
J River is not using the embedded fonts . Is there any way to make it the subtitles show in the proper way.

In a coming build of 17:
NEW: SSA subtitle engine supports the custom fonts for each style used in the SSA (falls back to user selection when a block of text has no font in its style).

If there's also a problem with showing two subtitles at once, could you provide a sample video?

Thanks.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 03, 2011, 04:32:41 pm
Here is a sample video: http://www.filesonic.in/file/11998573/Lia_-_Tori_no_Uta_long_version.mkv (http://www.filesonic.in/file/11998573/Lia_-_Tori_no_Uta_long_version.mkv).
Well currently the subtitle engine is not showing the embedded fonts. All the subs are not showing. Those that are showing, their display is not stopping at the proper time. Also subtitle position is off. I hope these issues are resolved soon.
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 04, 2011, 10:14:06 am
Thanks for the sample.

It looks like the show durations are embedded in the stream times, not the subtitle data.

Look for nice handling of this in a coming build of v17.
Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 04, 2011, 10:57:43 am
A coming build of v17 will also have this:
NEW: The subtitle engine supports animated SSA karaoke subtitles.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 09, 2011, 07:32:22 am
I just installed the latest MC 17 beta and was was impressed with the much better ssa subtitle support. The main subtitles are showing with embedded font and the timing was correct. But there are still problems with the karaoke subtitles. On the test video I have uploaded earlier the animation and position of the karaoke subs are not correct.
J River: http://s7.postimage.org/bkmbvv9jv/J_River.png (http://s7.postimage.org/bkmbvv9jv/J_River.png)
Proper: http://s8.postimage.org/738k8q2mt/proper.png (http://s8.postimage.org/738k8q2mt/proper.png)
Also in most other videos the subtitles are still messed up. Color and other things like outline effects are not showing. The karaoke subtitles are appearing bundled at the bottom.  I am linking another video in which  the positional problems are prominent: http://goo.gl/vHCou (http://goo.gl/vHCou)

Title: Re: NEW: JRiver Subtitle Engine
Post by: Matt on November 09, 2011, 03:00:04 pm
In a coming build of v17:
Fixed: The vertical position of SSA subtitles was not correct in some cases.
Changed: Added support for vertical text with SSA subtitles.
Changed: SSA subtitle support honors the scale and font size of the styles section (font size is scaled relative to median font size used in the styles section).

There's still some formatting markers I don't understand, like \org.  The SSA spec doesn't do much to clarify these cases.
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on November 09, 2011, 04:39:08 pm
Does this help? : http://goo.gl/anm8T (http://goo.gl/anm8T)
Title: Re: NEW: JRiver Subtitle Engine
Post by: alspoll on November 13, 2011, 08:49:09 am
I mentioned this also in the MC17 thread as well...

I am noticing that the duration that subtitles appears on screen is not consistent with the time it takes to speak the line. It feels like it is using a standard duration as opposed to the timestamps.

Is there a way to disable the JRiver subtitle renderer and use an external one, ie FFDSHOW or vobsub?

I have a lot of foreign films and it makes watching them very unenjoyable.

Any suggestions?

TIA,

AL
Title: Re: NEW: JRiver Subtitle Engine
Post by: arcwest1 on January 05, 2012, 01:19:38 am
The ssa support is quite good now. In the previous beta builds there was a problem that multiple subtitles were not showing up on the same frame. But in version 17.0.62 that is fixed. But can the karaoke animations be improved? Thanks in advance.