Bug #4525 » pipe_hd.sh
1 |
#!/bin/bash
|
---|---|
2 |
url=$1 |
3 |
su |
4 |
/usr/local/bin/ffmpeg -i $url -i /home/logo/HD.png -filter_complex overlay=main_w-overlay_w-1:main_h-overlay_h-1 -vcodec h264_qsv -b 2500k -minrate 2500k -maxrate 2500k -bufsize 2500k -preset fast -s 1280x720 -acodec aac -ab 128k -ar 44100 -ac 2 -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1 |
5 |
|
6 |
exit 0
|
7 |
|