Restreaming a stream through command?
Posted: 12 Jan 2019 01:06
So I've got VLC restreaming a stream to my local network so I can access it by http://localhost:8080/ (actually, could I give it a name if I want to do like 2 or 3 of them? turk.m3u8 or whatever the extension has to be?), but I'd like to be able to do this through command.
Media > Stream > Network tab, I input : https://www.youtube.com/watch?v=tLyTZYqvD_4, then I select HTTP and leave it default to 8080 and / in Destination Setup > Transcoding Options: Video - H.264 + MP3 (TS)(<---kind of by luck I got it actually streaming when I found another Youtube showing the setup and they picked this (TS) option). So how do I do this through command so I can turn it into a .bat file?
I was trying to do this through ffmpeg but I couldn't figure out how to play the first m3u8 it was generating with it's 5 .ts files (VLC wouldn't play it) the I made it go directly to .ts and I could play and access that but I could see it was basically recording, if I opened it it would play from the beginning or I could skip ahead of the ever growing .ts file.
Media > Stream > Network tab, I input : https://www.youtube.com/watch?v=tLyTZYqvD_4, then I select HTTP and leave it default to 8080 and / in Destination Setup > Transcoding Options: Video - H.264 + MP3 (TS)(<---kind of by luck I got it actually streaming when I found another Youtube showing the setup and they picked this (TS) option). So how do I do this through command so I can turn it into a .bat file?
I was trying to do this through ffmpeg but I couldn't figure out how to play the first m3u8 it was generating with it's 5 .ts files (VLC wouldn't play it) the I made it go directly to .ts and I could play and access that but I could see it was basically recording, if I opened it it would play from the beginning or I could skip ahead of the ever growing .ts file.