Black screen when trying to stream from twitch
Posted: 26 Jan 2019 08:36
Hi,
There is a similar post: https://forum.videolan.org/viewtopic.ph ... ed#p483870 however I believe my issue is different and don't want to mix help in the same thread.
I have been using a library, Vlc.DotNet a libVLC wrapper for windows forms, where I get a black screen when trying to play streams from twitch.tv. I get the following debug log when running the program:
(x86) https://pastebin.com/raw/nd5S3yYD.
(x64) https://pastebin.com/5deE2s1t
I discussed this with the Vlc.DotNet creator at https://github.com/ZeBobo5/Vlc.DotNet/issues/509 but it was decided the issue is with libVLC.
The weird behaviour is that the screen is blank, but the memory keeps increasing until all the computers memory is reserved and in some cases an OutOfMemoryException is thrown after a few minutes of running it.
There is a work around, where you use https://github.com/streamlink/streamlink, converting the twitch.tv link to a vlc player friendly link (.m3u8), however that doesn't feel like a plausible solution, since if you paste the twitch.tv link direct in vlc it works out of the box.
I have tried libVLC 3.0.0, 3.0.4, 3.0.5 and 3.0.6.
Any suggestion on how to solve it?
There is a similar post: https://forum.videolan.org/viewtopic.ph ... ed#p483870 however I believe my issue is different and don't want to mix help in the same thread.
I have been using a library, Vlc.DotNet a libVLC wrapper for windows forms, where I get a black screen when trying to play streams from twitch.tv. I get the following debug log when running the program:
(x86) https://pastebin.com/raw/nd5S3yYD.
(x64) https://pastebin.com/5deE2s1t
I discussed this with the Vlc.DotNet creator at https://github.com/ZeBobo5/Vlc.DotNet/issues/509 but it was decided the issue is with libVLC.
The weird behaviour is that the screen is blank, but the memory keeps increasing until all the computers memory is reserved and in some cases an OutOfMemoryException is thrown after a few minutes of running it.
There is a work around, where you use https://github.com/streamlink/streamlink, converting the twitch.tv link to a vlc player friendly link (.m3u8), however that doesn't feel like a plausible solution, since if you paste the twitch.tv link direct in vlc it works out of the box.
I have tried libVLC 3.0.0, 3.0.4, 3.0.5 and 3.0.6.
Any suggestion on how to solve it?