Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 06-20-2014, 10:54 PM
magichandz magichandz is offline
Junior Member
 
Join Date: Mar 2013
Posts: 21
magichandz is on a distinguished road
Default

Re: Download encrypted YouTube livestreams


hey guys i keep getting a "protocol not found" error.

trying to grab this - https://www.youtube.com/watch?v=L4n4O_mGBh0#t=1025

Code:
ffmpeg -i "https://manifest.googlevideo.com/api/manifest/hls_playlist/id/L4n4O_mGBh0.1/itag/94/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/L4n4O_mGBh0.1_94/hls_chunk_host/r17---sn-p5qlsn7l.googlevideo.com/playlist_type/DVR/maudio/1/gcr/us/pmbypass/yes/sver/3/fexp/900206,914005,916625,930008,934026,934027,934030,940700/upn/I3RlXIJCdeA/cpn/18XObf3Br-k9n8CG/ms/lv/mt/1403321402/mv/m/mws/yes/ip/---.---.--.---/ipbits/0/expire/1403344800/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,playlist_type,maudio,gcr,pmbypass/signature/77696AF295FE2E61B141EC7C0153E89A6D988D8E.74CC7304A4ABC0472800AB15DA3A5909FD014D90/key/dg_yt0/file/index.m3u8?start_seq=1" -c copy edc.ts
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  3 2014 06:51:16 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/L4n4O_mGBh0.1/itag/94/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/L4n4O_mGBh0.1_94/hls_chunk_host/r17---sn-p5qlsn7l.googlevideo.com/playlist_type/DVR/maudio/1/gcr/us/pmbypass/yes/sver/3/fexp/900206,914005,916625,930008,934026,934027,934030,940700/upn/I3RlXIJCdeA/cpn/18XObf3Br-k9n8CG/ms/lv/mt/1403321402/mv/m/mws/yes/ip/---.---.--.---/ipbits/0/expire/1403344800/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,playlist_type,maudio,gcr,pmbypass/signature/77696AF295FE2E61B141EC7C0153E89A6D988D8E.74CC7304A4ABC0472800AB15DA3A5909FD014D90/key/dg_yt0/file/index.m3u8?start_seq=1: Protocol not found
the only thing i could find is ffmpeg not being able to parse links with a comma but it says that's been fixed.
https://trac.ffmpeg.org/ticket/2303

plus there are examples of it parsing those kinds of links in this thread. not sure what the issue is.
Reply With Quote
  #12  
Old 06-21-2014, 02:03 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Download encrypted YouTube livestreams


try use youtube-dl
Code:
youtube-dl.exe "https://www.youtube.com/watch?v=L4n4O_mGBh0" -o "lol.ts"
Reply With Quote
  #13  
Old 06-21-2014, 02:07 AM
magichandz magichandz is offline
Junior Member
 
Join Date: Mar 2013
Posts: 21
magichandz is on a distinguished road
Default

Re: Download encrypted YouTube livestreams


it just reverts to using ffmpeg. i get the same error.

Code:
youtube-dl "https://www.youtube.com/watch?v=L4n4O_mGBh0" -o "lol.ts"
[youtube] Setting language
[youtube] L4n4O_mGBh0: Downloading webpage
[youtube] L4n4O_mGBh0: Downloading video info webpage
[youtube] L4n4O_mGBh0: Extracting video information
[youtube] L4n4O_mGBh0: Downloading formats manifest
[download] Destination: lol.ts
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  3 2014 06:51:16 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/L4n4O_mGBh0.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/L4n4O_mGBh0.1_96/hls_chunk_host/r17---sn-p5qlsn7s.googlevideo.com/pmbypass/yes/gcr/us/playlist_type/DVR/maudio/1/sver/3/fexp/902404,916611,919514,927618,927619,930008,934026,934030,936106,945532/upn/b6bqmaLWWf0/ms/lv/mt/1403334365/mv/m/mws/yes/ip/---.---.--.--/ipbits/0/expire/1403359200/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,pmbypass,gcr,playlist_type,maudio/signature/62A9E2BD80E66E90B876624AC666F23F119A1CC8.33F4B17D2A543E4B03B96F193AD4A3430752B2F2/key/dg_yt0/file/index.m3u8: Protocol not found
Conversion failed!


ERROR: ffmpeg exited with code 1
Reply With Quote
  #14  
Old 06-21-2014, 02:13 AM
magichandz magichandz is offline
Junior Member
 
Join Date: Mar 2013
Posts: 21
magichandz is on a distinguished road
Default

Re: Download encrypted YouTube livestreams


im using homebrew on mac to get the packages. it's like apt-get on linux. the windows version of youtube-dl must have some different code in it.
Reply With Quote
  #15  
Old 06-21-2014, 02:17 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Download encrypted YouTube livestreams


use old ffmpeg
example
Quote:
FFmpeg developers
built on Nov 26 2013
Code:
youtube-dl.exe "https://www.youtube.com/watch?v=L4n4O_mGBh0" -o
 "lol.ts"
[youtube] Setting language
[youtube] L4n4O_mGBh0: Downloading webpage
[youtube] L4n4O_mGBh0: Downloading video info webpage
[youtube] L4n4O_mGBh0: Extracting video information
[youtube] L4n4O_mGBh0: Downloading formats manifest
[download] Destination: lol.ts
ffmpeg version N-58485-ga12b4bd Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov 26 2013 22:01:46 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 55.100 / 52. 55.100
  libavcodec     55. 44.100 / 55. 44.100
  libavformat    55. 21.102 / 55. 21.102
  libavdevice    55.  5.101 / 55.  5.101
  libavfilter     3. 91.100 /  3. 91.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[tls @ 02913fa0] The TLS connection was non-properly terminated.
[tls @ 02913fa0] The specified session has been invalidated for some reason.
[hls,applehttp @ 0291eb20] Estimating duration from bitrate, this may be inaccur
ate
Input #0, hls,applehttp, from 'https://manifest.googlevideo.com/api/manifest/hls
_playlist/id/L4n4O_mGBh0.1/itag/96/source/yt_live_broadcast/requiressl/yes/rateb
ypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/L4n4O_mGBh0.1_96/hls_chunk_host/r
1---sn-a0jpm-a0me.googlevideo.com/gcr/lu/playlist_type/DVR/pmbypass/yes/maudio/1
/fexp/902408,930008,934026,934030/upn/TyXf1cuYHYo/sver/3/ms/lv/mt/1403334809/mv/
u/mws/yes/ip/212.117.160.220/ipbits/0/expire/1403359200/sparams/ip,ipbits,expire
,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,
gcr,playlist_type,pmbypass,maudio/signature/2D2521D1C3FE7FB1B3DEE0DD67D5B058C6DA
57BE.608ECF92D37A3EDCB6D08EB3B5106DD30666B36C/key/dg_yt0/file/index.m3u8':
  Duration: 00:01:05.11, start: 13585.004000, bitrate: 256 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080
 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 25
6 kb/s
Output #0, mp4, to 'lol.ts.part':
  Metadata:
    encoder         : Lavf55.21.102
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1
:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 90k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 256 kb/s

Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   80 fps=0.0 q=-1.0 size=    1015kB time=00:00:02.63 bitrate=3155.7kbits/
frame=  116 fps=0.0 q=-1.0 size=    1524kB time=00:00:03.83 bitrate=3252.5kbits/
frame=  139 fps= 93 q=-1.0 size=    2121kB time=00:00:04.60 bitrate=3774.0kbits/
[tls @ 033e1520] The TLS connection was non-properly terminated.
frame=  151 fps= 60 q=-1.0 size=    2438kB time=00:00:05.02 bitrate=3973.9kbits/
frame=  186 fps= 61 q=-1.0 size=    2931kB time=00:00:06.17 bitrate=3889.6kbits/
frame=  222 fps= 63 q=-1.0 size=    3526kB time=00:00:07.37 bitrate=3917.0kbits/
frame=  249 fps= 62 q=-1.0 size=    4112kB time=00:00:08.27 bitrate=4070.6kbits/
frame=  278 fps= 61 q=-1.0 size=    4644kB time=00:00:09.24 bitrate=4116.1kbits/
[tls @ 033e1520] The TLS connection was non-properly terminated.
[tls @ 04ad9a60] The TLS connection was non-properly terminated.
[tls @ 04ad9a60] The specified session has been invalidated for some reason.
frame=  300 fps= 35 q=-1.0 Lsize=    5129kB time=00:00:10.01 bitrate=4194.2kbits
/s
video:4810kB audio:313kB subtitle:0 global headers:0kB muxing overhead 0.126550%
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:25 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons