xamarin form: is there any way to compress video file before we upload to server - forms

as when we use iphone 6 to record video, there is 130MB /min,
we have a program need user can record 5 min video, so nearly 600MB .
is there any way or sdk avaible in mobile client so we can use to compress video file before we upload to server?

Related

ant media server / The media could not be loaded

I'm, trying to make a 24/7 youtube live music stream with ant media server on a ubuntu VPS, i made 3 videos of 4hours / 5 hours / 6 hours music with premiere pro to .mp4 format but when i try to upload them from VPS, even if it say that the upload is completed, when i try to stream them or play them with the player i got the error The media could not be loaded, either because the server or network failed or because the format is not supported.
I tried to open the files on OBS in case the were corrupted but they play completely fine there. Is there something i can do about that? The mp4 file size is 6gb.
Thanks in advance.

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:

How to download HLS/M3U8 chunks in ios device?

How to store locally m3u8 file with all chunks (.ts) from url in ios device.
If possible so how to do it?
I have developing functionality like.. Download .m3u8 file with chunks(.ts) in ios local storage then after modify .m3u8 and will play offline mode.
Please help me if have any kind of solution for above question.
The only way you can do this is to set up an HTTP server to serve the files locally after you've downloaded them.
Here are some related answers: Can IOS devices stream m3u8 segmented video from the local file system using html5 video and phonegap/cordova?

Mobile - offline web-app and audioclips storage

I built a simple soundboard free app for Android. Some customers asked me when that app will be available for iPhone too.
Now, I'm thinking about developing the soundboard as a web-app that works offline. Is it possible to do? Is it possible for a web-app to store locally and permanently some audio files?
The size of these audio files ranges from 16kb to 150kb, for a total of 2,5mb (50 audioclips).
You can do it by downloading the video files when the app installed in first time to the documents folder and show it from there

How to play large duration video files in iPhone/iPad

I am developing a video app. Some video files having a long (43 minuite) duration and some files are less than 10 min duration.
Apple suggested if video duration is more than 10 min they want me use Httplive streaming. I am placing video control in web view and am loading the URL.
If I used large video files in MP4 format, will I get any problems? And what video size do I need to use that both iPhone and iPad orientates.
Can you suggest me video size, duration, and formats. Thanks in advance.
Apple will reject any app that doesn't use HTTP Live Streaming for videos longer than 10 minutes. So if you're using the native video player then you'll have to encode your video files accordingly.