This Thread had not been rated yet
-Prepare your videos, it is up to your imagination. --Transcode them to .ts files with this command.
/home/xtreamcodes/iptv_xtream_codes/bin/ffmpeg -i /home/examplefolder/input.mp4 \
-c:v mpeg2video -qscale:v 2 -c:a mp2 -b:a 96k \
/home/examplefolder/output.ts
--Create a status videos folder
mkdir -p /home/xtreamcodes/iptv_xtream_codes/wwwdir/statusvideos
--Copy those videos into wwwdir/statusvideos folder. --Add this into nginx.conf http broadcast server block like this and reload nginx.
https://imgur.com/a/JatksfG
location /statusvideos {
allow all;
}
sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
--And add links of these videos to panel settings>streaming tab and save.
http://yourdomain.com:port/statusvideos/name_of_video.ts
/home/xtreamcodes/iptv_xtream_codes/bin/ffmpeg -i /home/examplefolder/input.mp4 \
-c:v mpeg2video -qscale:v 2 -c:a mp2 -b:a 96k \
/home/examplefolder/output.ts
--Create a status videos folder
mkdir -p /home/xtreamcodes/iptv_xtream_codes/wwwdir/statusvideos
--Copy those videos into wwwdir/statusvideos folder. --Add this into nginx.conf http broadcast server block like this and reload nginx.
https://imgur.com/a/JatksfG
location /statusvideos {
allow all;
}
sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
--And add links of these videos to panel settings>streaming tab and save.
http://yourdomain.com:port/statusvideos/name_of_video.ts
This Thread had not been rated yet