How to play a part of 24 hours video Web - web

I have 24 hours video, but based on users request I want to allow him watch only an interval of that video.
What player or what system should I use to achieve this solution.

You can use a schedule.
Take a look at this.

Related

Internet Radio, node.js

I am trying to code a radio station for my friend. I would make him a web application where he can upload audio; either a group of tracks as a playlist, or a larger file, ie a guest dj set. The idea is that between guest sets the playlists fill the gaps.
I can figure out a que system, but what i need is the que to become a real-time stream, so if two users connected to the api they would hear the same thing, not trigger the start of the song.
I need it to be constantly playing, like a radio broad cast. im guessing node deployed (firebase) can manage this. looking into OBS but i dont want to have a computer switched on, i want this parked up in the cloud somewhere and my friend just keeps loading up the schedule, and it only falls silent if he uploads nothing or miss-manages his Q
Probably know but you can take a look at AzuraCast.

Get total amount of time (i.e. minutes or seconds) streamed for a track from Spotify API

I am trying to build a project using my personal streaming history with Spotify. I plan on using the Spotify API as well as Spotipy (possibly).
Is there a way to find out how many minutes or seconds a particular track was streamed by me? I've already browsed questions which suggest Last.fm but this does not work retroactively.
Specifically, I want amount of time streamed for a track between (say) Mar 2019 to Mar 2020.
You can request your streaming history by going into your settings on the spotify desktop site. It says it could take up to 30 days, I'm still waiting on mine.

MP3 file Live streaming with node js

I'm trying upload a .mp3 file to node server so that multiple users can access that file when I play it. Similar to radio, when i start playing the song, all the users connected to that server should also be in the same position of audio.
Tried many ways using methods suggested in many Q/A, blogs, but needed a straight forward approach that handles this purpose.
Any working code/pointers or guidelines will be of great help
Icecast (aka icecast2) will have a random delay between all listeners. It will be a few seconds of delay between each of them. I stream my own music. I have computers and stereos in each room playing the same stream. When you move from room to room, you get to hear the same chorus again. Or miss the chorus entirely. At transitions, 2 different songs play in my house depending on the delays.
Did you need millisecond inaccuracy in the positions for every listener? Or is a few seconds of inaccuracy good enough? If you need millisecond inaccuracy, icecast is not the solution you want. It has seconds of inaccuracy between listeners.
You can use icecast in order to stream your mp3 files and manage them on node using node-icy. Plus, if you want to have multiple channels listening to a single instance, I would recommend socket.io. Cheers!

One 2 many audio streaming, via NodeJS or whatever

For sometime now I've been trying to do something that I never thought that it would be that hard: audio streaming. My objective is simple; a simple web app through which a certain someone can click a button and live-stream his own voice to other people using this app. It's an online classroom of sorts. Here's the details:
A broadcast/lecture is scheduled for a certain date and time (done)
A user logs-in as a teacher/instructor to a simple interface where he can click "start broadcasting" (done)
When the instructor clicks "broadcast" his voice is streamed to other users. Other student-type users can also log in and start listening to THE BROADCAST this teacher started. (and here is the trick!)
The broadcast itself should be automatically stored to a local file in the process. So that students can go back to it anytime.
Of course I spent so many hours googling and stackoverflow-ing this problem, and here is what I could understand so far:
If the starting point is the browser, I must use the GetUserMedia API, the result is raw PCM data that I can download, send to server or stream to others. (simple)
Offering the broadcast to the listeners (students) will be done via HTML5's Audio API. (simple)
WebRTC cannot help me here, because it's a p2p thing, there cannot be a server middling in the process, and I NEED TO KEEP A COPY OF THE LECTURE LOCALLY. (Here's a working example)
I can use tools like Binary.js to stream the audio binary data to the students, but this requires a file to be present already on the desk.
I need to convert the PCM data to a format like MP3 or OGG in the process, and not use WAV because it's much expensive bandwidth-wise.
I feel like it should be straight forward, but I cannot get it to work, I cannot piece all of this together and offer a stable and good experience for the user.
So again, I would love to know how to do the following:
Break the GetUserMedia raw data into packets and convert it to mp3, stream it to the server, where a script (NodJS probably) can store it locally and stream it whoever tuned-in, in real time.
I am open to whatever tool you recommend, I know that NodeJS will be present in the solution, and I am happy to use it. If the streaming could be done via a 3rd-party tool, I have no problem with that.
Thanks you in advance.
I see your comment about WebRTC, but I think you should investigate it more.
Like what you see here in this (old) post: http://servicelab.org/2013/07/24/streaming-audio-between-browsers-with-webrtc-and-webaudio/
Otherwise, you might have to go for a third party solution, like https://www.crowdcast.io/
(Even if you find a video-only solution, you can use a static picture or so for the video)
Event broadcasting is a good business for many companies. If it was that easy, there wouldn't be only few and well known competitors in the market.

website of interactive audio podcast, "on-demand"

what is the best way to make podcasts available on a website, in a more interactive way possible.
I have to use Wowza? how does it work? how to create a stream to the user's liking of several hundred files already recorded, these podcasts are episodes of a radio show ...
is there a way to 'tag' and listen to the audio at will?
I can not be more specific in my question, sorry.
Wowza allows on-demand streaming and live streaming.
+ you can use server-side playlists, i mean you can create live feed from already recorded files, so that will behave like TV.
IMO Wowza should be ok for your project, however some consultant/developer will be needed.
Wowza should work well for what you are trying to do. I would contact their team to have them help tell you specifically what you will need.

Resources