Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #!/bin/bash
  2. read -p "Project Name: " project
  3. read -p "Enter Youtube Link Name: " ylink
  4. intnumber=$(cat /dev/urandom | tr -cd 'a-f0-9' | head -c 8)
  5. hlslink=$(echo \"$(youtube-dl -f 95 -g $ylink)\")
  6. ffmpeg -hide_banner -hwaccel cuvid -c:v h264_cuvid -f hls -i $hlslink -c:v h264_nvenc -r 50 -c:a pcm_s16le -ac 2 -ar 48000 -f hls -hls_list_size 0 /home/build/MSS-ONE/temp/cache/$project-$intnumber/$project.m3u8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement