not approvable for children

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

lnxwbtag
improve websites creatively

en

secs click inside to pause/play next video

CMS Corporate Design Apache fine tuning Linux ( ) linuxweb.net 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
streaming

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://user:pass@domain.ddns.net:88/videoMain 
     -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:
    video.js
    flowplayer
    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 
      udp://192.168.178.36:1234?pkt_size=1316&ttl=20

    use vlc open stream:
    udp://@192.168.178.36:1234?pkt_size=1316&buffer_size=65535&ttl=20

    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		

    restrictions:

    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://yourddns.host.uvw:8554/mystream 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: 44404

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

    like dislike
    0
    0
    Bewerten:           Rating:2.96

    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.

    BrandonSix

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

    letzte Aktualisierung 2024-04-20 00:04:40 von admin

    Graphics by GIMP
    nickname:
    chat

    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
    countercountercountercountercountercountercountercounter

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

    Content Management System