Open elmoadam opened 10 years ago
Does this happen on every channel? Also, are you using any extra codec packs or just vanilla MPC-HC?
Yes this happens on every channel I believe and yes I'm using the vanilla release.
Could it be what was solved by this? https://github.com/chrippa/livestreamer/commit/1816c69de0224e6a1d0a8688e6008f9aaea49d15
For some reason I just assumed you were using a Twitch channel, but are you perhaps trying to use UStream channels? If so, please try the latest git version, there have been many improvements to this troublesome streaming platform since 1.7.5.
Yes I use Twitch
Same problem here. Could be related to a codec change on twitch.tv for 'source' quality setting maybe. Can be right now tested with 'livestreamer twitch.tv/riotgames source'. Audio codec gets played, but shows no video input. Livestreamer version is 1.75, MPC-HC version is 1.7.3.94.
Kobura, did you try the latest git version that chrippa linked? 1.7.5-87.
Just tested it. No changes so far. Guess as chrippa mentioned, that release had mostly UStream changes, so no major impact on twitch.tv.
It looks like these streams are doing some non-standard muxing which is causing players to freak out. ffmpeg based players such as VLC or mpv is able to play the streams though, after printing some errors.
Also streams just randomly close for no reason. The MPC-HC window just closes like that at some point
Looks like it's working fine for me. Could you guys try latest nightly version? http://nightly.mpc-hc.org/
It might happen that splitter detect only audio or video track if not enough data is received during analyze. But it's vary rare and simple reloading should fix this.
If you help me reproduce the issue I will try to fix it :)
I already am also testing on the latest nightlies. Try the RiotGames one i linked above when it's up. Not all streams have the problems we mentioned when on 'source' quality.
I tried many channels with "source" quality. And it was fine every single one, I will try the channel that you linked when it's up.
I just experienced the same issue. I tried loading a handful of DotA 2 streams from twitch.tv and I could get audio but not video.
Using CCCP with MPC-HC v1.7.3.91 and Livestreamer v1.7.5
I used "livestreamer.exe twitch.tv/beyondthesummit2 source --player-passthrough rtmp,hls" and it plays fine now. But not by default. And other qualities work just fine it is only the Source quality having this issue.
Wow, thanks ZerofeniX, that one works for /riotgames, too :)
Ok I managed to reproduce. It's indeed badly muxed stream.
To fix this problem go to options -> internal filters -> open splitter settings and increase "Stream Analysis Duration" this will let ffmpeg to properly detect all streams.
--player-passthrough hls
is ok, we support HLS quite nicelly in MPC-HC :)
I upped mine to 2sec and it worked once, upped it again to 3sec and it seems to be consistently working now. When you say badly muxed is that on twitch's end?
Sadly even on 5 seconds it's only a ~20% chance that the stream will show up, while it's over 50% with the parameters mentioned above. Guess i'll be sticking to this option then for problematic streams.
I too started to encounter this problem. Gotta relaunch livestreamer several times in order for video to show up. Also, this behaviour started after updating MPC-HC to 1.7.6 version.
MPC-HC doesn't seem to make use of the "Stream Analysis Duration" option when reading from stdin, which explains why using the player-passthrough option fixes the problem. You can reproduce by setting Stream Analysis Duration to a noticeably long time such as 10 seconds - the player will open immediately anyway.
UPDATE : this just started to happen again, I'm running the latest version of Livestreamer
--player-passthrough hls
just works for like 10s here, then the downstream just stops and I have to restart. Had to install vlc now ...
Using most recent CCCP (with MPC-HC 1.7.6 (mpc-hc/mpc-hc@ebc29cf)) and livestreamer-script.py 1.10.2, stream: twitch.tv/nightblue3 source
--player-passthrough hls just works for like 10s here, then the downstream just stops and I have to restart.
I'm watching twitch stream atm and works without any problem, make sure that internal filters are used in play->filters menu and don't use reclock and alike which doesn't work for live content.
Am I doing this correct?
Every other quality works except the "best" one which is essentially the source quality. I am using the latest release of MPC-HC.