HowTo How to use status videos? (banned, expired, down)
1-Prepare your videos, it is up to your imagination.
2-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
3-Create a status videos folder
mkdir -p /home/xtreamcodes/iptv_xtream_codes/wwwdir/statusvideos
4-Copy the video into wwwdir/statusvideos folder.
5-Add this into nginx.conf http broadcast server block like this and reload nginx.
location
/statusvideos { allow all;
}
sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
6-And add links of these videos to panel settings>streaming tab and save.
http://yourdomain.comort/statusvideos/name_of_video.ts
2-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
3-Create a status videos folder
mkdir -p /home/xtreamcodes/iptv_xtream_codes/wwwdir/statusvideos
4-Copy the video into wwwdir/statusvideos folder.
5-Add this into nginx.conf http broadcast server block like this and reload nginx.
location
/statusvideos { allow all;
}
sudo /home/xtreamcodes/iptv_xtream_codes/nginx/sbin/nginx -s reload
6-And add links of these videos to panel settings>streaming tab and save.
http://yourdomain.comort/statusvideos/name_of_video.ts
Relate Threads