chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 585 forks source link

RTMP output #1134

Open campones opened 8 years ago

campones commented 8 years ago

Hello,

Thanks for your great software. Something that surprise me is it handles very well rtmp input, but it doesn't seem possible to output to a rtmp server. Right now I m piping the data to stout and I am using ffmpeg to grab the data and send it to a remote rtmp server. It seems to me your software could do it all alone, or am I missing something?

Cheers

ghost commented 8 years ago

[...] but it doesn't seem possible to output to a rtmp server [...]

That's correct, but that's not something Livestreamer tries to accomplish.

Livestreamer is a command-line utility that pipes video streams from various services into a video player, such as VLC. The main purpose of Livestreamer is to allow the user to avoid buggy and CPU heavy flash plugins but still be able to enjoy various streamed content.

WolfganP commented 8 years ago

Not in RTMP, but you can re-stream with an http output with something like:

livestreamer "rtmp://31.220.2.148/redirect/ts1 swfUrl=http://p.jwpcdn.com/6/12/jwplayer.flash.swf pageUrl=http://yotv.co token=%Zrey(nKa@#Z" best --loglevel info --player-external-http --player-external-http-port 8080

And then use VLC or MPC-HC (or even some ITPV app in your smart TV) to view the stream anywhere in your network.

campones commented 7 years ago

@WolfganP ok I ll try this. thanks

@0880 yes, its' not the goal of the software but I feel, it wouldn't be a massive amount of work for the script being able to perform this. after all, it is already able to retrieve most kind of streaming in the input, why it wouldn't be able to output on the same format?