Jump to content

Hardware acceleration decoder for lavfilters request


ausvette

Recommended Posts

ausvette

Is it possible to add D3D11as a hardware acceleration decoder choice for lavfilters for use with madvr?

Edited by ausvette
Link to comment
Share on other sites

ausvette

I'm talking aboout the lavfilter decoder settings.

 

post-4966-0-32028400-1514032394_thumb.jpg

 

 

I would like a setting which allows selection of D3D11 in the lav filters.

 

post-4966-0-11777100-1514032593_thumb.jpg

 

I can select D3D11 manually in the lav filters. But next time I play a video it switches back to DXVA2 copy back

 

Link to comment
Share on other sites

Guest asrequested

It looks like you're trying to use LAV filters that you installed, yourself? If that's the case, Theater has it's own LAV filters, and their settings aren't exposed, as MadVR is being used. Also, the options in the UI, are meant for mpv, not LAV or MadVR. Are you using the MadVR option in Theater?

Link to comment
Share on other sites

ausvette

It looks like you're trying to use LAV filters that you installed, yourself? If that's the case, Theater has it's own LAV filters, and their settings aren't exposed, as MadVR is being used. Also, the options in the UI, are meant for mpv, not LAV or MadVR. Are you using the MadVR option in Theater?

 

Yes. Theater runs, madvr and lav filters startup. The lav filter settings however do appear to be controlled from theater. I can make any changes I want while theater is running, but next time I watch a video they're reset again.

Link to comment
Share on other sites

Guest asrequested

Yes. Theater runs, madvr and lav filters startup. The lav filter settings however do appear to be controlled from theater. I can make any changes I want while theater is running, but next time I watch a video they're reset again.

 

That is unintentional. On my system, the tray icons are present but can't be used. They used to be hidden. This is intentional. LAV has never been given access to. 

 

The Theater UI settings are for mpv. 

 

Before mpv was introduced, many people made your request, and it was never granted. And in the initial switch over, directshow filters were removed. I'm just trying get you to understand that the directshow filters are only present because there are people who really want to use MadVR. They are trying to limit all the troubleshooting that exposing those settings can incur.

 

Out of curiosity, when you 'enable' D3D11 in LAV, how do you know it's actually being used? 

Link to comment
Share on other sites

daedalus

Out of curiosity, when you 'enable' D3D11 in LAV, how do you know it's actually being used? 

LAV itself shows what decoder it's using while running

 

@ topic

emby sometimes just don't want that experienced user can do experienced things

Link to comment
Share on other sites

Guest asrequested

LAV itself shows what decoder it's using while running

 

@ topic

emby sometimes just don't want that experienced user can do experienced things

 

I have no access to LAV at all. I see the icon in the sys tray, but I can do nothing with it. No info or anything.

Link to comment
Share on other sites

ausvette

That is unintentional. On my system, the tray icons are present but can't be used. They used to be hidden. This is intentional. LAV has never been given access to. 

 

The Theater UI settings are for mpv. 

 

Before mpv was introduced, many people made your request, and it was never granted. And in the initial switch over, directshow filters were removed. I'm just trying get you to understand that the directshow filters are only present because there are people who really want to use MadVR. They are trying to limit all the troubleshooting that exposing those settings can incur.

 

Out of curiosity, when you 'enable' D3D11 in LAV, how do you know it's actually being used? 

 

 

With newer versions of madvr and newer versions of lav filters, choosing the new D3D11 hardware decoder in lav filters enables 10bit fullscreen windowed mode. With other decoders full screen exclusive mode is needed for 10 bit.

 

Is there a way to get emby theater to stop changing this setting?

 

I have been using Emby for many years since it was mediabrowser as an add on to wmc.

 

I have 2 emby server premiere licenses. One on a portable system I use for traveling and the other at home.

 

At home, I have a 65" HD tv which I'm quite happy to use emby theater with internal player and basic configuration.

 

I also have a 8 seat dedicated home cinema, sound treated, light treated, 150" anamorphic cinemascope 3D 4k projector setup with screen masking. On this system I want the absolute best picture quality possible.

 

I've been running mpc-be on that system with madvr and lavfilters upscaling to 4k and 3d playback for nearly 2 years. Was all good till about 6 months ago when emby theater started locking up after watching a video with mpc-be. Video would play perfectly, but after closing emby theater was frozen.

 

Last 6 months I've been trying to come up with a work around I can live with.

 

I tried kodi and the emby for kody addon. Plays mpc-be with madvr as I want perfectly. But seems if you use an external player with kodi then Emby doesn't update the watched status. Which I think is a must have feature. Otherwise was a good work around for me.

 

So back to emby theater. Ok so most of what I watch is 2d. So I've changed the 2d stuff over to the internal player with madvr. But I want to run later version of madvr and lav filters. Seems to be working ok. Except Emby theater keeps resetting the hardware decoder. So looking for a solution to this.

 

On the 3d side, I tried latest version of powerdvd. Set that up as an external player. Result is movie plays perfectly but after exiting powerdvd, emby theater is frozen. So I don't have a solution for 3d yet, But thats more like a once a week thing. So at the moment I'm putting up with that and restarting emby theater after watching the movie. Stupid thing to have to do. But thats all I have at the moment.

 

Its great that emby has a neat internal player, but it is pretty limited, it doesn't have all the features madvr offers, it isn't easy to configure like madvr, it doesn't do 3d and from what I read getting uhd rips to play is problematic at best.

 

Would be nice if an option was retained for more advanced users to be able to launch a extenral player of their choice without having emby theater throw a sulk and freeze up. I realize no-one else seems to have the exact same problem I do, but I read of people having various other problems trying to do more advanced things with the internal player and odd issues with external players.

Link to comment
Share on other sites

Guest asrequested

Thank you for explaining.

 

Is there a way to get emby theater to stop changing this setting?

 

Luke would need to release that. Right now, those settings a set internally, and there isn't a way for us to override that.

 

 

I've been running mpc-be on that system with madvr and lavfilters upscaling to 4k and 3d playback for nearly 2 years. Was all good till about 6 months ago when emby theater started locking up after watching a video with mpc-be. Video would play perfectly, but after closing emby theater was frozen.

 

Luke has a test build in which he's made a change to how the Theater window, operates. That might help with the locking up. The MadVR UI in this build isn't working correctly, so you'll need a keyboard to navigate. When playing, the back arrow is not visible, but you can use the backspace key. And you'll need to update LAV and MadVR.

 

If you're interested, I've been testing playback of HDR10 in mpv, and have had good results. Here's a link to the test build with an updated mpv.exe. I'd appreciate your opinion on how well HDR10 playback works, for you.

Edited by Doofus
Link to comment
Share on other sites

ausvette

Thank you for explaining.

 

 

Luke would need to release that. Right now, those settings a set internally, and there isn't a way for us to override that.

 

 

 

Luke has a test build in which he's made a change to how the Theater window, operates. That might help with the locking up. The MadVR UI in this build isn't working correctly, so you'll need a keyboard to navigate. When playing, the back arrow is not visible, but you can use the backspace key. And you'll need to update LAV and MadVR.

 

If you're interested, I've been testing playback of HDR10 in mpv, and have had good results. Here's a link to the test build with an updated mpv.exe. I'd appreciate your opinion on how well HDR10 playback works, for you.

 

Thankyou for your interest. I would love to test it. But I'm away from home traveling for the next few months.

Link to comment
Share on other sites

Thank you for explaining.

 

 

Luke would need to release that. Right now, those settings a set internally, and there isn't a way for us to override that.

 

 

 

Luke has a test build in which he's made a change to how the Theater window, operates. That might help with the locking up. The MadVR UI in this build isn't working correctly, so you'll need a keyboard to navigate. When playing, the back arrow is not visible, but you can use the backspace key. And you'll need to update LAV and MadVR.

 

If you're interested, I've been testing playback of HDR10 in mpv, and have had good results. Here's a link to the test build with an updated mpv.exe. I'd appreciate your opinion on how well HDR10 playback works, for you.

 

You're implying that you get 10 bit HDR using this build? If yes, I would like to try.

Don't know if you've looked in DSplayer on Kodi. I have been looking for a long time DSPlayer's functionality (i.e. full MadVR support) and ET's interface in a Theater app.

Link to comment
Share on other sites

Guest asrequested

You're implying that you get 10 bit HDR using this build? If yes, I would like to try.

Don't know if you've looked in DSplayer on Kodi. I have been looking for a long time DSPlayer's functionality (i.e. full MadVR support) and ET's interface in a Theater app.

Yeah, I've been running a lot of testing, and I've had perfect playback of HDR10 with mpv. I've posted info on that here

 

https://emby.media/community/index.php?/topic/53211-emby-theatre-support-for-evc/page-7&do=findComment&comment=521624

 

But hold off testing with what I've attached. Theater is soon getting an mpv update. Don't use D3D for HDR10. Depending on how it gets used, it could change to 8bit. The safest is auto copyback, for hardware acceleration.

 

I don't use kodi.

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

Luke, it might be a good idea to have a note to advise against using D3D11 for 10bit. I'll have to look to see if mpv says not to use other HWA for 10bit. Auto copyback appears to be the most safe. It can be used with almost anything.

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

And it looks like it only applies to HEVC 10 bit

 

"d3d11va is safe when used with the d3d11 backend. If used with angle is it usually safe, except that 10 bit input (HEVC main 10 profiles) will be rounded down to 8 bits, which will result in reduced quality. Also note that with very old ANGLE builds (without EGL_KHR_stream path,) all input will be converted to RGB."

Link to comment
Share on other sites

  • 1 month later...

Just a heads up the next version of the app will be removing madvr again, but I think you'll find the external player experience will be much better. This will allow you to use MPC-HC with MadVR if you desire. You're welcome to try out a test version here:

 

https://emby.media/community/index.php?/topic/46763-theater-mpv-test/page-1

 

Thanks !

Link to comment
Share on other sites

daedalus

will this come with proper support for eg playstate traking or playback control on external player ?

Edited by daedalus
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...