Jump to content


Photo

How can I improve transcoding?

OMV transcoding

  • Please log in to reply
34 replies to this topic

#21 Jdiesel ONLINE  

Jdiesel

    Advanced Member

  • Members
  • 2682 posts
  • Local time: 11:51 AM
  • LocationRegina, SK

Posted 07 September 2019 - 02:34 PM

It wouldn't hurt to upgrade your GPU anyways. Keep your eye out for a used Nvidia GTX 1050. You should be able to find less than $100 depending on your local market. That should be plenty for what you are asking to do.
  • TikiShack likes this

#22 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 03:51 PM

It wouldn't hurt to upgrade your GPU anyways. Keep your eye out for a used Nvidia GTX 1050. You should be able to find less than $100 depending on your local market. That should be plenty for what you are asking to do.


Cool. Thanks! Is that going to work OK in my PCIe 2 slot? What about a GT 1030? I can get one of those (fanless - which I’d really prefer) on Amazon for $80.

#23 Jdiesel ONLINE  

Jdiesel

    Advanced Member

  • Members
  • 2682 posts
  • Local time: 11:51 AM
  • LocationRegina, SK

Posted 07 September 2019 - 05:50 PM

Cool. Thanks! Is that going to work OK in my PCIe 2 slot? What about a GT 1030? I can get one of those (fanless - which I’d really prefer) on Amazon for $80.


According to this the 1030 doesn't do encoding, only decoding.

https://developer.nv...-support-matrix

#24 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 05:52 PM

I found a GTX 1050 locally for $75. I’m picking it up a little later today.

#25 Jdiesel ONLINE  

Jdiesel

    Advanced Member

  • Members
  • 2682 posts
  • Local time: 11:51 AM
  • LocationRegina, SK

Posted 07 September 2019 - 06:06 PM

That should lessen the strain on your CPU. Just be aware that some tasks will still occur on the CPU such as audio transcoding but the heavy lifting should be done on the CPU. You might want to try this patch to remove the 2 stream restriction that Nvidia puts on its consumer GPUs.

https://github.com/k...se/nvidia-patch

Edit: Also I see you are running OMV, I don't have any experience with HWA on that OS but I'm sure it can be done.

Edited by Jdiesel, 07 September 2019 - 06:08 PM.


#26 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 06:10 PM

Thanks! Will do.

#27 rbjtech OFFLINE  

rbjtech

    Advanced Member

  • Members
  • 461 posts
  • Local time: 06:51 PM
  • LocationLondon, UK

Posted 07 September 2019 - 06:42 PM

It wouldn't hurt to upgrade your GPU anyways. Keep your eye out for a used Nvidia GTX 1050. You should be able to find less than $100 depending on your local market. That should be plenty for what you are asking to do.

Personally I think your CPU will be too weak to feed your new GPU decode/transcode data, so my view is you need to forget about transcoding and fix the source files so they stream without needing transcoding.  As an example, I have no GPU acceleration at all on my main system, it runs an ancient Gen 1 i5 and can easily handle 6-8 streams of decent bitrate 1080p and barely hits 1-2% cpu.  The reason it can do this is I have h264 video and AAC primary audio, with SRT subs as required - all stream friendly - so no transcoding is required.

 

Anyway - get your system back together and we can go from there  ..  :)


  • TikiShack likes this

#28 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 07:00 PM

Personally I think your CPU will be too weak to feed your new GPU decode/transcode data, so my view is you need to forget about transcoding and fix the source files so they stream without needing transcoding.  As an example, I have no GPU acceleration at all on my main system, it runs an ancient Gen 1 i5 and can easily handle 6-8 streams of decent bitrate 1080p and barely hits 1-2% cpu.  The reason it can do this is I have h264 video and AAC primary audio, with SRT subs as required - all stream friendly - so no transcoding is required.
 
Anyway - get your system back together and we can go from there  ..  :)

I guess I’m not understanding when and why transcoding happens. Is it when the movie is encoded using audio and/or video codecs that Roku doesn’t support? Or because bitrates are too high? Why would it transcode, in general, rather than just stream?

#29 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12300 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 07:06 PM

I guess I’m not understanding when and why transcoding happens. Is it when the movie is encoded using audio and/or video codecs that Roku doesn’t support? Or because bitrates are too high? Why would it transcode, in general, rather than just stream?

 

This might help

 

https://emby.media/c...vs-transcoding/


  • rbjtech and TikiShack like this

#30 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 08:03 PM

Thank you, Doofus! Very helpful!
  • Doofus likes this

#31 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 07 September 2019 - 08:21 PM

@rbjtech - Thank you for talking me out of getting a video card! Now that I’m sitting down to put my server back together, I realize that all 3 of my expansion slots are filled with drive controllers! In order to add a video card, I would have had to lose 4 drives!

If I DO end up upgrading the motherboard and CPU, I’ll need to be carefully select a motherboard with enough SATA connectors and PCIe slots to handle all my drives (12 + system drive + BD-ROM).

For now, reencoding or reripping is definitely the best path forward for me. Eventually, I’ll upgrade my projector to 4K and I’ll want to be able to rip/stream/serve 4K/UHD Blu-ray Discs (I made sure I bought a ‘4K friendly’ BD drive) but for now I’m 100% 1080P (actually, I still have a lot of DVD rips, too!) so getting everything reencoded/reripped (I’ll be setting up Automatic Ripping Machine) so that I (and my friends & family) can stream them without transcoding is exactly what I need to do.

Thanks, everyone, so very much, for helping me understand what’s going on, here, and leading me to the best solution! I’ll post back when I find something that doesn’t want to stream properly.

#32 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12300 posts
  • Local time: 10:51 AM

Posted 08 September 2019 - 10:59 AM

You need better controllers. I have two controllers with 16 drives.

#33 TikiShack OFFLINE  

TikiShack

    Member

  • Members
  • 16 posts
  • Local time: 10:51 AM

Posted 08 September 2019 - 05:42 PM

You need better controllers.

Yes, I do. And a better motherboard and CPU and DDR4 RAM and newer drives. And a better job that provides me with a lot more discretionary income.
  • Doofus likes this

#34 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12300 posts
  • Local time: 10:51 AM

Posted 08 September 2019 - 06:53 PM

Yes, I do. And a better motherboard and CPU and DDR4 RAM and newer drives. And a better job that provides me with a lot more discretionary income.

 

lol... well, yeah :)



#35 tomasob OFFLINE  

tomasob

    Newbie

  • Members
  • 1 posts
  • Local time: 01:51 PM

Posted 11 October 2019 - 11:24 AM

Your processor link is not working for me, but I have the same motherboard with a 5350....and it is severely lacking for transcoding. I ended up moving emby over to a slightly beefier laptop and leaving the Kabini as a file server.

I went down the same path as you, first experimenting with a 710 1GB card. I ended up passing through the nvidia device to a testing emby container, and video transcoding worked great. The quality was acceptable, and the machine was more than capable of "feeding" the GPU. I patched the nvidia drivers to allow more than 2 transcodes and the 710 was able to handle 4 video transcodes.

 

The issue, however, is audio transcoding. Much of my use is LiveTV, and emby needs to transcode the audio from my HDhomerun using the CPU. Things got dicey after just one transcode, and I had to conclude the processor was simply inadequate. Again, I ran 4 transcodes using ffmpeg directly with video only and the board/cpu/gpu were fine.

 

Now this was also having to transcode surround down to stereo, so if your audio tracks are better suited for direct play you should have more luck with this combo.

 

Why emby chooses the first audio stream @ 384kb/s rather than another stereo stream included in the mpeg-ts is another issue entirely. 







Also tagged with one or more of these keywords: OMV, transcoding

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users