[FFmpeg-user] youtube live stream

Moritz Barsnick barsnick at gmx.net
Wed Sep 30 17:24:07 CEST 2015

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
from other machines in the network, assuming routing, firewalls and so
on are okay. I used MPEG-TS for streaming, YMMV.


More information about the ffmpeg-user mailing list