teledrive icon indicating copy to clipboard operation
teledrive copied to clipboard

Video Streaming Error

Open itsSagarBro opened this issue 1 year ago • 9 comments

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 avatar Aug 20 '23 14:08 itsSagarBro

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

benjiworld avatar Aug 20 '23 15:08 benjiworld

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.

itsSagarBro avatar Aug 20 '23 17:08 itsSagarBro

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

discordfar avatar Sep 12 '23 12:09 discordfar

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.

itsSagarBro avatar Sep 12 '23 13:09 itsSagarBro

@itsSagarBro open this issue for devs fix in the future

discordfar avatar Sep 12 '23 19:09 discordfar

@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

discordfar avatar Sep 13 '23 08:09 discordfar

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

itsSagarBro avatar Sep 13 '23 10:09 itsSagarBro

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 ?

discordfar avatar Sep 13 '23 10:09 discordfar

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

I was using the latest version of Teledrive.

itsSagarBro avatar Sep 13 '23 11:09 itsSagarBro