how to fast loading video from firebase storage in flutter application - flutter

Any one can explain my query
Why Firebase storage slow working ?
when we upload a video in firebase storage from the app , and we play video in flutter video player using downloading URL. it take 7 to 8 sec for play video.
but we directly put a another server hosted video URL in firebase storage ,then play in video player it take 2 to 3 sec.
Why & How can we achieve fast loading from firebase storage in application.
Thanks for reach the post & suggestion.

Related

Flutter video_player is taking too much time to load video from firbase

Hi I am creating a video player which lists all videos from Firebase storage and play it. I used cache_video_player plugin to play video. This is similar to video_player plugin with cache service. This plugin takes too much time to initialize and load video from network(approximately 10-20 seconds). Is there any way to reduce loading time of this plugin or is there any other plugin which takes minimum time to load video from network
Basically cached_video_player plugin is virtually a clone of official video_player plugin. I used video_player plugin in my project and it takes time when initializing and loading the video when playing from network, it works fine when playing a local video as a file but takes time for playing video from network. It totally depends upon your internet connection and speed, No need to worry about and I don't think that you will find any better plugin for playing video other than video_player.

How to send a video frame by frame from a Flask app to Flutter app

I have to implement a video streaming functionality in Flutter.
The video will be stored in a back-end.
(Streaming as in how people can watch videos in YouTube, the video is fetched in real-time, as required).
How do I do this?
How can I alter the playback speed in the application and pause the video?
I watched a YouTube video on how to Stream a webcam using OpenCV and Flask but how can I do that with a video? video link
More importantly, how do I serve that to a Flutter app?

What is a good server I can use for uploading / storing videos?

I am making a video sharing app for IOS and eventually will be adding it to the google play store too.
I was previously using firebase for my server to upload videos to, but I ran into some problems and firebase doesn't allow you to upload videos while your app is in the background (at least I couldn't figure it out). So I am switching servers and I would like to get some recommendations from you guys.
Question:
What is a good server / API that I can use to upload and store a lot of videos until they need to be downloaded when a user wants to watch one of them? Videos will be about 10 minutes on average, but they could be as long as 24 hours.

Flutter chewie slow with large videos

now I'm making a videos app using flutter and chewie
all my videos get from Server through API based on Laravel. but all videos has large size for example 500MB, 600MB, or 700MB. the problem is when play the video it playing very slowly. although internet speed in fine.
How i can solve this issue ?

Flutter - Upload Video to Youtube

In my app I need the ability to take and upload or save a short 5 to 15 second video. I also need to be able to save the video if the user is offline, and upload it when connected to internet.
I can create the video file with the plugin image_picker, I tried to save it to the users gallery using plugin image_picker_saver but that seems to only handle images.
So I will probably have to use something like path_provider to save it to local storage (again examples of writing files are images as byte data)
When connected is there a way to upload a video to a Youtube account ?
I have read up on some Youtube plugins, but they are geared towards playing videos.
I was thinking of using WebViews to pop up the m.youtube.com/upload page but once you start an upload it goes to the desktop www.youtube.com
Other option to consider is using Firestore as the upload destination when they have a connection, but I would still have to manage offline local storage.
Thank you any help
Edit RE: comments below
Here is what I get when trying to capture a Landscape video on iPhone X with camera plugin: