Jump to content

Correct settings for transcoding


l0fL

Recommended Posts

Hello everybody,

 

I've a selfmade NAS (xpenology) with an Intel Pentium Gold G4620 Kaby Lake CPU und 4GB Ram. DSM & Emby are up to date. I used the "normal" emby from this repo https://synology.emby.media/?package_repository=360efc6e-de72-4073-b603-2bfbd7001586 .

When I want to transcode a movie my cpu is about 80% workload. If i reduce the Quality i've round about 55%.

It doesnt matter which settings i use (QuickSync, VAAPI...)-, it's always the same. Actually my cpu would have to decode in hardware, but it doesnt seem that way.

How can i transcode in Hardware and yes the hook on hardware encoding is set.

 

Thank you!

Link to comment
Share on other sites

My workload

The small slope in the beginning was transcode at 1080p 60 Mbit/s and the increase was 480p. The file is a native 1080p file.

I have the same result if i choice Quick Sync.
5b212f55bd8ae_SynoVaapiauslastung.png
 
my settings
5b212f837e626_EinstellungenEmby.png
 
and my log

https://paste2.org/aYAGfHsB

Edited by l0fL
Link to comment
Share on other sites

But why is my CPU on 80%? If it were Hardware Decoding it schould be at 5-10%.

Edited by l0fL
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Hi Luke

 

I've just been setting up Emby on a DS415Play Evansport the last few days. 

 

I installed from package center, and after did the SSH procedure of changing ffmpeg version or whatever it was.

 

 

Can you explain a bit more what you mean by what you say here ?

 

I have no user "emby", but package installed created user "embysrvr". It is by default only a member of the "users" group, one of the three default groups (others are "administrators" and "http (system default group for web services)". 

 

So should there be a user called emby and or a user group called video after package install ?

 

Or do you just mean that the embysrvr user must be gives read/write access to the video shared folder ? Thanks for your help. 

 

 

Have you added user emby to the video group on the Synology? Beyond that we'll see what @@solabc16 thinks.

 

Thanks !

 

 

Link to comment
Share on other sites

solabc16

Hello @@eevv

 

You don't need to make any further changes within DSM, other than setting up your library permissions as detailed on the Wiki here : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-Setting-Up-Your-Media-Library-Share

 

Let's continue on the other thread if necessary, as this one relates to XPEnology based systems : https://emby.media/community/index.php?/topic/43282-hw-transcoding-on-evansport-ds415playds214play-machines/?p=603485

 

Best

- James

Link to comment
Share on other sites

Hello @@solabc16

 

my xpenology setup

 

Intel Pentium G4620

H270N-WIFI Motherboard

4GB Ram

500GB 860 Evo SSD for the DSM

5x 6TB WD Red

DSM Version 6.1.7 - 15284 

June Loader 1.02b xs3615+

Link to comment
Share on other sites

solabc16

Hello @@l0fL

 

The problem we can see from the log is...

[AVHWDeviceContext @ 0x869c00] No VA display found for device: /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument
Error parsing global options: Invalid argument

...from other reports, getting GPU support working seem to be a little hit and miss with XPEnology; at the moment at the least.

 

From an SSH session can you run the below and post the output here:-
cd /var/packages/EmbyServer/target/ffmpeg/bin
sudo ./vainfo

Best

- James
Link to comment
Share on other sites

@@solabc16

 

This is my output

 

error: failed to initialize display

 

 

I've no display at my NAS station. But in BIOS iGPU is on AUTO. Is that my mistake?

 


 

From an SSH session can you run the below and post the output here:-
cd /var/packages/EmbyServer/target/ffmpeg/bin
sudo ./vainfo

 

Link to comment
Share on other sites

solabc16

Thanks @@l0fL

 

Mentioning @@Joly0 here, who has reported similar findings with getting their XPEnology setup. Primarily, this is an XPEnology 'issue', and I don't mean that in the sense of it being a fault or bug.

 

Have you tried the DS916+ or DS918+ loaders, which target h/w that does natively have GPU support?

 

I don't believe the DS3615xs kernel includes the necessary device drivers, as although the CPU might be capable of supporting h/w transcoding, this model was targeted at 'business' users and hence they were not included.

 

Best

- James

Link to comment
Share on other sites

  • 3 months later...
erikblues

Is this procedure still required or is this done automatically in new versions?

I am on the DS415play, what would be the correct setting for me?

 

Model: DS415play

CPU: Intel Atom CE5335

Cores: Dual Core

Threads: 4

FPU: Yes

Package Arch: Evansport

RAM: DDR3 1 GB

 

5bf879efed67d_ScreenShot20181123at224640

Edited by erikblues
Link to comment
Share on other sites

solabc16

Hello @@erikblues

 

There is no native h/w transcoding support available with 'evansport' based systems, there's a couple of posts kicking around on the subject which provide some background.

 

e.g.

 

https://emby.media/community/index.php?/topic/64770-error-in-screen-grabber-extracting-images/?p=648088

 

https://emby.media/community/index.php?/topic/43282-hw-transcoding-on-evansport-ds415playds214play-machines/?p=603858

 

https://emby.media/community/index.php?/topic/43282-hw-transcoding-on-evansport-ds415playds214play-machines/?p=443715

 

 

Best

- James

Edited by solabc16
  • Like 1
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...