chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 585 forks source link

livestream use ngix, ffmpeg and livestreamer on linux #1617

Open ringtvt opened 6 years ago

ringtvt commented 6 years ago

i use command: livestreamer -O "https://www.youtube.com/watch?v=xxxxxxxxxxxx" best --http-no-ssl-verify | ffmpeg -re -i - -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2000k -f flv "rtmp://localhost:1935/live" but error: pipe:: Invalid data found when processing input

cdrage commented 6 years ago

@chrippa Has abandoned Livestreamer, please use: https://github.com/streamlink/streamlink