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 583 forks source link

please add support for http://www.muenchen.tv/livestream/ (RTMP feed) #493

Open jpfl opened 10 years ago

jpfl commented 10 years ago

Hello, Octoberfest is starting in a few weeks and this station has great daily coverage of happenings with a 2-3 hour live show daily which gets repeated all day until the next live show starts. currently there is the normal program on. it's a local city station of munich. it would be fantastic and much easier to watch (or record) if livestreamer can recognize and support this url/station.

http://www.muenchen.tv/livestream/

Cheers,

JP

heyheymymy commented 10 years ago

Streams are accesible by direct links. so you can just enter the url to VLC and it will play. first one is 1024kbps and second 512kbps

rtmp://muenchentv.iptv-playoutcenter.de:1935/muenchentv/muenchentv.stream_1 rtmp://muenchentv.iptv-playoutcenter.de:1935/muenchentv/muenchentv.stream_2

jpfl commented 10 years ago

I want to be able to save those feeds though to my HDD with livestreamer using the -o option to watch later on demand and keep them in my media archive if they were good programs. How can I do that with livestreamer?

heyheymymy commented 10 years ago

You don't need livestreamer for these rtmp feeds because they are unprotected. Simply use VLC's capture option to save streams into your HDD. Google it.

jpfl commented 9 years ago

VLC does save them reliable for me. often audio/video not in sync, missing frames/segments or and a few odd lines on the top or bottom of the saved video. livestreamer would be so much nicer to use than rtmpdump/helper to rip this stream.

chrippa commented 9 years ago

This is how you download a RTMP stream via Livestreamer:

livestreamer -o file.flv rtmp://muenchentv.iptv-playoutcenter.de:1935/muenchentv/muenchentv.stream_1 best

It's exactly the same as using rtmpdump directly though.

jpfl commented 9 years ago

it would be great if LS could support the m3u8 url of this stream. much better usually to handle .ts files vs FLV files on a PC for playing or editing.

this shows when using an Apple device user agent: http://muenchentv.iptv-playoutcenter.de:1935/muenchentv/muenchentv.stream_1/playlist.m3u8

Cheers

chrippa commented 9 years ago

Playing HLS URLs is already supported, e.g. livestreamer hlsvariant://http://muenchentv.iptv-playoutcenter.de:1935/muenchentv/muenchentv.stream_1/playlist.m3u8.