Jump to content

I'm having problems when it reaches 30 simultaneous accesses.


Recommended Posts

Posted

H265 is all my media.  
direct plays on all my devices.

Chromecast with google TV, Xbox, Roku sticks, fire stick, ATV, some random android cheap players, a few android TV’s, one roku TV.

look into why these are transcoding at all for you on the emby dash, and report to emby here with some transcode logs is the normal resolution process.

  • Agree 1
Posted
10 hours ago, trekflix said:

I'm testing my new i5 12 generation motherboard. but it still used 100% memory (32gb) to transcode some H265 videos.

You haven’t said exactly which i5-12xxxy?? CPU? Does it have a ‘F’ in the model name? If so this processor will only software transcode because it has no GPU in it.

Have you checked the transcoding settings in emby to ensure Quicksync is enabled/first?

Do you have ample space where your ‘Transcoding temporary path’ is set to? You will need a lot!

Any or all the above could case the problems you are having transcoding...

Posted

You haven’t said exactly which i5-12xxxy?? CPU? Does it have a ‘F’ in the model name? If so this processor will only software transcode because it has no GPU in it.

    >>>> CPU 12th Gen Intel(R) Core(TM) i5-12400F

Have you checked the transcoding settings in emby to ensure Quicksync is enabled/first?

    >>>> Quicksync is Enabled

Do you have ample space where your ‘Transcoding temporary path’ is set to? You will need a lot!

    >>>> The temporary transcoding is being done in the Emby transcoding-temp folder on my system HD. It also has 140GB of free space.

 

Happy2Play
Posted
1 minute ago, trekflix said:

>>>> CPU 12th Gen Intel(R) Core(TM) i5-12400F

Sorry but that CPU does not have iGPU so I don't know where you are getting QuickSync options from.

So I would think we need to see server and ffmpeg logs.  As everything should be done via Software/CPU as there is no hardware iGPU.

From that point yes you will have better results with graphics card.

Happy2Play
Posted

Okay you are using your original GTX 550 TI but it is not used either at least in this case.  But will have to research this card.

>>>>>>  Selected Codecs
Decoder Automatic software decoder


Encoder x264
        Max Bitrate: 781 Mbit/s
        Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20, GRAY8, GRAY10 - Bit Depths: 8, 10, 12, 14
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Predictive Profile (Level 6.2)


>>>>>>  FindVideoEncoder - MediaType: h264, UseHardwareCodecs: True, HWA-Mode: Advanced
Info    Checking: 'x264'
Info    Check successful - selecting 'x264'

>>>>>>  FindVideoDecoder - MediaType: hevc, UseHardwareCodecs: True, HWA-Mode: Advanced
Info    Checking: 'Automatic software decoder'
Info    Check successful - selecting 'Automatic software decoder'

>>>>>>  Processing Plan
        Name                                        CanDoInHW  WillDoInHW  Reason                                                 
        Automatic software decoder               >> False      False       Software Codec                                          
        VideoInput                               >> False      False       Not a hardware decoder                                  
        VideoOutput                              >> False      False       Not a hardware encoder                                  
        x264                                     >> False      False       Software Codec                                          

>>>>>>  Video Processing Steps for [0:0]: H.265 (HEVC)
        Step                    HW-Context   Format       SW-Format           Size   Next
        HEVC                 >> -            yuv420p      yuv420p         1280x536 >> 

Now will need to see server log from startup showing hardware detection rollover/rotated log will not have the required information.

Happy2Play
Posted

But will assume this 2011 card does not really support anything.

Posted
It has lasted until now, but I know it is old. That's why I'm waiting for the new Galax Nvidia Geforce Gtx 1650 Vram 4gb Gddr6 Video Card to arrive
 
 
 
 
 
 
Happy2Play
Posted (edited)

Yes with a new card you should have better perforance as everything is being done by CPU as there is no available HWA encoder.  Along with no H265 Decoder.

So all HEVC media will be Software only.

Edited by Happy2Play
Posted
Exactly, the new sign arrives on Monday and I will test it at the most accessible times. 
I'll be back to report. Thanks for helping me!
 
 
 
 
 
 
 
Posted

Is there any chance you could exchange/upgrade the i5-12400F to a i5-12500? It has the UHD 770 GPU. Or even an i5-12400 that would give you a UHD 730 GPU? They both would be much better than the GTX1650 and use way less power.

Otherwise, can you cancel the GTX1650 and get a Intel Arc380 or Arc310 for around the same price and way better performance and compatibility with the newer codecs….

  • Like 1
Posted

And please don't forget - transcoding is bad for your power bill's.

Better to get your media and clients correct so they can all direct play.  H265/HEVC non 4k should be fine to direct play to any modern playback device - set your max bandwidth per user to 6, and also ask your friends and families to change their emby app settings to 1080p-5Mbps, and there should be no transcoding then. 

Like others have said, you missed the boat with that cpu purchase.

I like my server chugging along at around 70w - and that is running a shedload more than just emby.

If these remote users are your friends and family, then you should be able to enforce a minimum standard of client, plus a hardcode quality setting in the emby app or they get no access.

 

Posted
At the moment I can't buy anything else. 
Here in Brazil this equipment is much more expensive than in the USA.
I asked for information here about what I could buy beforehand, but they said they don't usually recommend it. So I started reading Emby's texts. 
Now I have to achieve good performance with the new equipment I bought.
I'll make do with what I have. Sorry!
 
 
 
Posted
I noticed that anyone who uses Emby with an internet browser and transcodes it, when they install the Emby app on their computer, it no longer transcodes. 
There's no way around Chromecast, Fire Stick and Roku devices. Some do transcoding, others don't.
 
 
 
RanmaCanada
Posted

An F model..why would you buy an F model..

Does no one bother to do any research before buying parts..OMG.

K I'm out as OP obviously has no clue on what they are doing and won't ask questions..

Posted
I asked for information about which machine would be best here, they said they didn't recommend it. 
So I looked for a well-known technician who sold me what he had on hand. 
If it's bad for you, think that I live in Brazil and I'm not rich. These parts around here are too expensive. 
So if it's not going to help, don't come and get in the way!
 
 
 
  • Disagree 1
Chiefmas
Posted

Ok, well, the basic problem is that the hardware you have is probably not going to be anywhere close to what you are trying to do. 30 simultaneous streams will likely need a decent internet connection, and ideally, clients that can direct play the content. If any significant number of those streams needs transcoding, you aren't going to get more then 1 or 2 streams via CPU transcode, and that has a good chance of causing all the other streams to suffer.

The addition of the video card that can do hardware transcoding will help, it will probably get you up to 4 or 5 streams via hardware transcode, but driver limitations are going to prevent much more than that probably. Unforunately, nVidia may not be the best choice due to a combination of hardware and driver limitations.  Intel QuickSync is recommended because it doesn't have the drier limitation that nVidia does(which is there due to a hardware limitation). It's not unheard of for people to do 10 or more transcode streams through quicksync.

That said 30 simultaneous streams is still a lot if that's the target and transcoding is needed on a lot of them. Like I said before, if you don't need transcoding, then that will help a lot, and move the problem more to if you storage and network connection can cope. And we've been mainly focused on the video side...you are trying to run so many streams at once that if you have audio transcoding, it's going to start mattering. Most of the time the CPU time to transcode audio is ignored, it's not usually so much that it's a limiting factor, but you are trying to scale up to a relatively high number of streams. So maybe what you should do is start converting everything you have to low bitrate h.264 with 2 channel AAC audio to minimize transcoding.

Sorry, but it comes down to you had a desired level of capacity, didn't research the topic enough, and then bought hardware that isn't up to the job. You may have been sold what was on hand, but what you were sold doesn't seem like it's going to be up to the job. There's just no way around the limits of the hardware- you have to upgrade and/or scale out horizontally(add more servers). And I'm not sure Emby will let you scale out horizontally.

 

Posted
My new video card arrives the day after tomorrow. 
The transcodings are being done more due to the connection of those who use it, as there are cases of Chromecast users who do direct reproduction. 
Others that do transcoding. I've already asked everyone who uses emby via the internet browser to install the application on their computer, this has already resolved some problems. My internet connection is offering an average of 370 Mbps upload and reaches around 820 Mbps download. 
I don't want to have so many accesses, but if Emby sells 75 simultaneous accesses, I think 30 accesses cannot be considered a lot. 
Once again, thank you very much for your suggestions, friend, like all Brazilians, we always find a way! :)
 
Posted
19 minutes ago, trekflix said:

but if Emby sells 75 simultaneous accesses

Hi.  We do not.  Please see below for a description of what our device count actually is.  It is not simultaneous streams.  Thanks.

Is there a limit to Emby Premiere?

Posted

OK sorry. I had wrong information.

 

Posted

I have seen 8 remotes, one transcoding and 20Mbps upload in my internet, each emby user is set to 5Mbps but they don’t all do it at the same time as it’s cached I guess.  So there is not a direct correlation of bandwidth to client requirements.  No issue from the users.

Posted
Thank you guys for all your opinions and suggestions. 
The new video card will arrive on Monday. 
With it installed, I will check if I have obtained any improvement in transcoding. 
I'll get back to you to say what the result was, ok.
 
Posted (edited)
On 7/26/2024 at 11:28 PM, RanmaCanada said:

An F model..why would you buy an F model..

Does no one bother to do any research before buying parts..OMG.

K I'm out as OP obviously has no clue on what they are doing and won't ask questions..

While I agree with you that the OP should have done more research into transcoding and what intel parts had more support for quicksync, please realize that purchasing that hardware is not as simple in Brazil.  I have family in Brazil, so I have an idea of where he is coming from.

To start, I believe the import tariffs on computer hardware is something like 100%, so you're already paying double US retail and they make like 1/5th of a first world salary.  As a result, much of the tech they have access to is not necessarily purchased, but what can be personally brought down from friends and relatives in the US (to avoid the import tariffs).  Obviously there are cheaper options than a 12 series F processor that cost less, so Im not disputing it was a bad purchase, just that he likely has very limited choices of someone else's hand-me-downs.

 

 

Edited by hooraah
Posted
On 7/26/2024 at 7:26 AM, trekflix said:

I'm testing my new i5 12 generation motherboard. but it still used 100% memory (32gb) to transcode some H265 videos. This has been happening for about 2 months, even with the old card I had. A lot of work to transcode h265 videos for those using Chromecast, Roku, Fire Stick, something that didn't give me a headache before. 

I bought this new video card to see if it helps anything. Because even with the new i5, I noticed a crash in the Emby Panel where it shows the Activities that those who are watching. I can't even say if it stopped playing the films in the house of those who were watching, but it was 100% in memory and I didn't see anyone watching it. I mean, it didn't have the Activities look in 'Now Playing'.
Feedback

OP, as others have mentioned, if you want to do a lot of clients you will need better transcode capability.  I think the 1650 will help you a lot, but it probably won't do 30 people.  Here's what I would do if I were you.

Keep the operating system, emby, and your transcoding temp folder on an SSD for sure.

See if you can get access to an Intel ARC A310.  Even in brazil, it should be fairly cheap to get, and will transcode much better than the 1650.

I don't think you should be at 100% memory usage on 32GB even with 10+ clients, but I've never really had more than 7 concurrent users so I could be wrong about that.  I would see if you have a memory leak somewhere from some other application.

Do you know which TV/Movies are accessed the most?  Perhaps move some things around so more drives are accessed in parallel, or your very commonly accessed files are stored on the SSD as well.

visproduction
Posted

Hoorah,


I didn't read every post.  You all probably have thought of this. A way around having to transcode is to pre encode to h.264 mp4 and AAC audio.  On an older i7 computer using something like AVIDemux with 2 hour 1080P media, high quality settings around 2400 kbps, it takes perhaps 5 hours or 2 1/2 times the media length to get a good quality encode.  I know that transcoding typically uses a higher bitrate but that is because the encoding needs to happen in real time.  The rate has to be higher for that to work and the end playback looks good.  But if you set the quality high and let the encode go longer, 1080P can look great at 2400.  Most people never do this and they always think that .mp4 media will take up so much space.

  Once you have done the high quality encode, Emby Web and most other playbacks can be direct, I think, for all users.  No one should need to encode and Emby will just play the media.  Maybe this is not an option for live TV, but it works for other media in a library.  My setup uses all content like this and I have transcode turned off.  When you get content, sometimes there is an option to get an h.264 mp4 version.  I know a lot of people don't like the extra size, but I think the colors and contrast are a little more natural and smooth compared to compressed H.265 .mkv which, to me, looks more like it has sharper edges that are not as natural.

Since you are dealing with heavy price issues in Brazil, this might be a nice alternative.

Hope that helps.

  • Like 1
  • Agree 1

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