Jump to content

Transcoding with gpu instead of cpu


Recommended Posts

Posted (edited)

hello mates,

i discovered emby 2 weeks ago and its amazing.keep up the hard and good work.

 

i have a problem though and i want your help to solve it.

 

My computer specs: intel i7 8700 + GTX 980ti emby beta server

My smart tv: UE42F5500 with emby app

devices connected with ethernet cable

 

when i am trying to play a hevc episode with 10 bit depth with aac audio my cpu hurts.

goes 100% for 10 to 12 minutes and when it fully transcodes the movie stops.

i tried to limit the threads and transcoded with very fast profile with no luck

 

i tried to chance to hwaccell nvidia nvenc with no luck.

when i choose hevc and hit apply my tv cant start the episode and displays an error.

 

is anything i can do to use hwaccel?or at least lower cpu usage?

 

thank you in advance and sorry for my english!

 

files attached.

 

movie.txt

ffmpeg-transcode-01fb6840-38fd-4329-b2b9-d8e7fabe969c.txt

Edited by alexakos89
mastrmind11
Posted

nvenc sucks.  look into qsv or vaapi.

Waldonnis
Posted

A 980Ti can't decode HEVC Main 10.  You can try turning off the hardware decoding and see if that works.  The i7's iGPU should be able to decode it, but not sure if ffmpeg is behaving yet with QuickSync decoding and encoding at the same time when a discrete card is present.

 

nvenc sucks.  look into qsv or vaapi.

 

They all suck...x264/x265 are better.  /encoderwars  :P

mastrmind11
Posted

A 980Ti can't decode HEVC Main 10.  You can try turning off the hardware decoding and see if that works.  The i7's iGPU should be able to decode it, but not sure if ffmpeg is behaving yet with QuickSync decoding and encoding at the same time when a discrete card is present.

 

 

They all suck...x264/x265 are better.  /encoderwars  :P

^^ This.  and I agree.

Guest asrequested
Posted

I just ran a quick test on my beta server (i5 6500), with QS enabled. I played an HEVC, forcing transcoding by lowering the bandwidth. QS wasn't employed, it all went through the CPU. I don't have a monitor hooked up to the HDMI port, so that may be the reason. 

Posted

A 980Ti can't decode HEVC Main 10.  You can try turning off the hardware decoding and see if that works.  The i7's iGPU should be able to decode it, but not sure if ffmpeg is behaving yet with QuickSync decoding and encoding at the same time when a discrete card is present.

 

 

They all suck...x264/x265 are better.  /encoderwars  :P

 

 

^^ This.  and I agree.

 

so what do you propose? redownload the serie on another format?

a 1080 gtx is able to transcode 10 bit hevc?

i will try quicksync though.

Posted

I just ran a quick test on my beta server (i5 6500), with QS enabled. I played an HEVC, forcing transcoding by lowering the bandwidth. QS wasn't employed, it all went through the CPU. I don't have a monitor hooked up to the HDMI port, so that may be the reason. 

how much band do you use?

that gpu do you have?

Guest asrequested
Posted (edited)

how much band do you use?

that gpu do you have?

 

An i5 6500 (HD 630), and it uses 100%. But that's because throttling isn't working right now, I believe. So it'll transcode as fast as it can. Is your server on the same machine that you play on? If it's only the server machine, I'd pull the Nvidia card and connect the HDMI to the motherboard and try QuickSync. But disable decoding and only use encoding. 

Edited by Doofus
mastrmind11
Posted

so what do you propose? redownload the serie on another format?

a 1080 gtx is able to transcode 10 bit hevc?

i will try quicksync though.

I mean, Google would know whether that card is capable of hw decoding hevc.  I spent 3 seconds researching and I found several articles re the spec.  However, as mentioned, nthat CPU is no slouch and should be more than capable.  If you're experiencing issues, post the issues via attaching a server and transcode log.

Posted

Have you checked that your hardware supports these kinds of hardware acceleration?

Guest asrequested
Posted

with va api when i transcode hevc it uses my cpu again.

 

with igpu enable and quicksync without cable on it i have error again.with or without hardware decoding.

 

If you want to try QuickSync, you need to connect the HDMI to your motherboard. For a full test, pull your Nvidia card. Your I7 8700 has a UHD 630 GPU, it can handle far more that your Nvidia can. Out of curiosity, what motherboard/chipset do you have?

Posted

z370 asus rog -f

 

i tried with attached cable same happened.error

Guest asrequested
Posted

z370 asus rog -f

 

i tried with attached cable same happened.error

 

Did you pull the Nvidia? You need to make sure that it isn't trying to use that. The best way is to pull it out.

Posted

Did you pull the Nvidia? You need to make sure that it isn't trying to use that. The best way is to pull it out.

okay i will try that too

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...