HTML5 video streaming very slow - html5-video

On my homepage there is a video file. While single user click on site(www.rollcall.co.in) that video running very well. But When Multiple user come at my site and that time video streaming getting very slow. I dont know how to resolve this issue.

Related

S3 video play in edge and react native but not chrome or firefox

one of the user of the app I work for has an issue, all the video she upload doesn't work in an HTML5 video player, except on Edge and Safari for iOS (and if it works there I assume it could work in other browsers)
The video can be played in our react-native app or after being downloaded, but not directly using the S3 or cloudfront link
Since the vieos from the other users work, I'm assuming it's related to encryption and S3 specifications, does anyone have met this problem and found a solution ?
EDIT: forgot to put a sample link
https://video-reetags.s3.eu-west-3.amazonaws.com/compressed/aed0a512a419334fe5d0c0c6fb4094a21610642052.mp4
Since the videos from the other users are working fine, I'm assuming it's related to encryption and/or S3 specifications...
No, the problem is not encryption or S3 server issues.
Your MP4 container has video in HEVC format (aka H.265), which is not supported in Chrome or Firefox. You should still be able to hear the sound part since AAC audio is supported.
Playing the video is possible with React-Native and other (native) video players because they rely on the O.S running the player App to decode video. If a browser brand didn't buy a license for HEVC then that browser cannot play it.
Solution:
Re-encode such videos to MP4 containing H.264 with AAC audio (...not H.265 with AAC).
Re-encoding takes time but it's the only way for now. Either the user does it before any uploading, or your own app accepts any file and re-encodes the "not supported" ones on server-side (eg: using FFmpeg or GStreamer tool).

iTunesconnect App Preview Error

I'm trying to upload an app preview video to my itunesconnect account, but i'm receiving the following error...
"This video has audio that is not two-channel, no-surround stereo"
As far as I can tell, there is not specific documentation discussing how to deal with this is issue, so any extra insight on this would be very helpful.
In my case I had created the video in iMovie and (intentionally) did not include any audio. To resolve the issue, I imported a silent audio track, added it to the timeline, decreased its volume to 0% just to be sure, then I shared the App Preview again. Uploading this file worked just fine. Seems the videos have to have audio included.
I have use this tool making the video https://handbrake.fr/ and uploaded the video in iTune . Work perfectly.

net::ERR_CONNECTION_RESET when uploading to vimeo

Hey when i use the api to upload a video like 334m from my site to vimeo it returned to me this error with no details any suggestion please and is it different from pro to regular user in upload size below 500m (failed) net::ERR_CONNECTION_RESET by the way it works with small videos i uploaded 127m video and it uploaded well so the problem i think with huge videos ?
Connection reset errors are to be expected. Any time you encounter any error while transferring files to the Vimeo upload servers you should verify the progress of your upload: https://developer.vimeo.com/api/upload/videos#verify-the-upload and then resume uploading from where you left off.

How to take a screenshot while playing a HLS stream using AV foundation?

I am playing a video in my app, the video is a HLS streaming which i am fetching from my remote server. And i need a functionaltiy to take the screenshot of currently playing video but i am not able to do the same, i checked the documentation apple is saying you can take the screenshot if you are playing a video if you are playing a video from LOCAL URL or LOCAL FILE and you can not take a screenshot if you are playing a video from remote stream.
I am kind of stuck on this issue, i tried several methods discussed on stack overflow and other sites but nothing worked.
Please help,
Thanks

Webcam video recorder with resumable uploader

I am developing a website in which video recording is the core feature. We would ideally want video recording to continue even if internet connection goes down. If user is recording the video and internet gets disconnected then the video may get locally saved and when internet connection resumes, the video gets uploaded to the server.
I have gone through some websites which provides APIs for recording video via webcam but they do not work even if internet connection goes down for a moment.
Any suggestions will be highly appreciated.
I guess for your case you need to offer an off-line application rather online streaming solution, then later the user can upload the video. PresentationTube at http://presentationtube.com uses this technique. As they said: PresentationTube offers a PowerPoint presentation recorder and video sharing network to help teachers, students and business professionals produce and share presentations in video format.