12 thoughts on “Dwell Streaming with Nginx and FFmpeg”

  1. love the video. I want to live stream from either my server or a host server. Then embed HTML 5 player or other player into my site so people can watch my live stream on my website. Can you help Please

  2. Very helpful. Please make more on the subject of streaming on a budget. Professional streaming services cost an arm and a leg. If there is a way to DIY and save money, that would be great.

  3. This video helps a bit, though. I wish you would talk more in depth: show the nginx installation process in digital ocean, how to make the html to show on demand videos…

  4. This is very helpful. Thank you for making your nginx.conf file available. Can you publish your html file so I can see how you integrate the player? That's really slick.

  5. Hi everyone,
    Can you help me? I have a question.
    I need to live stream some videos in 1 folder on youtube by ffmpeg.
    This is code live all video (*.mp4) in 1 folder
    But I need live random video all of them, and loop forever to live stream 24/7 .
    For example: with 4 videos ( 3-2-4-1 and loop 2-1-3-4 and loop 1-4-3-2,…..)

    Setlocal EnableDelayedExpansion
    : path to ffmpeg
    set ffmpeg=C:FMPEGbinffmpeg.exe
    : path to ffmpeg
    set INPUT=C:input
    set OUTPUT=C:output
    : encode video
    for %%i in (*.mp4) DO “%ffmpeg%” -re -i “%%i” -vcodec libx264 -preset veryfast -maxrate 2500k -bufsize 3368k -vf “format=yuv420p” -g 60 -acodec libmp3lame -b:a 198k -ar 44100 -metadata title=”” -metadata artist=”” -metadata album_artist=”” -metadata album=”” -metadata date=”” -metadata track=”” -metadata genre=”” -metadata publisher=”” -metadata encoded_by=”” -metadata copyright=”” -metadata composer=”” -metadata performer=”” -metadata TIT1=”” -metadata TIT3=”” -metadata disc=”” -metadata TKEY=”” -metadata TBPM=”” -metadata language=”eng” -metadata encoder=”” -f flv -s 1280×720 “rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx”

  6. Thank @livestreamninja for great video. I try your way on my ubuntu machine and push stream to youtube live. Everything seem work okay but my stream stop after a few minutes with error "Failed to update header with correct duration." Please see my screenshot here: https://prnt.sc/g22y4q. So what i was doing wrong?

Leave a Reply

Your email address will not be published. Required fields are marked *