2014-08-17, 10:29 PM
Sub doesn't need to code for xysubfilter. More details after I get the kids to bed
2014-08-17, 10:29 PM
Sub doesn't need to code for xysubfilter. More details after I get the kids to bed
2014-08-18, 12:31 AM
xySubFilter requires the renderer (or possibly the video decoder) to support some proprietary interfaces, (ISubStream being one) all of which are GPL (a non starter as sub said). Normal renderers (EVR, VMR, etc) don't support these interfaces. Sub would need to create a custom presenter and/or mixer for EVR in order to support it and IMO, it's not worth the hassle. You can simply use the DirectVobSub filter instead and the autoloading version will automatically get loaded when playing an mkv/m2ts or bluray (if my BD plugin isn't used).
All sub really needs to do is query the source filter for IAMStreamSelect and use it to select subtitle and audio streams. This also wouldn't require him using any GPL code in NextPVR.
2014-08-18, 01:06 AM
whurlston Wrote:You can simply use the DirectVobSub filter instead and the autoloading version will automatically get loaded when playing an mkv/m2ts or bluray (if my BD plugin isn't used).Is DirectVobSub inserted between the video decoder and video renderer? ie, no hardware acceleration? I suspect this was one of hoborg's goals. Quote:All sub really needs to do is query the source filter for IAMStreamSelect and use it to select subtitle and audio streams. This also wouldn't require him using any GPL code in NextPVR.I have been meaning to try adding this sort of logic for playback of non .ts files, at least for audio streams. I'll see if I can do something like this for the next release. (this doesn't really help hoborg's original request, but still useful) Is DirectVobSub also controlled via IAMStreamSelect? I guess it'd be useful to be able to switch/enable/disable subtitles on some these non .ts files too.
2014-08-18, 02:11 AM
sub Wrote:Is DirectVobSub inserted between the video decoder and video renderer? ie, no hardware acceleration? I suspect this was one of hoborg's goals.Yes it does (so no hardware acceleration as you mentioned). sub Wrote:I have been meaning to try adding this sort of logic for playback of non .ts files, at least for audio streams. I'll see if I can do something like this for the next release. (this doesn't really help hoborg's original request, but still useful)DirectVobSub does not support IAMStreamSelect but most non ts files will probably be loaded using LAV Splitter Source (or use the FileSource Async with LAV Splitter), which does support IAMStreamSelect. The way I used it on one of my many past attempts for Bluray Playback was to have the following class and enum: Code: public class StreamInfo and then I got the streams using the following (where "sourceFilter" is an IBaseFilter, usually LAV Splitter Source): Code: List<StreamInfo> streamInfoList = new List<StreamInfo>();
2014-08-18, 02:15 AM
Ah, right. Gotcha. Thanks for the info.
2014-08-18, 04:14 AM
whurlston Wrote:... You can simply use the DirectVobSub filter instead and the autoloading version will automatically get loaded when playing an mkv/m2ts or bluray (if my BD plugin isn't used). Hi. No problem with HW acceleration thanks to LAV DXVA copy back, the problem is bad quality of subtitles on low res videos :/
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2014-08-18, 04:17 AM
sub Wrote:Your original one-liner request was making it sounds like you were after something smaller. Sub, i am jusl looking for a solution to replace old FFDshow. If support of XySubFilter is too complex, what about better support of MadVR? For me biggest issue is not working Aspect Ratio and hiding of progres bar, else it seems to be working fine.
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2014-08-18, 05:35 AM
Hi Hoborg
hoborg Wrote:Sub, i am jusl looking for a solution to replace old FFDshow. Have you tried the xy-vobsub filter - its what I have been using with my customized SAF install (SAF23, MPC-HC Nightlies [for LAV filters] and FFDShow unreg & Removed) It looks very good once the font size is reduced (Droid Sans works well) on my 50" Plasma and Copyback DXVA works on my HD7000 series AMD Graphics Card. Although I can't comment on very low res video as I probably don't do less than DVD and most are 720 or 1080p
It's not an overly complicated system - it's more - overly simple operatives
2014-09-02, 05:31 AM
SUB, if you do not want to support MadVR, and creating custom renderer is too complex, what about possibility to add FFDShow RAW VIDEO filter in to the graph (between video decoder and video renderer)?
I known that nPVR leaves that completly on DirectShow, but there is no way how to do that automatically without player support. By this, we can gain: - hi quality subtitles rendering (resize video to screen resolution => add subtitles in to the resized image) - audio/subtitles streams switching including keyboard shortcuts = possibility to map them to remote controler - no DXVA broken (if LAVF DXVA copyback/Intel Quick Sync/CUDA is in use) Of course this should only be done for non .TS files/DVDs. It can be configured by one line in config.xml. What do you think? It can be a solution.
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE] |
|