Тёмный

How To Code A Video Stream using MongoDB 

AbdisalanCodes
Подписаться 5 тыс.
Просмотров 23 тыс.
50% 1

If you need help ask on discord! / discord
My socials and links
linktr.ee/abdisalan
GitHub: github.com/Abdisalan/blog-cod...
How to Code a Video Streaming Server using NodeJS:
• How To Code A Video St...
0:00 Intro
1:33 Coding Section
3:05 Streaming Code
Outro Song by Niticon Davis / neural_nit

Наука

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@jairam2100
@jairam2100 3 года назад
Thanks a lot. You are awesome.
@codingbyanas
@codingbyanas 2 года назад
Man, You are really providing a value through your videos. Great work. Keep on posting
@samsurya283
@samsurya283 3 года назад
Damn!!...... U just showed how to stream a video from mongodb in 5 minutes that's awesome dude 🔥 ......... And ur way of conveying the info is clear and good please make more videos like this...... I have been searching for more than a week and final got a good quality content....... 🔥🔥 All the best more to come brother 🔥🔥.... I'm waiting
@mohank9065
@mohank9065 2 года назад
Became one of your fan !!! You r the best teacher I've ever seen !!! Subscribed 😏
@islamaydean7195
@islamaydean7195 2 года назад
thanks man, i desperately looking for this tutorial
@elad3958
@elad3958 Год назад
Outstanding young brother. Going to try this now
@sumitsaini2994
@sumitsaini2994 3 года назад
Dera sir, Gud luck for next videos
@dewaemon
@dewaemon 3 года назад
this cool tutorial, enjoy alot!
@stupidPeopleRBored
@stupidPeopleRBored 2 года назад
this video is so well done i will be watching the rest of your content as time permits. you should consider teaching other content creators!
@sumitranjan7005
@sumitranjan7005 2 года назад
excellent work.
@jmartecep
@jmartecep 3 года назад
Well Done Good Sir!
@brixtongun
@brixtongun 3 года назад
Very useful info.
@clit_bait6971
@clit_bait6971 3 года назад
Your awesome bro. 👍
@usama_khalid
@usama_khalid 3 года назад
your videos are great..
@mdsalahuddin2841
@mdsalahuddin2841 2 года назад
as you are doing the research in using different platform, would you try a next-js/react+ mongo video stream both upload and download?
@mjpannu5210
@mjpannu5210 2 года назад
Thanks for Video! When we use pipe operators to send response, how do we handle large number of requests. Will my server stay blocked till I completely send the file to one user?
@artificallead499
@artificallead499 2 года назад
please do a full version with best practices and everything maybe hours long i would love the lesson
@TranTien-kx2mj
@TranTien-kx2mj 2 месяца назад
Is this a series that will cover all the essential methods needed for a basic streaming platform?
@hexerous
@hexerous 2 года назад
amazing
@ankitkumarjat9886
@ankitkumarjat9886 3 года назад
Thanks for great information, can you make videos about session beaded authentication using node and mongodb
@usamabinahmed8012
@usamabinahmed8012 3 года назад
Hi That great ! Can you help us doing the same when we have Python django as backend and show the streaming video in angular 8 front end . your help in this regards will highly be appreciated !
@hp7706
@hp7706 3 года назад
Thanks for this ! I’m is it possible to directly store a small video (
@michealbadmus2146
@michealbadmus2146 9 месяцев назад
Thanks bro. I have an issue though. On the front end, the whole video downloads before it plays instead of playing in bits
@anix_app
@anix_app 2 года назад
How to use in spring boot ? If I have a large video uploading from broswer by chunks, can gridfs receive chunks ?
@SchenierLopez
@SchenierLopez 3 года назад
Wait, wait!! what? I just learned tha Mongo allow to upload files? Files!? Not the path to file, THE FILE! I thought, it was not possible; you just store the path to the file not the file. First will try that and will come back here Thanks a lot!
@ramachandrunikousik8922
@ramachandrunikousik8922 Год назад
Hi, i have a doubt that how cctv websites work. mainly where they store the videos and how they write api ? is they store videos in mongodb ?
@alifsuria2485
@alifsuria2485 3 года назад
how to make the media seeking when streaming the media from database not from local?
@HabeshaDeveloper
@HabeshaDeveloper 2 года назад
Thanks a lot bro.... but what about from url?
@akifanvar1902
@akifanvar1902 2 года назад
Should i use gridfs if my video size is less than 16mb
@gorilaboy9687
@gorilaboy9687 2 года назад
please say how to use with dynamic routes playing another videos in data base
@elad3958
@elad3958 Год назад
If I can do this from a mongodb database container from dockerhub - that's game over bro!
@nirajgautam403
@nirajgautam403 2 года назад
How about skip functionality and quality change ,can you help me with that by sharing useful link or something
@manan5
@manan5 3 года назад
Hey love your tutorials. No one has so great content on this topic. Also what youtube has now done is that it creates separate streams for audio and video in order to conserve bandwith when video is not required. If possible can you also show or atleast given an idea as to how this works?
@abdicodes
@abdicodes 3 года назад
Thanks! I’ve got a lot of streaming content in the works so stay tuned 😁
@manan5
@manan5 3 года назад
@@abdicodes my excitement is at its peak 😇
@danielrocha5774
@danielrocha5774 3 года назад
you can achieve that easily with nginx server, in the config you put dash method and it will split the video into chunks of a sound files and a video files.
@principe.borodin
@principe.borodin 3 года назад
could be interesting you show the headers of request, of chunk size video, I suggest.
@womtang
@womtang 3 года назад
Inject this into my VEINS
@nafizaldin8869
@nafizaldin8869 3 года назад
Thanks for the awesome videos, I have been watching your videos for some times now.. I'm wondering if you Could show us how to upload videos to node js server using formidable, axios, React js.. I am struggling a lot to create a video uploading platform, and couldn't find any relevant methods to do. Thank you..
@thinkingmad1685
@thinkingmad1685 2 года назад
Hey can u help me with that, found any resources 🥲
@Iemonarch
@Iemonarch 3 года назад
How can you broadcast a video stream to many browser (users)
@fritzgerlin7884
@fritzgerlin7884 3 года назад
Awesome video ,i don't know but for performance i think with a cloud would be better no ? can you make a video streaming with nodejs and vimeo api or wistia api
@abdicodes
@abdicodes 3 года назад
The cloud would be a lot better for sure! I don’t know about those apis but I’m working on a project where you can stream many videos from the cloud 😎
@fritzgerlin7884
@fritzgerlin7884 3 года назад
@@abdicodes oh good !!
@brucebane7401
@brucebane7401 3 года назад
really cool!!!! subscribed...do you know any sources to learn mongodb and hosting related stuff for beginners???
@abdicodes
@abdicodes 3 года назад
I learned everything from the mongodb site and random articles online! Just have to search a bit :)
@brucebane7401
@brucebane7401 3 года назад
@@abdicodes 🔥🔥🔥🔥
@MananGouhari
@MananGouhari 3 года назад
Hey, awesome video! Where can I reach out to you btw?
@abdicodes
@abdicodes 3 года назад
In the description I have my link tree, you can reach out on any of the socials!
@nonefvnfvnjnjnjevjenjvonej3384
@nonefvnfvnjnjnjevjenjvonej3384 2 года назад
why did u stop creating videos? your videos are so good. if you make once a week video, you will soon have 100K subscribers
@hoatranquang8376
@hoatranquang8376 6 месяцев назад
Dear Abdisalan, I had build Video application Assuming that, i have 1000 client downloading video at the same time. Now, i should use which tool to test download my app from client to measure performance and load of server Thanks.
@RAMAKRISHNA7
@RAMAKRISHNA7 3 года назад
Hi. Nice one. Can you do a video on how to read the stream from a remote URL and pipe the response to the client with pause & resume and other capabilities? Something like proxy passing the content from one URL to our own server URL. example Read from S3 bucket via HTTP URL and then stream that using nodejs real-time while reading.
@abdicodes
@abdicodes 3 года назад
I'm not sure about this method, but I'm working on a project that lets you stream many different videos!
@artificallead499
@artificallead499 2 года назад
@@abdicodes will you make a video tutorial
@karthiksai1234
@karthiksai1234 2 года назад
@@abdicodes It will be really helpful if you can make a video on streaming an audio or video file from aws s3 bucket with nodejs. Thanks you
@btarg1
@btarg1 10 месяцев назад
How can this be integrated with your livestreaming code?
@RivenbladeS
@RivenbladeS 2 года назад
Why store it in database and not in a regular file?
@usama_khalid
@usama_khalid 3 года назад
great bro...i am not expert but i have heard that nodejs is single threaded. does this means that node can serve video to only one client at a time?
@abdicodes
@abdicodes 3 года назад
Try it out! When you run the server does it let you play more than one video?
@danielrocha5774
@danielrocha5774 3 года назад
not at all, it serves to many clients at the same time
@michael_ibeh
@michael_ibeh 8 месяцев назад
can we do this in django??
@kabundege3981
@kabundege3981 2 года назад
thanks a lot for your videos, but i have one question with this one, can this scale to 100,000 viewers
@HimanshuKumar-xz5tk
@HimanshuKumar-xz5tk 3 года назад
Does specifying end = videoSize-1 loads entire video at once in our RAM?
@abdicodes
@abdicodes 3 года назад
If your start = 0 and end = videoSize -1 then it streams the whole video, it doesn't load it all in memory.
@HimanshuKumar-xz5tk
@HimanshuKumar-xz5tk 3 года назад
@@abdicodes can we specify how much to load in one time?
@shrikantjha5630
@shrikantjha5630 2 года назад
HLS Implementation?
@legend3755
@legend3755 3 года назад
there is one more problem ..... when i stream my video from server than its working fine but when i stream it from mongodb then the whole video is downloaded at once and also it is not playing
@abdicodes
@abdicodes 3 года назад
I’d have to see your code to really be able to help.. I’m making a discord soon to be able to help people better and get the community collaborating!
@mmalam7182
@mmalam7182 3 года назад
this is fun as an experiment but please never do this on a production application
@n-0-1
@n-0-1 2 года назад
Can you explain why?
@danielrocha5774
@danielrocha5774 3 года назад
What a great video, easy to follow. Can you make another video with a video that is not on local machine. I mean a url_video.mp4 from the internet.
@imdeadshot3632
@imdeadshot3632 3 года назад
Hi much thanks! can you please also make a video to code a video stream using s3 video file?
@abdicodes
@abdicodes 3 года назад
Its in the queue of video ideas :)
@imdeadshot3632
@imdeadshot3632 3 года назад
@@abdicodes your approach works for S3 videos as well I tested yesterday!
@mohit9121
@mohit9121 3 года назад
How can we implement live streaming through camera using node js ?
@abdicodes
@abdicodes 3 года назад
I'm not sure with using node but I have another series on live streaming with a camera!
@mohit9121
@mohit9121 3 года назад
Okay so with which language we can perform live streaming?
@punkuzshah9324
@punkuzshah9324 3 года назад
don’t you think its a bad practice, and it will cost a lot of money. Mongodb hosting is so expensive like atlas. But nice video... keep up the good work...Can you do a series on streaming technology? I mean how other streaming platforms work like RU-vid, netflix, etc
@abdicodes
@abdicodes 3 года назад
I haven’t compared many places but I think you’re right. This video is just for demo purposes 😁
@abdicodes
@abdicodes 3 года назад
I’m thinking about a series on video streaming! Currently learning how it works in production so there’s more coming in the future
@jairam2100
@jairam2100 3 года назад
Can you explain a bit on this "money"?. Because i have a choice between s3 and our own servers. But for poc i am only given access to my company servers.
@abdicodes
@abdicodes 3 года назад
@@jairam2100 Good question, I think it depends on your use case. I would try each and calculate the costs and go with what makes sense for your project.
@legend3755
@legend3755 3 года назад
req.headers.range is returning undefined. plz help me on this
@abdicodes
@abdicodes 3 года назад
This usually happens when you don’t put the endpoint in the video element.
@legend3755
@legend3755 3 года назад
@@abdicodes yes u r right ... that was the problem...now i solved it...thank u very much
@mintugoyal2282
@mintugoyal2282 3 года назад
can you share your github link please??
@abdicodes
@abdicodes 3 года назад
It’s in the description :)
@mintugoyal2282
@mintugoyal2282 3 года назад
@@abdicodes Thank You
Далее
How To Code A LIVE Streaming Server: Introduction
2:23
The Hidden Cost Of GraphQL And NodeJS
28:35
Просмотров 184 тыс.
Guess The Drawing! ✍️✨🧐 #shortsart
00:14
Просмотров 1,9 млн
How To Code A Video Streaming Server in NodeJS
10:51
Просмотров 154 тыс.
✈️ The Maddening Mess of Airport Codes! ✈️
16:04
How I Started Making Games with No Experience
9:49
Просмотров 1,9 млн
I woke up at 5am for 30 days
9:24
Просмотров 5 млн
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 163 тыс.
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 2,2 млн