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. |
13th August 2011, 23:27 | #4621 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
The "default" flag only controls which subtitle is loaded, it does not control wether a subtitle is loaded.
Subtitles that should always be loaded should be flagged "forced", not "default", thats my interpretation of the spec anyway. I guess i can add a new option to treat default like forced, if people want that.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
13th August 2011, 23:44 | #4622 | Link |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
nev,
if I'm not mistaken STaRGaZeR is trying to say that LAV Splitter is loading the first track even though it is not marked as Default (in fact none is). I think in this case no subtitles should be loaded.
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
13th August 2011, 23:45 | #4623 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I understood him just fine, and like i explained, "default" does NOT control IF a subtitle is loaded, it just controls WHICH is loaded.
IF a subtitle is loaded is controlled with the "forced" flag. The matroska spec defines the "default" stream to be used for the subtitle if no stream was found that matched the users language preferences (iow, the default, if no specific match exists). It does not mention anything else. Like i also said, i can add an option to treat default the same as forced, even though i think its silly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 13th August 2011 at 23:48. |
13th August 2011, 23:46 | #4624 | Link |
Registered User
Join Date: Jun 2011
Posts: 3
|
I'm having trouble getting out uncompressed sound to my headphones through my soundcard Asus Xonar Essence ST. The card supports 192KHz/24 PCM. I've tried putting the dtsdecoderdll.dll in the same folder as the LAV-filters but without success. I've enabled all kind of things in bitstreaming etc. but I get no sound.
Is it because my soundcard can't transform the DTS HD-MA 5.1-track to PCM while using bitstream? |
13th August 2011, 23:49 | #4625 | Link | |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
Quote:
if we follow your logic - how should we mark the subtitle tracks so none of them is loaded by default? Is there an option meaning the opposite of "forced"?
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
|
13th August 2011, 23:53 | #4626 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
Another crash issue:
Get Microsoft's GraphEdit tool. Try inserting a filter through its menu. It will crash when expanding the DirectShow filters list. The cause is having too many mediatypes defined for the input pin of the filter. The max that GraphEdit supports is around 115. (tested with GraphEdit build 090714)
__________________
MPC-HC 2.2.1 |
13th August 2011, 23:53 | #4627 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Change the configuration of LAV Splitter, and set the "Subtitle Mode" to "Only Forced Subtitles". That'll cause it to only load subtitles that are marked "forced", unless you manually change the selection.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 13th August 2011 at 23:56. |
13th August 2011, 23:55 | #4628 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
What am i supposed to do, stop supporting new formats because MS has a broken application? AFAIK, GraphStudio does not have that limitation (and is IMHO much nicer to work with!)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
13th August 2011, 23:59 | #4629 | Link | |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
Quote:
afaik then you have to untick a checkmark elsewhere, either in directovub or mpc-hc settings. edit: lol sorry, missed the no subtitles option editē: too slow -.-
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack) Last edited by Thunderbolt8; 14th August 2011 at 00:02. |
|
14th August 2011, 00:00 | #4630 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
The subtitle mode also has a third option for "No subtitles"
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
14th August 2011, 00:04 | #4631 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
I also always use GraphStudio. I was just pointing out the issue and its cause, in case this issue ever pops up again.
__________________
MPC-HC 2.2.1 |
14th August 2011, 00:06 | #4632 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
I know of the issue, but i decided to just ignore it.
Limiting the number of media types is not a viable option for me.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
14th August 2011, 00:07 | #4633 | Link | ||
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
Quote:
this will work, but I think STaRGaZeR was asking about a way to do it "on per file bases". Quote:
Here is how I understand it: If none of the tracks is marked as "forced" this means that none of the tracks is mandatory to be loaded. After this the splitter checks for a language preference and if none is set it should check for a "default" track and again if none is marked as such it shouldn't load any. Now this could lead to a problem - if most .mkv files are muxed without a default track and the user is used to get the first one. Does anybody know how other splitters react in such cases? May be the option should be called "don't load subtitles if none is marked as forced or default"
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
||
14th August 2011, 00:12 | #4634 | Link | ||
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
Quote:
The point here is that its supposed to be configurable, and we'll never agree on a good default config. Personally, i only want forced subs, i don't want any others. I don't watch content where i have to read alot. But other people always want subs and rather turn them off on a file-per-file basis where they don't need them. Everyone likes different things, and one mode will not please everyone. I actually thought the options were pretty self-explaining, no-one ever misunderstood them before.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 14th August 2011 at 00:18. |
||
14th August 2011, 00:22 | #4635 | Link |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
nev, please, don't get mad at me - it could be the language barrier (I'm not native English speaking) but I'm not sure if you understand my idea.
How can I accomplish the following without having to manually alter the settings before each movie: When there is a forced subs track - load it. When there is a default track - load it. and for some .mkv files - don't load any subs. I thought that if I don't mark any track as forced or default none will be loaded by default, but they will still be available for selection through the UI. Feel free to ignore this post if you don't want to tutor me onto MKV spec.
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
14th August 2011, 00:31 | #4636 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Right now, you cannot do this.
What works right now are these modes (assuming you configured some preferred languages) SubMode "Full Subtitles" + "Only with matching language" checked (the default configuration) - When there is a track matching your preferred language, it'll be selected. - If there is more then one matching your language, the one with "default" is preferred - Otherwise, no subtitles will be selected. SubMode "Full Subtitles" + "Only with matching language" NOT checked - When there is a track matching your preferred language, it'll be selected. - If there is more then one track, the one with "default" is preferred - If there was no "default", and no track matching the language, the first track is selected SubMode "Only Forced" + "Only with matching language" checked - When there is a track marked "forced" matching your preferred language, it'll be selected. - Otherwise, no subtitles will be selected. SubMode "Only Forced" + "Only with matching language" NOT checked - When there is a track marked "forced" matching your preferred language, it'll be selected. - If there was no track matching your language, the first stream marked "forced" will be selected - Otherwise, no subtitles will be selected. SubMode "No Subtitles" - You get no subtitles. What i am proposing is an option to simply add streams marked as "default" to the same logic as "forced" subs, so it would go like this, basically: SubMode "Only Forced" + "Only with matching language" NOT checked + "Treat DEFAULT like FORCED" checked - When there is a track marked "forced" OR "default" matching your preferred language, it'll be selected. - If there was no track matching your language, the first stream marked "forced" OR "default" will be selected - Otherwise, no subtitles will be selected. This would give you the result you want. If there is a track "forced", it'll be used. If there is a track "default", it'll be used. If not, you don't get subtitles. Anyway, i'm falling asleep now.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 14th August 2011 at 00:38. |
14th August 2011, 00:45 | #4637 | Link |
Registered User
Join Date: Mar 2002
Location: Sofia, Bulgaria
Posts: 661
|
nev,
thank you very much for the detailed explanation. The case I used was somewhat theoretical so you should add such an option only if others really need it. For me it's not that important.
__________________
Z370M Pro4 | i3-8100 | 16GB RAM | 256GB SSD + 40TB NAS NVIDIA GTX 1060 6GB (385.28) | LG OLED65B7V Win 10 64bit 1803 + Zoom Player v14 |
14th August 2011, 01:34 | #4638 | Link | ||||
4:2:0 hater
Join Date: Apr 2008
Posts: 1,302
|
Quote:
Quote:
Quote:
Quote:
To make my point stronger: if there are no defaults that means the user has explicitly set them to no, because if the option "default" is used in all tracks (and this is the default option), mkvmerge sets the default flag to yes in the first track, and to no in the others. This guarantees that without direct and intentional user intervention the first track will be loaded regardless. Proposition: if no defaults are found, don't select any. Everything else untouched. Nice and easy Now my head is spinning after so many defaults :S Last edited by STaRGaZeR; 14th August 2011 at 01:36. |
||||
14th August 2011, 01:36 | #4639 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
EDIT: I've read through more posts since replying. I get what they're saying I guess. If none are default or forced, then no subtitle should be selected. That's correct.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED Last edited by SamuriHL; 14th August 2011 at 01:43. |
|
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|