Тёмный

FFmpeg Streaming Bootstrap: UDP To Get Started! 

Dev Stef
Подписаться 1,6 тыс.
Просмотров 4,8 тыс.
50% 1

Today we use FFmpeg to stream a video file, camera devices output and share our screen through a local network.
The protocol we are using is UDP, which does not allow a segment tracking but it is ideal if the stream is continuous (like a camera stream).
Just in case there are questions or doubts, feel free to comment down below!
Further reference for this video:
► trac.ffmpeg.org/wiki/Streaming...
Sample video:
► Big Buck Bunny
Download page available at peach.blender.org/download/
👉👉👉 FOLLOW ME 👈👈👈
--------------------------
► Instagram: / devstefit
► TikTok: / devstefit
► Twitter: / devstefit
► Linktree: linktr.ee/devstefit
🎼🎵🎶 MUSIC CREDIT 🎶🎵🎼
---------------------------
► Evolution - Royalty Free Music by Benjamin Tissot
www.bensound.com/royalty-free...
📖 CHAPTERS 📖
---------------------------
00:00 Intro
01:18 Virtual machine and host machine configurations
04:27 Sharing a file via UDP
11:34 Sharing the webcam
15:38 Sharing the screen and reducing latency
21:30 The -re flag
22:52 Conclusions
#devstefit #ffmpeg #streaming #udp

Наука

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

 

2 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@user-ul1nk7qh1i
@user-ul1nk7qh1i 9 месяцев назад
Thanks Stef. I learn a lot from your video. Cheers.
@MrDpof
@MrDpof Год назад
Excellent video, thank you very much!!! Since you're using the mpegts format, is that possible to generate an hls playlist on the fly and use the http protocol instead of udp? It could be very handy to be able to generate a live stream to test a player.
@devstefit
@devstefit Год назад
Thank you very much for watching! This is the beginning, I will make other videos dealing with other types of stream. Stay tuned!
@geoffphillips5293
@geoffphillips5293 10 месяцев назад
I use this (tail end of command) for a particular application (using a mapped network drive p:\ where the webserver is) and this is windows. -an -f mpegts -aspect 16:9 -r 25 -framerate 25 -s 1024x576 -qscale 5 -f hls -hls_time 8 -hls_wrap 8 -hls_playlist_type event p:\grantstream.m3u8
@smartlifebyhaniya
@smartlifebyhaniya 6 месяцев назад
hello bro hope you will be fine i am useing Cesbo Astra to get dvb stream and transmit to xtream ui but xtream cant get udp stream can you please help me
@backonrun626
@backonrun626 Год назад
😍
@devstefit
@devstefit Год назад
Thanks for watching!
@mohammedfawazm6546
@mohammedfawazm6546 9 месяцев назад
Hi. Can you please help me to stream a live RTSP to UDP using ffmpeg in ubuntu 22.04?
@manogar817
@manogar817 Год назад
Hi Stef, I own a Dolby digital 5.1 surround system and I have tons of eac3 encoded movies in my harddrive. I usually convert the eac3 media files to ac3 using ffmpeg command line because my home theatre system is only compatible with Dolby Digital and not DD+. The conversion is not very convenient for me via terminal. Is there any better way in VLC or any other media player where the conversion of eac3 to ac3 is possible during the playback? If so, how can I tweak the VLC settings. Please advise.
@devstefit
@devstefit Год назад
Hi! With VLC there is the possibility to convert you media, but I don't think it can while playing. I will take a look if there are other solutions. Stay tuned!
@manogar817
@manogar817 Год назад
@@devstefit thanks Stef 👍
@EricZimerman
@EricZimerman 5 месяцев назад
Hi. Is it possible to stream to localhost? In other words RTSP server and client on the same machine?
@devstefit
@devstefit 4 месяца назад
Hi! Thanks for watching. Yes you can! I guess this is what I did in the testing phase (no other machines to communicate with in the very beginning)
@yurakriachko7008
@yurakriachko7008 Год назад
I see you always use some encoder. What about using raw video? It should be faster if on one machine (say from virtual machine or docket) How to do it with FFmpeg? I’m trying hard but I’m having some artifacts probably related to the color palette. And thank you for the awesome in depth videos.
@devstefit
@devstefit Год назад
Yes, I agree with you: raw video (in general, uncompressed) or FFV1 (lossless compressed) can be good in terms of quality preservation, but not so good in terms of bandwidth occupied. In fact I use H.264 all the time (but I can use H.265/HEVC in these days, since it is quite commonly used), you can customize it using the preset and the CRF (Constant Rate Factor) to give a good tradeoff between quality and stream size. Of course, if you use your application/service on your local network and you don't mind about network costs you are most welcome and I invite you to use it! But in case of using it over the internet (and above all 4G/5G) it is better to keep the file size to the minimum, at the expense of some quality loss and artifact generation (as it is your case). A way to avoid it is to play with the Constant Rate Factor (or CRF for short) and the presets (some settings that are meant to be used in certain scenarios like a film, an animation, footage with grainy noise, etc). A video upon that is on the rise! Stay tuned!
Далее
GFS Forecast Download Manager
6:55
Просмотров 25
FFmpeg 7.0 Is Out! Let's See What's New...
17:13
FFmpeg 6.0 Is Out! Let's See What's New...
24:18
Просмотров 2,4 тыс.
HLS Streaming Server with NGINX
34:49
Просмотров 171 тыс.
Setup Your Own RTMP + Web Streaming Video Server
25:51
Choose a phone for your mom
0:20
Просмотров 4,7 тыс.
Best mobile of all time💥🗿 [Troll Face]
0:24
Просмотров 1,8 млн