Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Video Streaming Error #501

Open
itsSagarBro opened this issue Aug 20, 2023 · 9 comments
Open

Video Streaming Error #501

itsSagarBro opened this issue Aug 20, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@itsSagarBro
Copy link

Problem
I have uploaded a big movie file (1.8G), but whenever I try to stream it through Flutter App with raw url it gets infinite loading. I have deployed it in the railway free tier.

@itsSagarBro itsSagarBro added the bug Something isn't working label Aug 20, 2023
@benjiworld
Copy link

benjiworld commented Aug 20, 2023

Hello.. before to consider a bug, check if your video file is "streamable". Often videos have a moov atom record inside that prevents the stream if the file "is not fully downloaded" before. Use the following code to verify. First check with mediainfo to see if video 'is streamable' (run the following in your terminal): mediainfo "--Inform=General;IsStreamable: %IsStreamable%" YourVideo.mp4. If the output is "IsStreamable: No" then you can use qt-faststart (a utility in ffmpeg) to move the Moov Atom, running this other command: qt-faststart YourVideo.mp4 YourVideo-new.mp4. Only when your video is fixed, you can upload to telegram and then use it via Teledrive. Bye...

@itsSagarBro
Copy link
Author

Hello.. before to consider a bug, check if your video file is "streamable". Often videos have a moov atom record inside that prevents the stream if the file "is not fully downloaded" before. Use the following code to verify. First check with mediainfo to see if video 'is streamable' (run the following in your terminal): mediainfo "--Inform=General;IsStreamable: %IsStreamable%" YourVideo.mp4. If the output is "IsStreamable: No" then you can use qt-faststart (a utility in ffmpeg) to move the Moov Atom, running this other command: qt-faststart YourVideo.mp4 YourVideo-new.mp4. Only when your video is fixed, you can upload to telegram and then use it via Teledrive. Bye...

Thanks for the reply, but I think that's not a problem because I uploaded the same file on "@File_To_Link_2Bot" This telegram bot and it's streaming without any problem. And I tried your solution also but it is very slow you can check the uploaded video, it loaded fine at first but when I try to change the duration it takes a while to load.

@discordfar
Copy link

discordfar commented Sep 12, 2023

please fix streaming error, actual teledrive only storage and download work
raw url not work stream
download url not work stream
please create stream url

@itsSagarBro
Copy link
Author

please fix streaming error, actual teledrive only storage and download work raw url not work stream download url not work stream please create stream url

Thanks for the answer, But now I moved to Amazon S3, teledrive is a way slower for me.

@discordfar
Copy link

@itsSagarBro
open this issue for devs fix in the future

@itsSagarBro itsSagarBro reopened this Sep 12, 2023
@discordfar
Copy link

discordfar commented Sep 13, 2023

@greengeckowizard, @mgilangjanuar

Hi devs

Link RAW not play any media, audio and video not work
i copy link RAW and past browser dev tools and i see error 404
how fix this problem

@itsSagarBro
Copy link
Author

@discordfar @greengeckowizard @mgilangjanuar

Short video plays very well, under 50MB videos don't have any issues but when it comes to larger videos like 1GB to 5GB it can't able to play.

@discordfar
Copy link

all my files under 50mb, my files 8mb, mp4 and mp3 and not work for me with RAW link, not stream,
only work download link.
how teledrive version you using ?

@itsSagarBro
Copy link
Author

@discordfar I have uninstalled Teledrive, but my short videos were played very well.

I was using the latest version of Teledrive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants