linuxmint / hypnotix

An M3U IPTV Player
1.26k stars 169 forks source link

App crash when starting italian channel "Rai 4K" #190

Open sbadux opened 2 years ago

sbadux commented 2 years ago

Hello, the app crashes when I start the italian channel Rai 4K.

I've tried to launch Hypnotix from the command line, but it crashed without showing any error. I'm glad to post here all the informations needed if you tell me how to debug the problem (There is no --help option or "man" pages).

The command line shows only

Loading providers...
Free-TV: Getting playlist...
Free-TV: Checking playlist...
Free-TV: Loading channels...
CHANNEL: 'Rai 4K Ⓖ' (https://raievent10-live.akamaized.net/hls/live/619189/raievent10/raievent10/playlist.m3u8)

P.S. I'm using Hypnotix 2.0 on Mint 20.2

Axel-Erfurt commented 2 years ago

Does it only happen if you use 4K channels? That needs more memory.

sbadux commented 2 years ago

Hello, I've tried to remove the "hwdec=auto-safe" MPV option and it doesn't crash anymore.

My CPU is a fanless Intel N5000 which needs the HW acceleration otherwise it struggles to play a common FullHD video. I thought it was an issue with my low-performance CPU but it seems some kind of low performance due to the embedded window. :thinking:

MPV can reproduce that m3u stream with no problems at all. I've tried to run in the terminal: mpv --hwdec=auto-safe https://raievent10-live.akamaized.net/hls/live/619189/raievent10/raievent10/playlist.m3u and mpv https://raievent10-live.akamaized.net/hls/live/619189/raievent10/raievent10/playlist.m3u and both worked fine. The performance are hugely better than playing the same stream in Hyptnotix.

So I've tried my custom-version with the detachable window (#193), which turned out to be useful in this case, and it works fine! Maybe it's a problem with the rescaling of the stream to fit mpv in the drawing area? I've tried to put Hypnotix in fullscreen but it didn't helped.

Axel-Erfurt commented 2 years ago

You can also take a test with iptvnator It uses a completely different method of playing the streams. Webview and hls.js

It loads a lot of streams for me much faster and has a pip option. You can also use fullscreen there with the mouse.

sbadux commented 2 years ago

I'm unlucky because iptvnator says "Playback cannot continue. No available working or supported playlists". It loads all the channels correctly and plays the other channels, but Rai 4K channel doesn't work. It still works fine on MPV.

Anyway I don't need to watch this channel particular, I'm just trying to understand why hypnotix crashes. If it's geo-blocked I suppose I have to check with another italian user.

Brenders commented 2 years ago

@sbadux I have tried the channel on my pc that does not support 4k due to age limits of the pc and hypnotix does not crash at most the pc goes to 100% cpu and you see everything lagging but hypnotix does not crash.