[FFmpeg-user] youtube live stream

Eng.Hany Ahmed micro-me at hotmail.com
Wed Sep 30 19:34:58 CEST 2015


thank you for replay this is good step but i try with this link "   youtube-dl -g https://www.youtube.com/watch?v=ZqIfRKiZ6o4 "
and i try the command but it's give me 




https://manifest.googlevideo.com/api/manifest/hls_playlist/id/ZqIfRKiZ6o4.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/WnFJZlJLaVo2bzQuMQ.95/hls_chunk_host/r2---sn-4g57knld.googlevideo.com/gcr/de/pmbypass/yes/playlist_type/DVR/mm/32/mn/sn-4g57knld/ms/lv/mv/u/nh/IgpwcjAxLmZyYTE1KgkxMjcuMC4wLjE/pl/42/dover/3/upn/p51yOZ73DxA/fexp/9408710,9409069,9415365,9415485,9416023,9416126,9417707,9418153,9418448,9420348,9421013/sver/3/mt/1443633903/ip/2a01:4f8:130:830c::2/ipbits/0/expire/1443655936/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,gcr,pmbypass,playlist_type,mm,mn,ms,mv,nh,pl/signature/526809DAD2612C11C8ED08BB64B2DCF0FD3FBFAA.1FD82ED909710683286B2DA8717164B26CB7CFFD/key/dg_yt0/playlist/index.m3u8: Protocol not found

even i try ffprobe i get same problem 




> Date: Wed, 30 Sep 2015 17:24:07 +0200
> From: barsnick at gmx.net
> To: ffmpeg-user at ffmpeg.org
> Subject: Re: [FFmpeg-user] youtube live stream
> 
> On Wed, Sep 30, 2015 at 14:48:38 +0000, Eng.Hany Ahmed wrote:
> > anyone know how i can re stream youtube live stream to my network ? 
> 
> This _seems_ to work for me:
> 
> # grab YouTube live stream URL using youtube-dl
> $ youtube-dl -g <YouTube live stream URL>
> $ ffmpeg -i 'https://manifest.googlevideo.com/api/manifest/hls_playlist/[...]/index.m3u8' -c copy -listen 1 -f mpegts http://hostname_of_this_machine:8888
> 
> Insert the determined HLS URL and the correct hostname of your machine.
> You can now access
> http://hostname_of_this_machine:8888
> from other machines in the network, assuming routing, firewalls and so
> on are okay. I used MPEG-TS for streaming, YMMV.
> 
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
 		 	   		  


More information about the ffmpeg-user mailing list