View Single Post
  #2  
Old 04-24-2015, 11:54 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Help with this You Tube live stream


Quote:
Originally Posted by joejones15 View Post
What is best way to capture this stream? Also what are different bit-rates available?

https://www.youtube.com/watch?v=zcrCLkkmatM
Code:
youtube-dl -F "https://www.youtube.com/watch?v=zcrCLkkmatM"
[youtube] zcrCLkkmatM: Downloading webpage
[youtube] zcrCLkkmatM: Extracting video information
[youtube] zcrCLkkmatM: Downloading formats manifest
[youtube] zcrCLkkmatM: Downloading DASH manifest
[info] Available formats for zcrCLkkmatM:
format code  extension  resolution note
140          m4a        audio only DASH audio  144k , m4a_dash container, aac  @128k (48000Hz)
160          mp4        256x144    DASH video  124k , 15fps, video only
133          mp4        426x240    DASH video  258k , 30fps, video only
134          mp4        640x360    DASH video  616k , 30fps, video only
135          mp4        854x480    DASH video 1116k , 30fps, video only
151          mp4        72p        HLS 
132          mp4        240p       HLS 
92           mp4        240p       HLS 
93           mp4        360p       HLS 
94           mp4        480p       HLS  (best)
so
Code:
youtube-dl -f 94 "https://www.youtube.com/watch?v=zcrCLkkmatM"
or
Code:
youtube-dl -f 135+140 "https://www.youtube.com/watch?v=zcrCLkkmatM"

Code:
livestreamer "https://www.youtube.com/watch?v=zcrCLkkmatM"
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=zcrCLkkmatM
Available streams: 240p, 360p, 480p (best), 72p (worst)
so
Code:
livestreamer "https://www.youtube.com/watch?v=zcrCLkkmatM" 480p -o live.ts
Reply With Quote