Open limiteddi opened 8 years ago
livestreamer "https://www.youtube.com/watch?v=YnQLZHRE-Pk" best --player-external-http --player-external-http-port 8080
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=YnQLZHRE-Pk
[cli][info] Available streams: 144p (worst), 240p, 360p, 480p, 720p (best)
[cli][info] Starting server, access with one of:
[cli][info] http://127.0.0.1:8080/
[cli][info] http://192.168.0.1:8080/
[cli][info] Got HTTP request from Lavf/57.40.101
[cli][info] Opening stream: 720p (hls)
ffmpeg -i "http://127.0.0.1:8080" -c copy 720p.ts
Input #0, mpegts, from 'http://127.0.0.1:8080':
Duration: N/A, start: 27345.000000, bitrate: N/A
Program 1
Stream #0:0[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s
Stream #0:1[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Trying to use this:
livestreamer -O https://www.youtube.com/watch?v=YnQLZHRE-Pk best --player-external-http-port 22222
so I can retrieve the stream via ffmpeg but all I get is a load of text as if video was in text format and ffmpeg isnt finding the stream on http://127.0.0.1:22222. Piping to ffmpeg doesnt work too as i get pipe error. Is there a better way to do this?