Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works with Plex Media Server! #51

Closed
niXta1 opened this issue Feb 10, 2019 · 6 comments
Closed

Works with Plex Media Server! #51

niXta1 opened this issue Feb 10, 2019 · 6 comments

Comments

@niXta1
Copy link
Contributor

niXta1 commented Feb 10, 2019

Environment (please complete the following information):

  • OS: Ubuntu 18.04 (Windows not tested)
  • GPU model: GTX 1050Ti

Additional context
Plex has updated ffmpeg with the v1.15 (plexpass) release and the patch now works perfectly!
Pair it with this script for full HW transcoding:
https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/172

@niXta1 niXta1 added the bug label Feb 10, 2019
@edasque
Copy link

edasque commented Feb 10, 2019

Can't wait for this to hit the docker image

@Snawoot Snawoot pinned this issue Feb 10, 2019
@Snawoot Snawoot self-assigned this Feb 10, 2019
@Snawoot
Copy link
Collaborator

Snawoot commented Feb 10, 2019

Thank you, @niXta1!

Merged PR #52 which reflects info collected by you in main doc file. I'll keep this issue open for a while to let people know.

@niXta1
Copy link
Contributor Author

niXta1 commented Feb 10, 2019

Can't wait for this to hit the docker image

@edasque here is a pre scripted (hw nvdec added) docker image: https://hub.docker.com/r/adnanklink/plex-norelay-hwdecoding

@niXta1
Copy link
Contributor Author

niXta1 commented Feb 10, 2019

I tried this for 418.81 on Windows 10 64 bits and is not working. ...

@imayo We would need to know the arguments for the ffmpeg. Some info can be acquired by using debug and looking in the console.
Can you confirm which ffmpeg version it is?

ffmpeg directly, emby and plex on linux works, so it feels like it should work - if plex really uses nvdec+nvenc...

Right now it’s behaving exacly as before the update, this makes me think that it might still use dxva2+mf on windows.

@Snawoot
Copy link
Collaborator

Snawoot commented Feb 11, 2019

At this moment it is still unclear if mentioned above technique works for Plex on Windows. If it has NVENC/NVDEC-capable ffmpeg and it is possible to make similar wrapper enabling required FFmpeg options, then full HW support can be achieved. If it hasn't - sad, but nothing to do here, it's Plex issue.

Either way I consider work on this issue completed.

@Snawoot Snawoot closed this as completed Feb 11, 2019
@Snawoot Snawoot mentioned this issue Feb 11, 2019
@Snawoot Snawoot unpinned this issue Feb 11, 2019
@Snawoot Snawoot pinned this issue Feb 11, 2019
@niXta1
Copy link
Contributor Author

niXta1 commented Feb 11, 2019

At this moment it is still unclear if mentioned above technique works for Plex on Windows. If it has NVENC/NVDEC-capable ffmpeg and it is possible to make similar wrapper enabling required FFmpeg options, then full HW support can be achieved. If it hasn't - sad, but nothing to do here, it's Plex issue. ...

@Snawoot I've got an answer on plex forums that it's still using dxva2+mf. It should be possible to use a script to force NVDEC/ENC but that is outside the scope of this patch.
All in all, Great Success!

@Snawoot Snawoot unpinned this issue Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants