How to download video recordings from Qnap - qnap

I have few cameras connected and Qnap is saving all the recordings to the camera. I am using below API to download the videos:
http://192.168.1.14:8080/cgi-bin/filemanager/utilRequest.cgi?func=download&sid=0e0id47o&isfolder=0&source_total=1&source_path=/QVRProRecording/File/Standard_Format/Ch001_Camera 001/Normal01/2022-04-17/10D&source_file=20220417-104333-104500.mp4
At the end of above url, you can notice we can define the datetime of the video files we want to download. As of now, by default qnap is saving all the videos from the camera with 5mins interval. So for 1hr there are 12 recordings saved each of 5mins. If I download any of these 5mins recordings, I can easily use above api and replace the datetime with actual datetime and it will download. But I wanted to know how can I download the recording for custom datetime.
For ex, 20220419-100000-100500.mp4, this will download the video from 10:00 AM to 10:05 AM. But if I mention 10:00 to 10:01 AM, it doesn't download any thing. Does that mean, in Qnap we cannot download any custom datatime video?

Related

Youtube Live Video embedding not allowed

I want to embed a Youtube Live Video inside a webpage. Some years ago this was not a further problem. At the weekend I created a new Youtube account for a sports club and Livestreaming was activated 24h after verification. Now I set "allow embedding" for the Livestream, but every time I create an Event with OBS and stream to this event, the "allow embedding" option is disabled. An older installation for another sports club has this option enabled every time I stream.
Once the Livestream is startet it is possible to change the option via YouTube Studio, but it should be the default.
Any ideas?
The moment you start the live stream the "allow embedded" is switched off. If you immediately after going live (during your intro video or waiting video) switch it back on again on the youtube website it works fine. But it is indeed an irritating bug.

video live streaming application in React Native

I am trying to implement video live streaming
live streaming and
upload it to server and
save the streaming video (Playback)
in react native can any one help me with a sample project
this is will be helpful https://www.npmjs.com/package/react-native-video
for point upload it to server, what exactly do u need upload? video uploading or something else?
So - you'll need a backend server that can accept a video stream, and convert it into a stream that can be consumed in React Native. You'd also like the server to save the streamed video, and encode it so it can be played back as video on demand (VOD) after the stream has stopped. None of this is React - it'll all be done on the backend.
You can build all this yourself, but there are a number of APIs that can do this for you. Disclaimer: I work for one such company: api.video. (A Google search will find others)
For livestreaming from the browser, you can use getUserMedia and stream to a server. (you can see my demo using JavaScript at livestream.a.video. This stream wil be visible to all your users, and then also recorded and saved as VOD for later playback.
To upload a recorded video - you can use file.slice() to break the video into manageable chunks, and upload to the server - for transcoding into a video stream (demo at upload.a.video, and tutorial.)
For playback, these APIs will give you a player URL or the m3u8 url that you can incorporate into a video player. This is your React Native part - and there are several video players that you can add into your application to playback HLS video. At api.video, we have our own player, and also support 3rd party players.

Can I have my device (alarm clock) play audio files on Google home speakers

I have made an alarm clock (using microcontrollers) that plays audio files at different times of the day. Can I make my device play audio files on Google home speakers in the house under same wifi? I will need it to play audio by itself with no input from the user (like pushing cast button)
Please help!
Ishtiaque
No, this feature isn't currently supported. Third party actions for the Google Assistant require immediate invocation, so audio playback can't be scheduled ahead of time.

Videojs real-time streaming over HTTP not working in Firefox/Opera

I am streaming the video of a webcam using VLC. The video codec is h264 and the container format is flv. The video is sent over HTTP/TCP and it must be a real-time application.
When I use Chrome or IExplorer to display the video streaming, it works fine. For example, if the streaming broadcast started 2 minutes before, videojs directly seeks to minute 2 and displays the video at real-time.
But It doesn't happen when using Opera or Mozilla Firefox. In the above case, videojs displays the video starting at minute 0. Since it has no information from minute 0 to minute 2, it shows a static image in that period of time. Then, when it reaches minute 2 it displays the video packets received 2 minutes before...
What could be the reason for the different behaviour between browsers? Is there a way (probably javascript way) to directly seek to the live starting point?
Thank you

youtube live api event tagging, video clipping, preroll ads

I'd like to use YouTube Live to stream a live video embedded in my website. I'd also like to be able to use the API to tag events within that video based on the time, then auto-generate clips x seconds before and y seconds after the timestamp to show that event only. I'd also like to publish my own pre-roll advertisements on both the live stream and the clips (and be able to play an ad during the stream at appropriate times). Is any/all of this possible?