Bash script to restream with vlc or ffmpeg

I need a bash script in which i can restream video links

example i have this link [url removed, login to view] so i want to restream it via vlc or ffmpeg

cvlc [url removed, login to view] --sout='#http{mux=ts,dst=:8080/[url removed, login to view]}'

so this command get [url removed, login to view] and restream it to [url removed, login to view]

Also i need

1. Load balancing = if in server1 are connected example 100 user, other users to be redirect to another server

2. maybe we can put a .htaccess in mysite which will allow all visits from my site (jw web player) and it need to allow some ips which can access m3u8 link from everywhere.(not just from mysite)

3. Cron job that will check if a stream goes down to restart it (restart the bash script)


Habilidades: Linux, Difusión de video

Ver más: ts web, dst server, ffmpeg convert mp4 avi bash script, ffmpeg php encoder script, ffmpeg php convert script, php ffmpeg video upload script, php5 ffmpeg video portal script, vlc linux script, restart script bash, vlc install script, backup script bash email, cgi script bash perl

Información del empleador:
( 110 comentarios ) tokalk, Macedonia

Nº del proyecto: #9596644