home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Subtitles
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="azzuro" data-source="post: 1276887" data-attributes="member: 50482"><p>Hello, </p><p>to use proper external language subtitle rename the subtitle : </p><p>moviefilename.lang.srt</p><p>for example : </p><p>moviename.en.srt for english subtitle</p><p>about using auto enable subtitle, need to look on lavsplitter side : </p><p>[CODE]Subtitles</p><p></p><p>There are 4 different modes to be used for subtitle selection.</p><p>Some of the modes will use the preferred languages in a similar way as the audio languages, the syntax for entering them is the same as well.</p><p>“No Subtitles”</p><p></p><p>No subtitles will be selected.</p><p>“Only Forced Subtitles”</p><p></p><p>Only subtitles marked as “forced” will be used, taking the preferred subtitle languages into account.</p><p>“Default”</p><p></p><p>The “Default” mode will select subtitles in accordance with the typical interpretation of the Matroska spec. That means that subtitles matching your language preference will be loaded, as well as subtitles marked “default” or “forced”. If none of these factors apply, no subtitles will be loaded.</p><p>“Advanced”</p><p></p><p>The advanced selection mode is the most flexible mode, and allows you to fully control which subtitles get selected. In addition to the rules already used in the other modes, it is also possible to use the audio language to determine which subtitle should be loaded. Example: You want no subtitles with English audio, but you do want subtitles with German audio. This is possible in advanced mode.</p><p></p><p>The advanced mode uses a different syntax for the preferred language field to enable these rules. Instead of a single language tag, a combined tag of audio and subtitle language is required (separated by a colon). The most basic tag would look like this: “ger:eng”. In this case, the interpretation would be “If Audio is German, use English subtitles”.</p><p></p><p>Note: Even though this may feel similar to the selectors Haali’s Media Splitter offers, LAV’s implemention does not allow you to speficy which audio stream is used through the advanced selectors, the audio language is only used to select which subtitles are used.</p><p></p><p>In addition to simply using two language tags, you can use the “*” character to match all languages, or the “off” token to disable subtitles. For example, following tag will enable any subtitles when the audio is english, and disable subtitles otherwise: “eng:*;off”.</p><p></p><p>As you’ve seen in the previous example, multiple rules can be concatenated using a semi-colon (or a space) to build rule chains. Again, everything is interpreted from left to right.</p><p></p><p>The example also shows that the audio language tag is optional. Consider following rule: “*:eng”</p><p>This rule means “Use English subtitles when Audio is *”. This rule applies to all audio languages, so you can omit the * and just write “eng”, which has the exact same meaning.</p><p></p><p>To complete the advanced mode, there are a number of flags for “default”, “forced”, “hearing impaired” and “normal” subtitles which are supported. The flags are identified by their first letter, and appended to the subtitle language separated by a pipe character (“|”). As an example, following rule will select any “forced” subtitles, and turn off subtitles otherwise:</p><p>“*:*|f;*:off”</p><p></p><p>To finish the section about advanced subtitles, here some examples of rules to inspire you:</p><p></p><p>“*:eng;*:*|f;*:*|d”</p><p>This is the rule equal to the “Default” subtitle mode with English as a preferred language.</p><p></p><p>“*|n”</p><p>Select all normal subtitles, meaning “not forced, not default and not hearing impaired”</p><p></p><p>“eng:eng|f;ger:ger|f”</p><p>Load English “forced” subtitles if audio is English, load German “forced” subtitles if audio is German, no subs otherwise.</p><p></p><p>“eng:off;fre:eng;*|d”</p><p>English Audio: Turn subs off; French Audio: English subs; Any other audio: try to find subtitles flagged “default”.[/CODE]</p></blockquote><p></p>
[QUOTE="azzuro, post: 1276887, member: 50482"] Hello, to use proper external language subtitle rename the subtitle : moviefilename.lang.srt for example : moviename.en.srt for english subtitle about using auto enable subtitle, need to look on lavsplitter side : [CODE]Subtitles There are 4 different modes to be used for subtitle selection. Some of the modes will use the preferred languages in a similar way as the audio languages, the syntax for entering them is the same as well. “No Subtitles” No subtitles will be selected. “Only Forced Subtitles” Only subtitles marked as “forced” will be used, taking the preferred subtitle languages into account. “Default” The “Default” mode will select subtitles in accordance with the typical interpretation of the Matroska spec. That means that subtitles matching your language preference will be loaded, as well as subtitles marked “default” or “forced”. If none of these factors apply, no subtitles will be loaded. “Advanced” The advanced selection mode is the most flexible mode, and allows you to fully control which subtitles get selected. In addition to the rules already used in the other modes, it is also possible to use the audio language to determine which subtitle should be loaded. Example: You want no subtitles with English audio, but you do want subtitles with German audio. This is possible in advanced mode. The advanced mode uses a different syntax for the preferred language field to enable these rules. Instead of a single language tag, a combined tag of audio and subtitle language is required (separated by a colon). The most basic tag would look like this: “ger:eng”. In this case, the interpretation would be “If Audio is German, use English subtitles”. Note: Even though this may feel similar to the selectors Haali’s Media Splitter offers, LAV’s implemention does not allow you to speficy which audio stream is used through the advanced selectors, the audio language is only used to select which subtitles are used. In addition to simply using two language tags, you can use the “*” character to match all languages, or the “off” token to disable subtitles. For example, following tag will enable any subtitles when the audio is english, and disable subtitles otherwise: “eng:*;off”. As you’ve seen in the previous example, multiple rules can be concatenated using a semi-colon (or a space) to build rule chains. Again, everything is interpreted from left to right. The example also shows that the audio language tag is optional. Consider following rule: “*:eng” This rule means “Use English subtitles when Audio is *”. This rule applies to all audio languages, so you can omit the * and just write “eng”, which has the exact same meaning. To complete the advanced mode, there are a number of flags for “default”, “forced”, “hearing impaired” and “normal” subtitles which are supported. The flags are identified by their first letter, and appended to the subtitle language separated by a pipe character (“|”). As an example, following rule will select any “forced” subtitles, and turn off subtitles otherwise: “*:*|f;*:off” To finish the section about advanced subtitles, here some examples of rules to inspire you: “*:eng;*:*|f;*:*|d” This is the rule equal to the “Default” subtitle mode with English as a preferred language. “*|n” Select all normal subtitles, meaning “not forced, not default and not hearing impaired” “eng:eng|f;ger:ger|f” Load English “forced” subtitles if audio is English, load German “forced” subtitles if audio is German, no subs otherwise. “eng:off;fre:eng;*|d” English Audio: Turn subs off; French Audio: English subs; Any other audio: try to find subtitles flagged “default”.[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Subtitles
Contact us
RSS
Top
Bottom