VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker or buy PlayOn and record Netflix! :)
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Member
    Join Date
    Sep 2017
    Location
    United Kingdom
    Search Comp PM
    Hi,

    I have seen that there is youtube software for downloading youtube video's but does anybody know of any software to find the url of a youtube live video??
    if you put the url of a live youtube video in vlc player it just freezes

    example : the url for al jazeera news is https://www.youtube.com/watch?v=WAt9ZT2CQWg, if you put this address in vlc it will freeze.

    Any help will be much appriciated.

    Many thanks
    Quote Quote  
  2. Maybe somebody can come up with a better idea. You can record the live stream with this (but cannot watch while downloading):
    Code:
    youtube-dl -f 93 https://www.youtube.com/watch?v=WAt9ZT2CQWg
    You can pipe the stream into vlc using this:
    Code:
    youtube-dl -f 93 https://www.youtube.com/watch?v=WAt9ZT2CQWg -o - | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
    However, when you do that, then youtube-dl doesn't simultaneously save to a file.
    If you press the red record button on vlc while the video is playing (see screenshot, red circle) , then vlc will record the video to a file.
    Even though the video as watched in vlc may start/stop/pause/resume, the recorded vlc file should play perfectly. Something seems strange, though because the command line shows I was downloading at about 10fps, so it seems that some video would be lost in the vlc recording.
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	35
Size:	162.5 KB
ID:	43056  

    Quote Quote  
  3. Sometimes you can play the video file while it is downloading (eg, use VLC to open the file that youtube-dl is saving) but it doesn't work for this video.
    Quote Quote  
  4. I thought there might be a way to pipe the video to ffmpeg and have ffmpeg remux to a .ts file that could be played while the video was still downloading.

    Code:
    youtube-dl "https://www.youtube.com/watch?v=WAt9ZT2CQWg" -o - | "G:\Program Files\ffmpeg\bin\ffmpeg.exe" -y -i pipe:0 -c copy -f ts output.ts -
    But I couldn't get it to work. ffmpeg complains about the container not being suitable for the streams:

    Code:
        Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DA
    R 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn
        Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 129 kb/s
    Stream mapping:
      Stream #0:1 -> #0:0 (copy)
      Stream #0:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    Input #0, mpegts, from 'pipe:0':
      Duration: N/A, start: 1.400000, bitrate: N/A
      Program 1
        Metadata:
          service_name    : Service01
          service_provider: FFmpeg
        Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progress
    ive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
        Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 123 kb
    /s
    [NULL @ 034375e0] Requested output format 'ts' is not a suitable output format
    output.ts: Invalid argument
    av_interleaved_write_frame(): Broken pipe
    Error writing trailer of pipe:: Broken pipeframe=  156 fps=0.0 q=-1.0 Lsize=    2437kB time=00:0
    0:05.20 bitrate=3835.3kbits/s speed=29.3x
    video:2163kB audio:85kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.448
    796%
    Conversion failed!
    I'm probably doing something wrong here but I don't know ffmpeg well enough to figure it out. I tried other containers like m2ts, mkv, mp4 and got the same error.
    Quote Quote  
  5. Originally Posted by jimdagys View Post
    Maybe somebody can come up with a better idea. You can record the live stream with this (but cannot watch while downloading):
    Code:
    youtube-dl -f 93 https://www.youtube.com/watch?v=WAt9ZT2CQWg
    You can pipe the stream into vlc using this:
    Code:
    youtube-dl -f 93 https://www.youtube.com/watch?v=WAt9ZT2CQWg -o - | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
    However, when you do that, then youtube-dl doesn't simultaneously save to a file.
    If you press the red record button on vlc while the video is playing (see screenshot, red circle) , then vlc will record the video to a file.
    Even though the video as watched in vlc may start/stop/pause/resume, the recorded vlc file should play perfectly. Something seems strange, though because the command line shows I was downloading at about 10fps, so it seems that some video would be lost in the vlc recording.
    What does -f 93 in the link mean?
    Quote Quote  
  6. Originally Posted by Sounds;2498865What does [B
    -f 93[/B] in the link mean?
    It's the id of the particular stream you want to view/stream. To see a list of the available streams use:

    Code:
    youtube-dl -F https://www.youtube.com/watch?v=WAt9ZT2CQWg
    Note the capitol F rather than lower case f.


    Code:
    prompt>youtube-dl -F https://www.youtube.com/watch?v=WAt9ZT2CQWg
    [youtube] WAt9ZT2CQWg: Downloading webpage
    [youtube] WAt9ZT2CQWg: Downloading video info webpage
    [youtube] WAt9ZT2CQWg: Extracting video information
    WARNING: unable to extract uploader nickname
    [youtube] WAt9ZT2CQWg: Downloading m3u8 information
    [youtube] WAt9ZT2CQWg: Downloading MPD manifest
    [info] Available formats for WAt9ZT2CQWg:
    format code  extension  resolution note
    91           mp4        256x144    HLS  197k , avc1.42c00b, mp4a.40.5@ 48k
    92           mp4        426x240    HLS  338k , avc1.4d4015, mp4a.40.5@ 48k
    93           mp4        640x360    HLS  829k , avc1.4d401e, mp4a.40.2@128k
    94           mp4        854x480    HLS 1380k , avc1.4d401f, mp4a.40.2@128k
    95           mp4        1280x720   HLS 2593k , avc1.4d401f, mp4a.40.2@256k
    96           mp4        1920x1080  HLS 4715k , avc1.640028, mp4a.40.2@256k (best)
    Quote Quote  
  7. Originally Posted by jagabo View Post
    Originally Posted by Sounds;2498865What does [B
    -f 93[/B] in the link mean?
    It's the id of the particular stream you want to view/stream. To see a list of the available streams use:

    Code:
    youtube-dl -F https://www.youtube.com/watch?v=WAt9ZT2CQWg
    Note the capitol F rather than lower case f.


    Code:
    prompt>youtube-dl -F https://www.youtube.com/watch?v=WAt9ZT2CQWg
    [youtube] WAt9ZT2CQWg: Downloading webpage
    [youtube] WAt9ZT2CQWg: Downloading video info webpage
    [youtube] WAt9ZT2CQWg: Extracting video information
    WARNING: unable to extract uploader nickname
    [youtube] WAt9ZT2CQWg: Downloading m3u8 information
    [youtube] WAt9ZT2CQWg: Downloading MPD manifest
    [info] Available formats for WAt9ZT2CQWg:
    format code  extension  resolution note
    91           mp4        256x144    HLS  197k , avc1.42c00b, mp4a.40.5@ 48k
    92           mp4        426x240    HLS  338k , avc1.4d4015, mp4a.40.5@ 48k
    93           mp4        640x360    HLS  829k , avc1.4d401e, mp4a.40.2@128k
    94           mp4        854x480    HLS 1380k , avc1.4d401f, mp4a.40.2@128k
    95           mp4        1280x720   HLS 2593k , avc1.4d401f, mp4a.40.2@256k
    96           mp4        1920x1080  HLS 4715k , avc1.640028, mp4a.40.2@256k (best)
    Thanks
    Quote Quote  
  8. Hi all ,

    Below my try
    Code:
    livestreamer "https://www.youtube.com/watch?v=WAt9ZT2CQWg" best -o Try_18102017.mp4
    Try_18102017.mp4 is watchable with MPV

    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  9. does this allow to start recording YT live videos? Like those never ending chill out music for studying videos?
    Quote Quote  



Similar Threads