Restreaming a stream through command?

About encoding, codec settings, muxers and filter usage
blindf123
New Cone
New Cone
Posts: 1
Joined: 12 Jan 2019 00:54

Restreaming a stream through command?

Postby blindf123 » 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.

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests