Did you read what is described here????
viewtopic.php?f=11&t=7398#p36118
This one adds support for external .IDX/.SUB (VOBSUB) subtitles (not only embeded ones in MKV)
Files need to be in this format:movie_name.avi/mkv
movie_name.en.idx
movie_name.en.sub
Language tag have to be in 2char format!
For now it doesn't support loading lang tag directly from .IDX. It is needed to be defined in file name directly.
ExSport wrote:Please don't be lazy and google more if you don't know.
Also read settings what 3DSubtitler shows. What about switching to VOBSUB format and not the one which is for Blu-Ray (.SUP is not supported by MEncoder)?
Sorry for offence but linked post explains everything so I don't understand what is not clear![]()
mlo wrote:Since mencoder handles VOBSUB subtitles correctly, it can be enabled in PS3 Media Server with the following patch:
- Code: Select all
Index: net/pms/encoders/MEncoderVideo.java
===================================================================
--- net/pms/encoders/MEncoderVideo.java (revision 410)
+++ net/pms/encoders/MEncoderVideo.java (working copy)
@@ -1324,10 +1324,10 @@
if (subString != null && !configuration.isMencoderDisableSubs() && !avisynth()) {
if (params.sid.type == DLNAMediaSubtitle.VOBSUB) {
// vobsub not supported in MEncoder :\
- //cmdArray[cmdArray.length-4] = "-vobsub";
- //cmdArray[cmdArray.length-3] = subString.substring(0, subString.length()-4);
- cmdArray[cmdArray.length-4] = "-quiet"; //$NON-NLS-1$
- cmdArray[cmdArray.length-3] = "-quiet"; //$NON-NLS-1$
+ cmdArray[cmdArray.length-4] = "-vobsub";
+ cmdArray[cmdArray.length-3] = subString.substring(0, subString.length()-4);
+ //cmdArray[cmdArray.length-4] = "-quiet"; //$NON-NLS-1$
+ //cmdArray[cmdArray.length-3] = "-quiet"; //$NON-NLS-1$
} else {
cmdArray[cmdArray.length-4] = "-sub"; //$NON-NLS-1$
cmdArray[cmdArray.length-3] = subString.replace(",", "\\,"); // comas in mencoder separates multiple subtitles files //$NON-NLS-1$ //$NON-NLS-2$
Index: net/pms/dlna/DLNAMediaInfo.java
===================================================================
--- net/pms/dlna/DLNAMediaInfo.java (revision 410)
+++ net/pms/dlna/DLNAMediaInfo.java (working copy)
@@ -548,6 +548,17 @@
lang.lang = DLNAMediaLang.UND;
lang.id = subId++;
subtitlesCodes.add(lang);
+ } else if (line.indexOf("Subtitle:") > -1 && line.contains("dvdsub")) {
+ DLNAMediaSubtitle lang = new DLNAMediaSubtitle();
+ lang.type = DLNAMediaSubtitle.VOBSUB;
+ int a = line.indexOf("(");
+ int b = line.indexOf("):", a);
+ if (a > -1 && b > a) {
+ lang.lang = line.substring(a+1, b);
+ } else
+ lang.lang = DLNAMediaLang.UND;
+ lang.id = subId++;
+ subtitlesCodes.add(lang);
}
}
}
Raptor399 wrote:The patch looks fairly simple to apply.
Is there a reason why happy.neko hasn't incorporated this in the official PMS code when he cleaned up the code a while ago?
Users browsing this forum: No registered users and 1 guest