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

MX Player plugin request. #675

Open Ordval opened 9 years ago

Ordval commented 9 years ago

Would it be possible to make a plug-in for MX Player streams (?), now they may open but freezes immediately.

[http://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/manifest(format=m3u8-aapl).m3u8]

chrippa commented 9 years ago

Works fine here.

Ordval commented 9 years ago

So how did your link/ path look ?

chrippa commented 9 years ago

So how did your link/ path look ?

Nothing special, just added hls:// infront of the URL you posted. You may want to try another player, it worked fine with mpv for me at least.

Ordval commented 9 years ago

VLC is such a default player for me so I’m not even thinking in terms of other players. Tried: MPV (both) ->(Failed to start player [Process exited prematurely] ), PotPlayer but worked only once, RealPlayer Cloud, Simple Player, QuickTime, fhe latest free WinAmp, WMP.

I will put up an Issue on the VLC Forum.

Ordval commented 9 years ago

[stream.hls][error] Failed to open segment 61856: Unable to open URL: http://ltl ive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=1 00471800000000,format=m3u8-aapl).ts (404 Client Error: Not Found) [stream.hls][error] Failed to open segment 61856: Unable to open URL: http://ltl ive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=1 00471800000000,format=m3u8-aapl).ts (404 Client Error: Not Found) [stream.hls][error] Failed to open segment 61856: Unable to open URL: http://ltl ive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=1 00471800000000,format=m3u8-aapl).ts (404 Client Error: Not Found)

ghost commented 9 years ago

Seems to be an issue with VLC. I have tested it with two different media players: MPC-HC and VLC. First I tried to play the stream directly with both media players. No problems so far with MPC-HC, but with VLC the video freezes immediately. VLC output log shows:

core warning: early picture skipped
core debug: discarded audio buffer

Same happens when I try to watch the stream with Livestreamer and VLC. Video freezes immediately and Livestreamer shows some error messages:

[stream.hls][error] Failed to open segment 54660: Unable to open URL: http://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=63374000000000,format=m3u8-aapl).ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 54660: Unable to open URL: http://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=63374000000000,format=m3u8-aapl).ts (404 Client Error: Not Found)
[stream.hls][error] Failed to open segment 54660: Unable to open URL: http://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/Fragments(Video=63374000000000,format=m3u8-aapl).ts (404 Client Error: Not Found)

While working fine with file output option...

livestreamer "hls://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/manifest(format=m3u8-aapl).m3u8" best -o 01.ts
[cli][info] Found matching plugin stream for URL hls://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/manifest(format=m3u8-aapl).m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[download][01.ts] Written 48.7 MB (4m20s @ 185.6 KB/s)

...or MPC-HC.

livestreamer "hls://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/manifest(format=m3u8-aapl).m3u8" best -p "C:\Program Files\Video\MPC-HC\mpc-hc.exe"
[cli][info] Found matching plugin stream for URL hls://ltlive01.cloudapp.net/LT_CH_5miu4ca67.isml/QualityLevels(1264000)/manifest(format=m3u8-aapl).m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][info] Starting player: C:\Program Files\Video\MPC-HC\mpc-hc.exe
Ordval commented 9 years ago

I’ll get back to this one. Should I want to keep VLC as the default, is it just to specify [C:\Program Files\Video\MPC-HC\mpc-hc.exe] after “best” ?

ghost commented 9 years ago

You can use VLC as default player and specify another player (e.g. MPC-HC) by using the -p option.

Ordval commented 9 years ago

Yes it really does play with MPC, but do you have any tip on how to use it with a VGA monitor ?

I’ve seen that there are some image controls under Options -> Miscellaneous but it’s not enough. Perhaps downloading a mpeg2 but which one/-s ? It’s lighter to download just the needed ones than a whole K-lite pack.

I’ve searched earlier on how to adjust VGA -monitors but come to no conclusion.