not approvable for children

Please verify your age to see content (format: YYYY-MM-DD):
- -
change the form values!

improve websites creatively


secs click inside to pause/play next video

CMS Corporate Design Apache fine tuning Linux ( ) webdesign ritterhude

Livestream on your website IPV4

#livestream #webcam #rtsp #ipcam #usbcam #ffmpeg #hls
this text discribes how to show your live video stream on your homepage

known issues:

access and conservation to an ipv6 address assigned WAN is difficult, when your cam runs in a ip4 area. talk to your provider to get an ipv4. (mapping)

What you need (difficulty level: moderate)

  • IP Cam with rtsp support or usb cam and rtsp server
  • Router with ddns and port forwarding
  • server and ffmpeg software (linux)
  • howto: usb cam to rtsp stream
  • There are several cams that supporting rtsp. First connect IP cam to your network, if this done, setup ddns with provider of your choice. Then in router forward rtsp port (mostly 554) to your cams IP.
    Login to your server and write a shell script and execute to generate live stream from feed source:
    ffmpeg  -nostdin -fflags nobuffer -rtsp_transport tcp -i rtsp:// 
     -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 1024 
     -c:v libx264 -flags +cgop -g 30 -hls_flags delete_segments livefeed.m3u8

    Note that a URL prefix may be used for channels
    Next step is to setup video source to your livefeed.m3u8 playlist in your player. This players support HLS:
    That is it!

    No Internet available?

    You can setup a mobile 4G/LTE router to accces your stream. Like TP Link TL-MR6400 and reolink RLC-410W works together fine.

    transport from windows usb video device to (LAN IPV4)remote client:

    get devices with:
    ffmpeg -list_devices true -f dshow -i dummy

    Example stream (with your hosts lan ip running ffmpeg):
    ffmpeg -re -fflags nobuffer -f dshow -framerate 30  -i video="Live! Cam Socialize HD 1080 (VF0680)"  
     -s hd720 -preset ultrafast -vcodec libx264  -pix_fmt yuv420p  -b:v 900k -tune zerolatency -b 900k -r 30 -f mpegts 

    use vlc open stream:

    or ffmpeg to further transcode

    rtsp example (windows):

    Download rtsp server: rtsp-simple-server
    Forward port 8554
    1st start rtsp-simple-server(.exe)
    than push ffmpeg stream, replace content after video=" with your src cam string:
    ffmpeg -rtbufsize 148M -f dshow -i video="Live! Cam Socialize HD 1080 (VF0680)"  -s hd720 -preset fast -c:v libx264 
     -r 30 -threads 2 -vcodec libx264  -pix_fmt yuv420p  -threads 2  -pix_fmt yuv420p -tune zerolatency -b:v 512k 
     -maxrate 900k -bufsize 3M -f rtsp rtsp://localhost:8554/mystream		


    it is prohibited to stream copyrighted material, if you are not licensed to do it.
    you may need to increase buffer and play around with values for best result, watch rtsp:// or transcode with any client or player. you can integrate many vf filters in your video such as image overlay, text layer and more ... even dynamic text refreshing ... consult the ffmpeg docs for further information.

    - 4208 Chars - 412 Wörter , Views: 322749

    War die Information auf dieser Seite für Sie hilfreich?

    like dislike
    Bewerten:           Rating:3.03

    Expand/show comments

    Was denkst Du? Hinterlasse hier einen Kommentar zu diesem Artikel.
    Bisher : 1 Kommentare.

    BOTCHECK: Enter this string : captcha here: to verify you're human.
    192 Character(s) Remaining
    to prevent slamming comments, post will be checked for bad content and released to public when passed.


    herbal calming url httpsforumsdievietelvprofils127605forum httpsforumsdievietelvprofils127605forum url trazodone erectile dysfunction
    2024-04-17 08:57:41

    letzte Aktualisierung 2024-07-25 15:54:39 von admin

    Graphics by GIMP

    Möchten Sie Cookies erlauben?

    Es handelt sich dabei nur um technische Cookies. Sie haben die Wahl:

    Lesen Sie mehr in unseren Datenschutzrichtlinien

    configure Configure

    To Top
    neu in 2017
    Content Management System News Xwax Linux livestreams Bilder Statistics live streams Welcome Shorties Linux CMS OpenSource improve websites

    Content Management System