Re: How to dump youtube live TV stream to file using commandline?@Elgero
that's your decision, but real shame my friend who is the author of youtube-dl? |
Re: How to dump youtube live TV stream to file using commandline?Quote:
Great work keep it up. http://forum.wiziwig.eu/threads/8147...e-Live-Streams |
Re: How to dump youtube live TV stream to file using commandline?hello all
thanks so much for the rip program however trying to rip this http://www.youtube.com/watch?v=A0H7-eZm4Mg&pxtry=1 to no succes... C:\>youtubedl -l -u http://www.youtube.com/watch?v=A0H7-eZm4Mg&pxtry=1 Available formats for this stream: 'pxtry' blev ikke genkendt som en intern eller ekstern kommando, et program eller en batchfil. in danish... saying pxtry was not recognized as an internal or external command, program or batchfile... can somebody explain ...? thanks :) |
Re: How to dump youtube live TV stream to file using commandline?Quote:
Code:
ffmpeg -i "http://www.youtube.com/api/manifest/hls_playlist/id/A0H7-eZm4Mg.1/itag/93/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/newshard/yes/playlist_type/LIVE/cp/U0hVSFRLU19FUENONV9MRVdCOnN3MkNVSkZtaTJX/maudio/1/pmbypass/yes/sver/3/fexp/912806,902000,919512,929901,913605,906938,931202,931401,908529,930803,920201,929602,930101,930603,900824/upn/B1D7NPMwzLo/cpn/3j6T84km9gzfdL_V/ip/188.230.10.206/ipbits/8/expire/1363405106/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypass,newshard,playlist_type,cp,maudio,pmbypass/signature/4516D925E719FDAECAD772CF28B1DB7698C4E6C1.47CAFC076F0D04E5E5AE278DECC6D80E58AAE980/key/dg_yt0/file/index.m3u8" -c copy out.ts |
Re: How to dump youtube live TV stream to file using commandline?Quote:
Code:
http://www.youtube.com/watch?v=A0H7-eZm4Mg Code:
http://www.youtube.com/watch?v=A0H7-eZm4Mg^&pxtry=1 The tool was written in a very short time and doesn't support every live video on YouTube, so even after removing "&pxtry=1" or escaping the ampersand it won't work unfortunately. |
Re: How to dump youtube live TV stream to file using commandline?ok... thank you for using the time to reply...
i can confirm it wont work... trying to go down the ffmpeg way... though starting from scratch from a new virtuel linux install so... dont know how this is gonna end .... and i really want to get started recording.... will tell you how this ends.. :) |
Re: How to dump youtube live TV stream to file using commandline?i tried this
http://ffmpeg.zeranoe.com/builds/ and the command from tubedigger same problem with &pxtry and this http://www.youtube.com/watch?v=A0H7-eZm4Mg: Invalid data found when processing input |
Re: How to dump youtube live TV stream to file using commandline?Quote:
|
Re: How to dump youtube live TV stream to file using commandline?i just discovered a bigger problem with this stream
http://www.youtube.com/watch?v=A0H7-eZm4Mg&hd=1 the ffmpeg method only captures the video but no audio. not sure why. EDIT: looks like i was using the wrong m3u8 file. i used the one from the page source not the network monitor. |
Re: How to dump youtube live TV stream to file using commandline?try
Code:
ffmpeg -i "bla,bla,bla" -c copy -absf aac_adtstoasc t.mp4 |
Re: How to dump youtube live TV stream to file using commandline?this seems to be a nice Tool. Due to law restrictions in Germany I have to use a proxy for Live Broadcasts. This Proxy uses authentication with username/pw. Using this toll throws "Error downloading webpage: 407 - Proxy Authentication Required". I haven't found any possible way to authenticate in cmd
|
Re: How to dump youtube live TV stream to file using commandline?occasionally i get this message using ffmpeg
"skipping 11 segments ahead, expired from playlists" do anyone know how to get the right m3u8 file so i get all segments in the final video? |
Re: How to dump youtube live TV stream to file using commandline?Quote:
|
Re: How to dump youtube live TV stream to file using commandline?Quote:
|
Re: How to dump youtube live TV stream to file using commandline?Quote:
Quote:
Quote:
|
Re: How to dump youtube live TV stream to file using commandline?Hi Elgero,
I just ran into your tool few hours ago and found it very useful. May I ask you to add one option - your current release exits right away if the live stream is not yet active. Is it possible to add something like 'wait until program starts' command line option, preferably with interval? e.g. "c:\>youtubedl -w 60 -u http://blah.", which means, try to download a program from blah, if the program is not active, wait 60 seconds and retry. I need this option because I don't want to get stuck in front of my PC to start recording. How's this sound like? BR doitamd Quote:
|
Re: How to dump youtube live TV stream to file using commandline?Quote:
|
Re: How to dump youtube live TV stream to file using commandline?I'm surprised nobody has mentioned the youtube-dl CLI tool. I personally use it on Ubuntu Linux but it also is supported by Windows and OSX, here is a link to their site: http://rg3.github.io/youtube-dl/
Its insanely simply to use, here is a usage example: In this example, I will use this YouTube video: http://www.youtube.com/watch?v=bV9L5Ht9LgY Note: For me this downloaded the video's 1080p resolution with h.264/aac codecs (iTag 37 which Ill explain later). The filename of the video was that of the URL's video, simply bV9L5Ht9LgY.mp4 if you want to download the video with the video's title as the file name simply use this command: The filename that was downloaded was: Download_Youtube_Playlist_with_Youtube-dl.mp4 If you want to specify the resolution or codec type for the video you can easily do so by using the iTag value that YouTube uses. To view a list of the video's iTag values (without downloading the video) use the -F flag in the command: The result will look as such: Code:
[youtube] Setting language If your curious, all of YouTube's iTag values are listed here: http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs Lastly, this awesome tool is not limited to just YouTube. It also works on a list of other sites like Vimeo, DailyMotion, DepositFiles, CollegeHumor, etc etc. A list of all sites this works with is available here: http://rg3.github.io/youtube-dl/documentation.html#d4 |
Re: How to dump youtube live TV stream to file using commandline?trying to download live stream
http://www.youtube.com/watch?v=Bht5_9sUg3k&hd=1 seems youtube has changed the url format. ffmpeg method not working like before. getting a 403 error. Code:
ffmpeg -i "http://www.youtube.com/api/manifest/hls_playlist/id/Bht5_9sUg3k.1/itag/95/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/newshard/yes/hls_chunk_host/www.youtube.com/gir/yes/dg_shard/Bht5_9sUg3k.1_95/cp/U0hXRVNQT19NSkNON19LSlNEOk9MNkh6Z0xWUDZz/pmbypass/yes/playlist_type/DVR/maudio/1/upn/AtW_LbeiVCA/sver/3/fexp/926400,906946,932242,916807,916625,929305,924606,916914,929117,929121,929906,929907,929922,929923,929127,929129,929131,929930,936403,925724,925726,936310,925720,925722,925718,936401,925714,929917,929933,929935,929937,929939,939602,939604,937102,906842,913428,912715,919811,932309,913563,919373,930803,908536,908538,938701,931924,940501,936308,909549,900816,912711,934507,907231,936312,906001/cpn/RKjJU5hq-RpziBMV/ip/174.109.39.220/ipbits/8/expire/1380351380/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypass,newshard,hls_chunk_host,gir,dg_shard,cp,pmbypass,playlist_type,maudio/signature/18FFB16ACCD670DD64CC90D58AEFC0EB61CD5750.1E71A2A68A0EE0A09E64B21F2522D00860DCC20B/key/dg_yt0/file/index.m3u8?start_seq=967" -c copy stream3.ts |
Re: How to dump youtube live TV stream to file using commandline? |
Re: How to dump youtube live TV stream to file using commandline?Thanks
|
Re: How to dump youtube live TV stream to file using commandline?Quote:
http://www.youtube.com/watch?v=8sdLAHzZVMc&hd=1 tried using chrome network monitor to get m3u8 and get this Code:
$ ffmpeg -i "http://www.youtube.com/api/manifest/hls_playlist/id/8sdLAHzZVMc.1/itag/95/source/yt_liyes/live/1/cmbypass/yes/newshard/yes/hls_chunk_host/www.youtube.com/gir/yes/dg_shard/8sdLAHzZVMc.1_95/playlist_type/DVR/cp/U0hXRVVPVV9LU0NON19NSVlGOkVCdE1XU0VHT0hK/pmbypass/yes/maudio/1/fexp/901482,938610,900376,916611,929305,939104,924606,916914,929117,929121,929906,929907,929922,929923,929127,929129,929131,929930,936403,925724,925726,936310,925720,925722,925718,936401,925714,929917,906945,929933,929935,929937,929939,939602,939604,937102,906842,913428,920605,912715,919811,932309,913563,919373,930803,908536,938701,931924,940501,936308,909549,935006,900816,912711,900378,934507,907231,936312,906001/upn/NrvSS41mV1o/sver/3/cpn/88jOG8SdQIl5HPFH/ip/{my-ip}/ipbits/8/expire/1380547569/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypass,newshard,hls_chunk_host,gir,dg_shard,playlist_type,cp,pmbypass,maudio/signature/3B48DEFBA1CB95A7DEE2E1FB81A60AB9CB642012.8A6432A4E596019E09AA24BF7D74CBA1EDBD3E25/key/dg_yt0/file/index.m3u8?start_seq=5384" -c copy stream.ts |
Re: How to dump youtube live TV stream to file using commandline? |
Re: How to dump youtube live TV stream to file using commandline?Quote:
i updated mine via mac ports. not sure which version it gave me. probably the latest stable release 2.0.1. might have to try N-56704-g3e0c78b http://www.youtube.com/watch?v=NUhD8EJApAs Code:
ffmpeg -i "http://www.youtube.com/api/manifest/hls_playlist/id/NUhD8EJApAs.1/itag/95/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/newshard/yes/hls_chunk_host/www.youtube.com/gir/yes/dg_shard/NUhD8EJApAs.1_95/maudio/1/playlist_type/DVR/pmbypass/yes/cp/U0hXRlFMTl9JS0NON19JRlJHOjJJMWtINjJmcXVC/sver/3/upn/36S79ghugfs/fexp/926404,919813,910207,923500,924606,924616,916914,929117,929121,929906,929907,929922,929923,929127,929129,929131,929930,936403,925724,925726,936310,925720,925722,925718,936401,925714,929917,906945,929933,929935,929937,929939,939602,939604,912909,937102,906842,913428,920605,912715,919811,939908,935704,932309,913563,919373,930803,908538,932211,934003,934004,931924,938608,940501,936308,939201,900816,912711,916304,900391,934507,907231,936312,906001/cpn/tDrvnVYNynJg2eWd/ip/{my-ip}/ipbits/8/expire/1381110641/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypass,newshard,hls_chunk_host,gir,dg_shard,maudio,playlist_type,pmbypass,cp/signature/7A1ABD0771F989C664A07354F48EAD17F17AF8DF.792C1864CCB5BDFBD85DE96833D09B12EAB0122C/key/dg_yt0/file/index.m3u8" -c copy out.ts |
Re: How to dump youtube live TV stream to file using commandline?i'm recording again this year.
http://www.youtube.com/watch?v=MF0UNmHzu5Y&hd=1 after about an hour the stream disconnects. anyone have any ideas why? i restart it with the same m3u8 file and it starts downloading again. since it does that i don't think the m3u8 is the problem. i get it straight out of the page source not using developer tools or firebug. is there some script i could write to tell ffmpeg to execute the command again if the stream disconnects? Quote:
|
Re: How to dump youtube live TV stream to file using commandline?Got a short question. Am using this command to dump livestreams, e.g. https://www.youtube.com/watch?v=L4n4O_mGBh0
Code:
ffmpeg -i “http://streamlocation.m3u8″ -c copy c:\FileName.ts Best Sebastian |
Re: How to dump youtube live TV stream to file using commandline?Hmm, there should be some "start with segment #0" switch or something like that in ffmpeg, but I can't find it...
|
All times are GMT -6. The time now is 07:04 AM. |