Jump to content

Buffering while transcoding when Google Drive is source.


Recommended Posts

DWreck1995
Posted

I'm having a strange issue where playing movies that needs to transcode with Google Drive (via Drive for Desktop app) won't task the GPU more than 20-30% most of the time. Since it won't keep up with the framerate it ends up buffering.

 

However, If I play the same media directly from my HDD instead of Google Drive, it will task the GPU to 100% and play without buffering.

 

Any ideas why this could be?

 

Please let me know if you need any logs or other information.

Posted

Hi, ffmpeg will go as fast as it can and with google drive, the speed of the network connection is probably the limiting factor here.

DWreck1995
Posted (edited)
3 hours ago, Luke said:

Hi, ffmpeg will go as fast as it can and with google drive, the speed of the network connection is probably the limiting factor here.

Thanks for the reply. But, if I enable transcoding for a movie that normally direct plays, the problem still occurs. So it's not network related. I can see the network usage and it's downloading much faster than Emby is transcoding. If the GPU was transcoding as fast as my network was downloading then it would play fine. But for some reason it only uses 20-30% of the GPU.

Edited by DWreck1995
DWreck1995
Posted (edited)

I would also like to point out that when I do direct play from Google Drive (on Nvidia Shield), it always does a remux for some reason. When I direct play the same movie from my HDD, it doesn't do a remux though. I don't know if that's connected to the issue. But I figured I'd point it out.

Edited by DWreck1995
Posted

Can we please look at an example?

Thanks.

DWreck1995
Posted
2 hours ago, Luke said:

Can we please look at an example?

Thanks.

Sure. Below are links to clips of me trying to play the movie 1917. I've capped the bitrate to 21 Mbps and left hardware acceleration enabled for both. The only difference is one is playing from Google Drive and the other is playing from my HDD.

 

GDrive Example: https://drive.google.com/file/d/1ZVI9XwJafhpw-dJXsSBmQ-0keqgpMEu9/view?usp=sharing

HDD Example: https://drive.google.com/file/d/1WMih4A7whpy0XlJpjGWOXzXaBh2OWKS7/view?usp=sharing

 

In the Google drive clip you can see via Task Manager that it's downloading at 50-60 Mbps from Google Drive, well beyond the 21 Mbps required for the movie to play. But the transcode is to slow dipping below 24 FPS and causing buffering. In the HDD clip, it doesn't have that issue. It transcodes at hundreds of FPS so it never buffers.

Posted

Hi there, are you still running into this?

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