I'm trying to figure out how to stream a video where the video is uploaded to google drive in pieces and downloaded in pieces for streaming. How do I split the video into a file sizes of my choice before uploading? Any module is fine as long as it's fast. Each piece needs to be playable on it's own using pyqt6 media player. I basically want to make this but in python.
Asked
Active
Viewed 156 times
1
-
Would you just like to stream the file? – Freddy Mcloughlan May 06 '22 at 00:18
-
The problem is that google needs time to process some videos so idk if streaming will work – AzlanCoding May 06 '22 at 02:43
-
I suggest you seperate this question into two parts. Have one question asking how to stream videos from google drive (this question will give you alternatives to streaming if it's not possible). Then ask a seperate question about viewing the video on pyqt. As long as there are not questions for that already – Freddy Mcloughlan May 06 '22 at 03:54
-
The first question exist here: https://stackoverflow.com/questions/62910848/stream-video-file-from-google-drive-without-downloading but hasn't been answered for almost 2 yrs. so it seems impossible – AzlanCoding May 06 '22 at 04:04
-
So is it possible to play a video while it's downloading? – AzlanCoding May 06 '22 at 04:05
-
Most likely not. consider asking [here](https://support.google.com/drive/community?hl=en) – Freddy Mcloughlan May 06 '22 at 04:12
-
There may be some workaround, as the player is a youtube viewer. Good luck – Freddy Mcloughlan May 06 '22 at 04:16
-
So should I use youtube instead of google drive? – AzlanCoding May 06 '22 at 04:42
-
If you can, yes. But I meant that the website for google drive can stream files with the youtube player – Freddy Mcloughlan May 06 '22 at 04:57
-
Using youtube is hard cause there's a quota. – AzlanCoding May 09 '22 at 08:21
-
I have an idea, gonna edit my question... – AzlanCoding May 09 '22 at 08:49
-
What is a good file size to split into? – AzlanCoding May 09 '22 at 10:08