Project

General

Profile

Bug #4525 » full_audio.sh

Ston eii, 2017-08-09 15:48

 
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 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -preset fast -s 1280x720 -acodec copy -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1
5
/usr/local/bin/ffmpeg -i $url -vcodec h264_qsv -b 2000k -minrate 2000k -maxrate 2000k -bufsize 2000k -preset fast -s 1280x720 -acodec copy -strict -2 -metadata service_provider=IPTV -metadata service_name=$name -f mpegts pipe:1
6

    
7

    
8
exit 0
(2-2/2)