2015-09-17, 17:48
(2015-09-17, 12:56)ashlar Wrote:(2015-09-14, 23:35)ashlar Wrote: aracnoz, does your version of DSPlayer still allow for rules in mediasconfig.xml?warner306, do you know if what I'm asking makes sense? Am I doing a mistake in writing the rule or are rules unsupported for filters selection in this version of DSPlayer?
I tried using
Code:rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|vob|mts|m2ts|ts|bdmv">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
<subs videoresolution="480|540|720" filter="xysubfilter" />
<subs filter="directvobsub_(auto-loading_version)" />
</rule>
hoping to use VSFilter only for 1080p files (the grand majority of 2:35 and 1:85 files I have), while using xySubfilter for lower resolution files, to take advantage of its hi res subs... but it doesn't work. And in the GUI I don't see the above rule anywhere. As you see it above, xySubfilter is always used, if I invert the two lines, xyVSFilter is always used.
as first thing you should uninstall xysubfilter to avoid any conflicts with system merits between xyvsfilter and xysubfilter, after that the correct formulation should be
Code:
<rule filetypes="mkv|avi|divx|ogm|mp4|mov|m4v|flv|m2v|mpeg|mpg|vob|mts|m2ts|ts|bdmv">
<source filter="lavsource" />
<splitter filter="lavsplitter" />
<video filter="lavvideo" />
<audio filter="lavaudio" />
<subs>
<subs videoresolution="480|540|720" filter="xysubfilter_internal" />
<subs videoresolution="1080" filter="directvobsub_(auto-loading_version)" />
</subs>
</rule>
anyway i really suggest to use only xysubfilter , but it's your choice