VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 25 of 25
  1. Freelance scientist Chemist116's Avatar
    Join Date
    May 2017
    Location
    Perú
    Search Comp PM
    Hello I have problems at trying to record this live stream from youtube
    http://youtube.com/watch?v=KXeFVTsFrCs

    Previously I used livestreamer command line but when that project stopped i moved onto streamlink, now it doesn't work neither. Does it exists other way which I could use?. Please don't refer me to shareware programs or those who use a graphic user interfase i know they can work but it is not what i'm looking for. I'm on limited resources and a open source program which uses command line could be the best for me. Any suggestions on how to record it?. Thanks in advance.
    Quote Quote  
  2. Hi Chemist116 ,

    2 possibilities using "youtube-dl.exe" : one inclued with Python , one in a portable version

    Code:
    "x:\python\Scripts\youtube-dl.exe" "http://youtube.com/watch?v=KXeFVTsFrCs" live
    =>
    LIVETaiwan CTV news HD LiveCTV HD ()-KXeFVTsFrCs.mp4
    ====== OR
    "x:\ytbe\youtube-dl.exe" "http://youtube.com/watch?v=KXeFVTsFrCs" live
    =>
    中視新聞台 LIVE直播|Taiwan CTV news HD Live|台湾のCTV ニュースHD (生放送)-KXeFVTsFrCs.mp4
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  3. Freelance scientist Chemist116's Avatar
    Join Date
    May 2017
    Location
    Perú
    Search Comp PM
    Originally Posted by aazerty View Post
    Hi Chemist116 ,

    2 possibilities using "youtube-dl.exe" : one inclued with Python , one in a portable version

    Code:
    "x:\python\Scripts\youtube-dl.exe" "http://youtube.com/watch?v=KXeFVTsFrCs" live
    =>
    LIVETaiwan CTV news HD LiveCTV HD ()-KXeFVTsFrCs.mp4
    ====== OR
    "x:\ytbe\youtube-dl.exe" "http://youtube.com/watch?v=KXeFVTsFrCs" live
    =>
    中視新聞台 LIVE直播|Taiwan CTV news HD Live|台湾のCTV ニュースHD (生放送)-KXeFVTsFrCs.mp4
    Cheers .
    Hey aazerty I've tried to follow your steps but i got this error

    Code:
    C:\Users\Flor\Downloads>"C:\Users\Flor\Downloads\youtube-dl.exe" "http://youtube
    .com/watch?v=KXeFVTsFrCs" live
    [youtube] KXeFVTsFrCs: Downloading webpage
    [youtube] KXeFVTsFrCs: Downloading video info webpage
    [youtube] KXeFVTsFrCs: Extracting video information
    WARNING: unable to extract uploader nickname
    [youtube] KXeFVTsFrCs: Downloading MPD manifest
    ERROR: requested format not available
    Could it be that i'm doing something wrong?.

    Where do i get the portable version of youtube-dl?. How is it installed?. Maybe that part i did it wrong. Can you help me with this?.
    Quote Quote  
  4. Hi Chemist116 ,

    Code:
    "x:\ytbe\youtube-dl.exe" -F "http://youtube.com/watch?v=KXeFVTsFrCs"
    [info] Available formats for KXeFVTsFrCs:
    Code:
    format code  extension  resolution note
    91           mp4        256x144    HLS  197k , avc1.4d400c, 30.0fps, mp4a.40.5@ 48k
    92           mp4        426x240    HLS  338k , avc1.4d4015, 30.0fps, mp4a.40.5@ 48k
    93           mp4        640x360    HLS  829k , avc1.4d401e, 30.0fps, mp4a.40.2@128k
    94           mp4        854x480    HLS 1380k , avc1.4d401f, 30.0fps, mp4a.40.2@128k
    300          mp4        1280x720   3806k , avc1.4d4020, 60.0fps, mp4a.40.2
    301          mp4        1920x1080  6231k , avc1.4d402a, 60.0fps, mp4a.40.2 (best)
    My try with the worst '-f 91'
    Code:
    "x:\ytbe\youtube-dl.exe" -f 91 "http://youtube.com/watch?v=KXeFVTsFrCs"
    Code:
    got 中視新聞台 LIVE直播|Taiwan CTV news HD Live|台湾のCTV ニュースHD (生放送)-KXeFVTsFrCs.mp4
    !!! DON'T FORGET to stop the stream after a while ; as it is a LIVE one !!!
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  5. Freelance scientist Chemist116's Avatar
    Join Date
    May 2017
    Location
    Perú
    Search Comp PM
    Originally Posted by aazerty View Post
    Hi Chemist116 ,

    Code:
    "x:\ytbe\youtube-dl.exe" -F "http://youtube.com/watch?v=KXeFVTsFrCs"
    [info] Available formats for KXeFVTsFrCs:
    Code:
    format code  extension  resolution note
    91           mp4        256x144    HLS  197k , avc1.4d400c, 30.0fps, mp4a.40.5@ 48k
    92           mp4        426x240    HLS  338k , avc1.4d4015, 30.0fps, mp4a.40.5@ 48k
    93           mp4        640x360    HLS  829k , avc1.4d401e, 30.0fps, mp4a.40.2@128k
    94           mp4        854x480    HLS 1380k , avc1.4d401f, 30.0fps, mp4a.40.2@128k
    300          mp4        1280x720   3806k , avc1.4d4020, 60.0fps, mp4a.40.2
    301          mp4        1920x1080  6231k , avc1.4d402a, 60.0fps, mp4a.40.2 (best)
    My try with the worst '-f 91'
    Code:
    "x:\ytbe\youtube-dl.exe" -f 91 "http://youtube.com/watch?v=KXeFVTsFrCs"
    Code:
    got 中視新聞台 LIVE直播|Taiwan CTV news HD Live|台湾のCTV ニュースHD (生放送)-KXeFVTsFrCs.mp4
    !!! DON'T FORGET to stop the stream after a while ; as it is a LIVE one !!!
    Cheers .
    Hi, I've tried to do what you mentioned and I got this

    Code:
    C:\Users\Flor>"C:\Users\Flor\Downloads\youtube-dl.exe" -F "http://youtube.com/wa
    tch?v=KXeFVTsFrCs"
    [youtube] KXeFVTsFrCs: Downloading webpage
    [youtube] KXeFVTsFrCs: Downloading video info webpage
    [youtube] KXeFVTsFrCs: Extracting video information
    WARNING: unable to extract uploader nickname
    [youtube] KXeFVTsFrCs: Downloading MPD manifest
    [info] Available formats for KXeFVTsFrCs:
    format code  extension  resolution note
    140          m4a        audio only DASH audio  144k , m4a_dash container, mp4a.4
    0.2@128k
    160          mp4        256x144    144p  124k , avc1.4d400c, 30fps, video only
    133          mp4        426x240    240p  258k , avc1.4d4015, 30fps, video only
    134          mp4        640x360    360p  646k , avc1.4d401e, 30fps, video only
    135          mp4        854x480    480p 1171k , avc1.4d401f, 30fps, video only
    136          mp4        1280x720   720p 2326k , avc1.4d401f, 30fps, video only
    298          mp4        1280x720   720p60 3481k , avc1.4d4020, 60fps, video only
    
    137          mp4        1920x1080  1080p 4347k , avc1.4d4028, 30fps, video only
    299          mp4        1920x1080  1080p60 5791k , avc1.4d402a, 60fps, video onl
    y (best)
    but something weird happened when i chosen for example 136 option as it performs the action as downloading the full file as 100% but it does not seems to acknowledge that it is a live broadcast!. What can be happening, can you help me with this??

    Code:
    C:\Users\Flor>"C:\Users\Flor\Downloads\youtube-dl.exe" -o 'C:/User/Flor/Download
    s/%(title)s.%(ext)s' -f 136 "http://youtube.com/watch?v=KXeFVTsFrCs"
    [youtube] KXeFVTsFrCs: Downloading webpage
    [youtube] KXeFVTsFrCs: Downloading video info webpage
    [youtube] KXeFVTsFrCs: Extracting video information
    WARNING: unable to extract uploader nickname
    [youtube] KXeFVTsFrCs: Downloading MPD manifest
    [download] Destination: 'C#\User\Flor\Downloads\????? LIVE??|Taiwan CTV news HD
    Live|???CTV ????HD (???).mp4'
    [download] 100% of 316.50KiB in 00:00
    Quote Quote  
  6. Freelance scientist Chemist116's Avatar
    Join Date
    May 2017
    Location
    Perú
    Search Comp PM
    Hey aazerty can you check what's going on?. I've tried your method but it is not working. It does not download the file and treats is 100% dowloaded. See the code from above.
    Quote Quote  
  7. Hi Chemist116 ,

    When using -F , my result is not the same as yours one (?) .
    Code:
    [info] Available formats for KXeFVTsFrCs:
    
    format code  extension  resolution note
    91           mp4        256x144    HLS  197k , avc1.4d400c, 30.0fps, mp4a.40.5@ 48k
    92           mp4        426x240    HLS  338k , avc1.4d4015, 30.0fps, mp4a.40.5@ 48k
    93           mp4        640x360    HLS  829k , avc1.4d401e, 30.0fps, mp4a.40.2@128k
    94           mp4        854x480    HLS 1380k , avc1.4d401f, 30.0fps, mp4a.40.2@128k
    300          mp4        1280x720   3806k , avc1.4d4020, 60.0fps, mp4a.40.2
    301          mp4        1920x1080  6231k , avc1.4d402a, 60.0fps, mp4a.40.2 (best)
    Try done with -f 301
    Code:
    "D:\python_2712\Scripts\youtube-dl.exe" -f 301 "http://youtube.com/watch?v=KXeFVTsFrCs"
    [youtube] KXeFVTsFrCs: Downloading webpage
    [youtube] KXeFVTsFrCs: Downloading video info webpage
    [youtube] KXeFVTsFrCs: Extracting video information
    [youtube] KXeFVTsFrCs: Downloading m3u8 information
    [youtube] KXeFVTsFrCs: Downloading MPD manifest
    [download] Destination:  LIVETaiwan CTV news HD LiveCTV HD ()-KXeFVTsFrCs.mp4
    ffmpeg version N-75316-gcbbd906 Copyright (c) 2000-2015 the FFmpeg developers
      built with gcc 4.9.3 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --
    enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --
    enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
     --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --en
    able-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
      libavutil      55.  2.100 / 55.  2.100
      libavcodec     57.  2.100 / 57.  2.100
      libavformat    57.  2.100 / 57.  2.100
      libavdevice    57.  0.100 / 57.  0.100
      libavfilter     6.  4.100 /  6.  4.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.100 /  2.  0.100
      libpostproc    54.  0.100 / 54.  0.100
    Input #0, hls,applehttp, from 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/KXeFVTsFrCs.8/itag/301/source/yt_live_broadcast
    /requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r1---sn-
    hgn7rn7k.googlevideo.com/ei/rhRzWqW****fWYnajHg/playlist_type/DVR/gcr/fr/initcwndbps/4750/mm/32/mn/sn-hgn7rn7k/ms/lv/mv/m/pl/16/dover/10/kee
    palive/yes/manifest_duration/30/playlist_duration/30/mt/1517491276/ip/92.143.60.76/ipbits/0/expire/1517512975/sparams/ip,ipbits,expire,id,it
    ag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/425E9
    2D8B3CC96E5AD19591CEABAC7CBC914ECF3.605BBD9B5295E5CFF83071E7844E1A4ADDC9115C/key/dg_yt0/playlist/index.m3u8':
      Duration: N/A, start: 34126.000000, bitrate: N/A
      Program 0
        Metadata:
          variant_bitrate : 0
        Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 133 kb/s
        Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    [mp4 @ 038d2020] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 038d2020] Codec for stream 1 does not use global headers but container format requires global headers
    Output #0, mp4, to 'file: LIVETaiwan CTV news HD LiveCTV HD ()-KXeFVTsFrCs.mp4.part':
      Metadata:
        encoder         : Lavf57.2.100
        Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
        Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 133 kb/s
    Stream mapping:
      Stream #0:1 -> #0:0 (copy)
      Stream #0:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    skipping 1 segments ahead, expired from playlists0:00:15.56 bitrate=1842.6kbits/s
    skipping 1 segments ahead, expired from playlists0:00:21.52 bitrate=1686.8kbits/s
    skipping 1 segments ahead, expired from playlists0:00:27.53 bitrate=1578.0kbits/s
    skipping 1 segments ahead, expired from playlists0:00:31.54 bitrate=1507.3kbits/s
    skipping 1 segments ahead, expired from playlists0:00:35.92 bitrate=1462.1kbits/s
    skipping 1 segments ahead, expired from playlists0:00:39.73 bitrate=1441.0kbits/s
    frame= 1800 fps= 32 q=-1.0 size=    7049kB time=00:00:42.02 bitrate=1374.1kbits/s
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  8. Originally Posted by Chemist116 View Post
    Hello I have problems at trying to record this live stream from youtube
    http://youtube.com/watch?v=KXeFVTsFrCs

    Previously I used livestreamer command line but when that project stopped i moved onto streamlink, now it doesn't work neither. Does it exists other way which I could use?. Please don't refer me to shareware programs or those who use a graphic user interfase i know they can work but it is not what i'm looking for. I'm on limited resources and a open source program which uses command line could be the best for me. Any suggestions on how to record it?. Thanks in advance.
    Which version of Streamlink were you using? Streamlink has recently been updated to version 0.10.0. Some problems with YouTube have been fixed.
    Quote Quote  
  9. I am using streamlink 0.9.0
    Thanks for speaking about an update .
    JE SUIS CHARLIE !!!
    Quote Quote  
  10. Freelance scientist Chemist116's Avatar
    Join Date
    May 2017
    Location
    Perú
    Search Comp PM
    Originally Posted by aazerty View Post
    I am using streamlink 0.9.0
    Thanks for speaking about an update .
    I had updated to the current version. Thanks.
    Quote Quote  
  11. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    It stopped again. can someone help.
    https://www.youtube.com/watch?v=kZrPbgTWtHw

    I get the no playable streams error
    Quote Quote  
  12. Hi ,

    Working with livecli ( not maintained ! )

    Code:
    "D:\python_2712\Scripts\livecli.exe" "https://www.youtube.com/watch?v=kZrPbgTWtHw" best
    
    [cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=kZrPbgTWtHw
    [cli][info] Available streams: 144p (worst), 240p, 360p (best)
    [cli][info] Opening stream: 360p (hls)
    [cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  13. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by aazerty View Post
    Hi ,

    Working with livecli ( not maintained ! )

    Code:
    "D:\python_2712\Scripts\livecli.exe" "https://www.youtube.com/watch?v=kZrPbgTWtHw" best
    
    [cli][info] Found matching plugin youtube for URL https://www.youtube.com/watch?v=kZrPbgTWtHw
    [cli][info] Available streams: 144p (worst), 240p, 360p (best)
    [cli][info] Opening stream: 360p (hls)
    [cli][info] Starting player: "C:\Program Files\VideoLAN\VLC\vlc.exe"
    Cheers .
    Hi. Thanks but where can i find it? Google gives no result
    Quote Quote  
  14. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by LZAA View Post
    IDM.
    Doesnt work. Downloads a 5 sec video only
    Quote Quote  
  15. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by LZAA View Post
    youtube-dl + ffmpeg
    Doesnt work properly . Downloads 10 min in 1 hour.

    Thanks for the help anyway.
    Quote Quote  
  16. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by LZAA View Post
    Streamlink.
    Does Not work . Gives no playable streams error. Streamlink was the first thing i tried. Searched a lot on youtube on how to fix this but didnt work.
    Quote Quote  
  17. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    @aazerty Can you help me with Livecli please?
    Quote Quote  
  18. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by LZAA View Post
    VLC.
    Does Not work. Stuck on a single frame.
    Quote Quote  
  19. Originally Posted by sscomp32 View Post
    Originally Posted by LZAA View Post
    VLC.
    Does Not work. Stuck on a single frame.
    works on the newest vlc version. Did you upgrade?

    but i need to play youtube streams on the older vlc 2.2.8 version (because thats the last one where "set as desktop background" works).
    So is there a way of finding the url of a youtube stream, because if i give it the youtube link it's just stuck on a single frame ?
    Can wireshark find it?
    Quote Quote  
  20. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Thanks aazerty for telling me about livecli. Some google search and it worked.

    Also thanks to johnyb606 for the tip to upgrade vlc.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!