The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

GUI becomes slow/unresponsive after opening some files
#1
I have been happily using an old 2018 version of Hybrid.. But recently I was forced to upgrade and moved to 2020.01.23.1...

I regularly encounter a problem where certainly fails take ages to load.. and when they do the GUI is frozen (And windows reports Not Responding).. If I leave it for 1-5 mins, the GUI responds again, but every time I do ANYTHING it freezes again (For 1-5 mins).

Once this has happened, Hybrid stays in this state, even if I open a "Good" file..

If I exit Hybrid and start again, its fine, until i open one of these "bad" files...

This behavior is constantly reproducible and I now have a few movies which I know trigger the behavor.

All I notice is that my Hybrid is using 25% (1 core?) of CPU, but since Hybrid doesn't give any kind of error, I am not sure what logs I can provide.


Are you interested in looking at this? Do you have a place that I can upload a movie to you?

Jon
Reply
#2
I can look into it, but before uploading a movie, best create a debug output level 9 or the loading of such a source.
Hybrid is a simple gui, it itself should never need much cpu usage, my guess is that mediainfo/mkvmerge or something is runnning and causing the cpu usage.


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
(18.02.2020, 16:50)Selur Wrote: I can look into it, but before uploading a movie, best create a debug output level 9 or the loading of such a source.
Hybrid is a simple gui, it itself should never need much cpu usage, my guess is that mediainfo/mkvmerge or something is runnning and causing the cpu usage.


Cu Selur

OK.. will do it tonight.. Its easy to reproduce.. I have 3 movies which are doing this so far.. Oddly.. Even after I have re-encoded them (ie changed the container, the bit rate, the resolution and the audio streams) they still do it... I would have assumed that after re-encoding them they would be different files and Hybrid would act differently.. But they still cause the problem and I can't explain that.
Reply
#4
Quote:But they still cause the problem and I can't explain that.
Neither can I without a debug output or a way to reproduce the issue. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
(18.02.2020, 17:28)Selur Wrote:
Quote:But they still cause the problem and I can't explain that.
Neither can I without a debug output or a way to reproduce the issue. Smile

One thing I am wondering is whether HD or Network performance could cause this... When I moved to the 2020 version, I installed it on my D drive, which is standard SATA, rather that my SSD.

The files live on my NAS which has GB Ethernet... I can't see how this is an issue as 99% of files open fine.

But the reason I ask is that when I opened one of the 'bad' files I saw "MKVEXTRACT" running and it seemed to take an age to complete.. I also saw at the top that it was writing to a directory that didn't exist..

So it just got me thinking about whether a 'temp' file is created when the file is first analysed and perhaps there is some swapping between my C, D and NAS drive.. But then again, if this was the case, why would I not see it on the 99% of other files that I have no issue with?

Jon
Reply
#6
Analysis over network can take ages, especially when mvinfo is used to extract time codes.
Hybrid let's you choose where the temp-folder it uses is present,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
(18.02.2020, 18:10)Selur Wrote: Analysis over network can take ages, especially when mvinfo is used to extract time codes.
Hybrid let's you choose where the temp-folder it uses is present,...

Interesting... Having Analysis take a while is not really a problem.. But the issue I am having is that once I hit ones of these 'bad' files, Hybrid then goes slow and takes minutes to respond to each button press and I have never seen that before I upgraded (or Moved the install to my D drive).

So let me capture a debug later and I will then play with the temp settings to see if I can change the behavour.

Jon
Reply
#8
Attached is my first Level 9 debug.. This exhibits the issue perfectly.. After I opened the "bad" file Hybrid froze for 1-10 mins every time I did anything.. And taskmanger showed it was using 25% of the CPU.

NB.. The file is actually a RAR but renamed to ZIP.. Your site won't allow RAR files, and the ZIP was 21M, where as the limit was 20Mb.. So the only way around this was to rename the file.

The next example has the same behavour but the delays are much lower (1-2 mins)..

This one is interesting.. The original file highlighted the problem to me, but I re-encoded the video and audio. But the new file does the same thing, even though its completely different from the original... This debug was taken from the re-encoded file.

And finally a 3rd test.. Very similar to test 2 in that the original file did this, as did the resulting file that i re-encoded the audio/video at lower bitrates
Reply
#9
Looking at the debug outputs,...

It's not the time code extraction, it's the mplayer analysis.

For test1:
Hybrid looking for video IDs:
2020.02.19 - 10:08:14_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: MPlayer AudioAnalyser calling: "D:\BIG APPS\Hybrid\64bit\mplayer.exe" -v -msglevel identify=6 -nolirc -frames 0 -novideo -vo null -ao null "Y:\New\TGDPC8~2\TGDPC8~2.MP4"
outputs tons of data (lots of time codes) and takes 6 seconds.
Similar call, looking at audio id 0 with:
2020.02.19 - 10:08:22_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: 'MPlayer AudioAnalyser' is using: "D:\BIG APPS\Hybrid\64bit\mplayer.exe" -v -msglevel identify=6 -nolirc -aid 0 -frames 0 -novideo -vo null -ao null "Y:\New\TGDPC8~2\TGDPC8~2.MP4"
takes 40 seconds!

2020.02.19 - 10:09:00_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: Timecode extraction call(mp4fpsmod): '"D:\BIG APPS\Hybrid\32bit\mp4fpsmod.exe" -p "Y:\New\The Da Vinci Code Extended Cut - Mystery 2006 Eng Ita Multi-Subs 1080p [H264-mp4]\The Da Vinci Code Extended Cut - Mystery 2006 Eng Ita Multi-Subs 1080p [H264-mp4]_timecodes_v2.txt" "Y:\New\The Da Vinci Code Extended Cut - Mystery 2006 Eng Ita Multi-Subs 1080p [H264-mp4]\The Da Vinci Code Extended Cut - Mystery 2006 Eng Ita Multi-Subs 1080p [H264-mp4].mp4"'
takes 8 seconds!

For test2:
2020.02.19 - 13:58:00_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: Timecode extraction call(mkv): '"D:\BIG APPS\Hybrid\64bit\mkvextract.exe" timecodes_v2 "Y:\Movies\Library\March Of The Penguins-720p MP4 AAC x264 HDDVD 2005-CC\March Of The Penguins-720p MP4 AAC x264 HDDVD 2005-CC- Converted With Hybrid- Converted with Hybrid.mkv" 0:"Y:\Movies\Library\March Of The Penguins-720p MP4 AAC x264 HDDVD 2005-CC\timeCode_13_58_00_551.txt"'
takes 8 seconds!

2020.02.19 - 13:58:20_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9:  setting Playlist items:
  
2020.02.19 - 13:58:20_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: VapoursynthPreview set videoStream to nullptr
2020.02.19 - 13:58:46_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: adjusting chapter selection(1),...
no clue what happens there to cause 26 seconds delay.
Another unkown delay:
2020.02.19 - 13:58:47_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: There's no Language in mkv_d53789563fc377aa91629e3f286dea02_853323747
2020.02.19 - 13:59:15_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: adjusting chapter selection(1),...
and another one:
2020.02.19 - 13:59:51_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: inputs count: 1
2020.02.19 - 14:00:34_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: on_x264LoadVideoProfilePushButton_clicked
and another one:
2020.02.19 - 14:01:11_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: start: 0, length: 4813
2020.02.19 - 14:01:38_Windows 7 Version 6.1 (Build 7601: SP 1) (64bit)_2020.02.17.1 - level 9: adjusting chapter selection(1),...

seems like whenever Hybrid accesses the Streamdata of the source it freezes.
Which is really strange, because this should only happen if either the system is swapping or a virus scanner or something similar is interfering.

I managed to reproduce the issue when forcing time code extraction on a file and then changing chapter and similar.
-> looking into it

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#10
Ha! Found the culprit. Smile

A while ago I thought about adding an additional tab which would give the user the option to fully modify all the analysis data collected of a source.
I never opened that tab to the public and removed it after a while, but I overlooked that the internal data analysis code was still there,...
-> I'll remove it properly and send you a dev version once I'm finished via pm.(probably in an hour or so)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)