HTTP Live Streaming (HLS) Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ส.ค. 2024

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

  • @kevinjosuefernandezmendoza3279
    @kevinjosuefernandezmendoza3279 3 ปีที่แล้ว +8

    Really good video. Could you low the volume in the music for next videos? Sometimes it gets difficult to understand you.

    • @CodingWithMonir
      @CodingWithMonir  3 ปีที่แล้ว +2

      thank you so much Kevin for the honest advice. I am minimising the amount of music in my newer videos

  • @fridelezequiel
    @fridelezequiel 3 ปีที่แล้ว +2

    That's really help me !
    Thank you very much

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

      Please can you make others videos like this ?

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

      You're welcome! Ezequiel Fridel, Subscribe to the channel for more helpful content

    • @fridelezequiel
      @fridelezequiel 3 ปีที่แล้ว +2

      @@CodingWithMonir ok

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

    Thanks! It’s really useful

  • @abdelkiki
    @abdelkiki ปีที่แล้ว +2

    Can we use another server instead of apache server? Thanks!

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

    Ok, thanks fly out to Programming Career for this tut. Sub+. The first channel to explain it were it is understandable to me. Only now I must learn XAMPP.

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

    Currently, I am working on the NFT video platform where I want to stream those videos and make them work like youtube videos. so is there any library to process over IPFS video hash?

    • @CodingWithMonir
      @CodingWithMonir  2 ปีที่แล้ว

      please checkout ffmpeg docs if they have it

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

    How to convert from mpd link to streaming m3u8 ?

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

      to do this, you have to prepare the streams so that it supports this. not all m3u8 can be converted to mpd and vice versa. please check out cmaf for your reference

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

      @@CodingWithMonir I want decrypt_dash from mpd link. Can you show me how to do it? i have mpd link and "kid, key"

  • @ricardocastro6727
    @ricardocastro6727 3 ปีที่แล้ว +2

    Buena explicacion 👍

  • @wilfred-almeida
    @wilfred-almeida 3 ปีที่แล้ว +2

    The TS files are encrypted and when I open the m3u8 file, it downloads the file rather than playing the videos in Edge, Chrome and Firefox. What do I do to play the files?

    • @CodingWithMonir
      @CodingWithMonir  3 ปีที่แล้ว

      hi, you can use this extension: chrome.google.com/webstore/detail/native-hls-playback/emnphkkblegpebimobpbekeedfgemhof?hl=en please consider subscribing to the channel

    • @wilfred-almeida
      @wilfred-almeida 3 ปีที่แล้ว +1

      @@CodingWithMonir I am already Subscribed☺☻♥
      I installed this and it doesn't play, its just loading.

    • @wilfred-almeida
      @wilfred-almeida 3 ปีที่แล้ว

      @@CodingWithMonir What to do if stream is encrypted? The player just shows loading.

    • @CodingWithMonir
      @CodingWithMonir  3 ปีที่แล้ว

      @@wilfred-almeida you can download the encrypted stream and the encryption key, then host the files to your server to play or decrypt the stream with the key. but this requires some expertise. thanks for your question

    • @wilfred-almeida
      @wilfred-almeida 3 ปีที่แล้ว

      @@CodingWithMonir I have downloaded all the ts files, however the URI for key in m3u8 is "k/timestamp". I have also downloaded the timestamp file. What do I do now? Thank You very much for your replies :)

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

    Bom tutorial, como transmitir no TH-cam com esse protocolo hls ?

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

      you don't have to bother about protocol when going live on TH-cam. TH-cam will take care of it

  • @NguyenNhatLD
    @NguyenNhatLD 8 หลายเดือนก่อน +1

    not working video on google chrome

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

      could you please explain in details?

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

    Nice 👍

  • @SachinSharma-yj8xz
    @SachinSharma-yj8xz ปีที่แล้ว

    HLS.js, Dash.js both are not working in iOS Mobile Safari Browser. Please help me

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

      If the iOS Mobile Safari browser is not playing HLS.js or DASH.js, there are a few potential reasons and solutions to consider:
      Make sure that the browser and device are up to date with the latest software and security updates. This can help to ensure that the browser is compatible with the streaming content.
      Check the network connection to ensure that it is stable and fast enough to support streaming. If the connection is weak or unstable, it may cause problems with the playback of the streaming content.
      Check that the streaming content is being served from a compatible server and that it is properly configured. Some servers may not support certain streaming protocols, such as HLS.js or DASH.js, which could cause issues with playback.
      If the streaming content is encrypted, make sure that the device and browser are properly configured to handle the encryption. This may require installing additional software or plugins, or obtaining the correct keys or licenses.
      If none of these solutions resolve the issue, you may want to try using a different browser or device to see if that helps with the playback of the streaming content.

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

    lets say i have a video of 1gb and when segment it in three adopted bitrate and delete the original, in the end the size of the video will be more then 1gb or ist gonna be same ?

    • @CodingWithMonir
      @CodingWithMonir  ปีที่แล้ว +2

      Hey Abror, thanks for this nice question. acually, it won't be the same.
      Segmenting a video involves breaking it into smaller chunks or segments of fixed duration, typically between 2-10 seconds each. This process does not involve any compression or encoding, and so it does not affect the total size of the original video.
      However, when you create multiple bitrates for HLS streaming, you will end up with multiple files, each with a different bitrate. This means that the total storage required to store all the segments will be higher than the size of the original video. The total size of the segments will depend on the bitrates chosen for the HLS streams.
      For example, if you create three HLS streams with bitrates of 1 Mbps, 2 Mbps, and 3 Mbps respectively, then the total size of all the segments will be 3 times the size of the original video. This is because each segment will be duplicated at different bitrates to enable adaptive bitrate streaming.
      It is also worth noting that deleting the original video after segmenting it may not be the best practice, as it may be needed for future re-segmentation or transcoding.

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

      @@CodingWithMonir thank you a lot my friend, you have answered my question fully, god bless you

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

    Hi bro, I want to make a link like h t t p s //192 .1 6 8.../abc . m3u8 and I want to stream lively my mac desktop in this link. how can I do that? I use mac. I will open that link in another device.