FULL STREAMING POWER! HLS And DASH On A Nginx Server With RTMP Support - A Complete Walkthrough

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.ค. 2024
  • Today we see how to stream using HLS and DASH with the Nginx server we configured in this video: • FFmpeg Streaming - Nex...
    We see first how to enable a HLS and DASH server, then we see how they are connected to the RTMP server, so to have a HLS and DASH stream as soon as we stream data using RTMP.
    In the end, we see with FFmpeg how to create HLS and DASH streams from scratch
    Just in case there are questions or doubts, feel free to comment down below!
    Further reference for this video:
    ► trac.ffmpeg.org/wiki/Streaming...
    ► www.digitalocean.com/communit...
    ► www.ffmpeg.org/ffmpeg-formats...
    ► www.ffmpeg.org/ffmpeg-formats...
    ► www.ffmpeg.org/ffmpeg-formats...
    ► www.ffmpeg.org/ffmpeg-formats...
    ► trac.ffmpeg.org/wiki/Creating%...
    All the commands and the settings used in this video: gist.github.com/DevStefIt/cf1...
    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
    02:04 RTMP streaming limitations
    06:29 Enabling HLS and DASH in the Nginx server
    19:19 RTMP streaming with FFmpeg and HLS+DASH client consuming
    27:29 Creation of HLS streams with FFmpeg
    36:57 Creation of DASH streams with FFmpeg
    42:07 Creation of a multiple quality HLS streams with FFmpeg
    56:07 Conclusions
    #devstefit #streaming #hls #dash #ffmpeg
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @AdmV0rl0n
    @AdmV0rl0n ปีที่แล้ว

    I need to re-watch - thank you for the time you put in.

  • @MrDpof
    @MrDpof ปีที่แล้ว

    Great video, thank you for your time and work 👌🏽💪🏽👍🏽❤️

    • @devstefit
      @devstefit  ปีที่แล้ว

      Thanks for watching!

  • @raulmejiaj
    @raulmejiaj 5 หลายเดือนก่อน

    Hello Stef, very helpful your video and the use of nginx, another interesting topic is the use of hls and dash but allocate the output hls or dash files in a server using Webdav, I've seen that this can be done with nginx or with apache, it would be great if you could do a video about it.
    Greetings from a fan from Mexico, keep it up with your cool content I've learned so much 👍👍👍

    • @devstefit
      @devstefit  5 หลายเดือนก่อน

      Hi! Thanks for your kind words and for your suggestion!
      I think this will be on my list of next videos 👍🏻

  • @dritonismaili5635
    @dritonismaili5635 4 หลายเดือนก่อน +1

    In a very short short period of time I learned a lot from your videos. But one thing I noticed, my CPU is overworked.

    • @devstefit
      @devstefit  4 หลายเดือนก่อน

      Thank you very much!
      I think your CPU doesn't thank me so much for the stress anyway...
      Soon there will be GPU stressing!

  • @abdouspaindz5270
    @abdouspaindz5270 ปีที่แล้ว

    Okay

  • @devstefit
    @devstefit  ปีที่แล้ว

    And you? Do you have a HLS/DASH server set already? Let me know what are you doing with it

    • @krclinic
      @krclinic ปีที่แล้ว +1

      done in the arch linux! thanks. i try to set the youtube live

  • @TrueWodzu
    @TrueWodzu ปีที่แล้ว +1

    Hi, thank you for the video. Thumb up from me, however I think you've misted couple important aspects if not THE most important aspects of this. First of all, you did not present what HLS/DASH is used for: it is used for a stream seeking. That is why you generate a playlist - to be able to jump to a given position in the file. In your case I suspect you could jump into beginning and middle of the file, because you have two parts. What you should do is to take longer video, divide it into 10 parts and show us how seeking in the file actually works. There are some other important things that you should point out, like generating list on the fly while consuming the stream.

    • @devstefit
      @devstefit  ปีที่แล้ว +1

      Hi! Thanks for the thumbs up and for the clarification! The point is missing in the video and I did not focus on this aspect at all. I hope this comment can be useful for somebody!

  • @aviralsingh9579
    @aviralsingh9579 ปีที่แล้ว

    Hi Dev, I liked your video can you make a video on RTMP OBS Streaming. Like TH-cam Live or Twitch Live waiting for those videos!

    • @devstefit
      @devstefit  ปีที่แล้ว

      I would like to do some videos about OBS, both for streaming or for creating files. Thanks for the suggestion!

  • @Rafael-es5dp
    @Rafael-es5dp 2 หลายเดือนก่อน

    Is there a way or work around with the delay? Im trying to stream with obs to nginx rtmp hls😅

    • @devstefit
      @devstefit  หลายเดือนก่อน

      Can't help with this... there can be a world around a delay! The most probable reason may be the video decoding and encoding along with the streaming, filling the resources and causing the delay.

  • @SanthoshKumar-mr5ss
    @SanthoshKumar-mr5ss 5 หลายเดือนก่อน

    Can we able to record the streamed footage in the nginx server?

    • @theritikchoure
      @theritikchoure 2 หลายเดือนก่อน

      yes

    • @devstefit
      @devstefit  หลายเดือนก่อน

      Sure, you can capture the stream to a file if you would like. Even better than recording!