[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Lag on play/pause if focus set off smplayer window

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Lag on play/pause if focus set off smplayer window

Problems, bugs, suggestions... anything related to SMPlayer.

Lag on play/pause if focus set off smplayer window

Postby Supermaks » Tue May 22, 2012 2:32 pm

How to repeat:
1. Start smplayer with any avi, mp4, etc.... in window (not fullscreen), press Play and resize window so you can access other windows on your desktop.
2. Set Option-Video-StayOnTop to Always or While Playing.
3. Set Option-Preferences-Keyboard and mouse-Mouse-Left Click to Play/Pause.
4. Click on any window on desktop so Smplayer lost focus.
5. Click on video in Smplayer with left button and system freeze for 3-5 seconds and sound begin to stutter during this freeze.

if you make addidional step like
4a. Click on Active title bar of Smplayer
and the step 5 - no problem at all, so seems this lag exist only if smplayer is "off focus" during click on active window for Play/Pause.

I've tried all versions starting 0.6.0 to 0.8.0 and found first time this problem appear in smplayer 0.6.10 (in 0.6.9 works fine)
Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Re: Lag on play/pause if focus set off smplayer window

Postby rvm » Tue May 22, 2012 9:21 pm

Just tested in ubuntu 11.10 with gnome classic, it doesn't happen.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Lag on play/pause if focus set off smplayer window

Postby Supermaks » Tue May 22, 2012 9:55 pm

OS windows2003
Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Re: Lag on play/pause if focus set off smplayer window

Postby rvm » Wed May 23, 2012 12:23 pm

It doesn't seem to happen on windows xp either.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Lag on play/pause if focus set off smplayer window

Postby Supermaks » Wed May 23, 2012 4:55 pm

Very strange.
I've made addiditional tests and found if in Advanced Preferences add option for mplayer "-vo null" and click on black window while audio plays problem disappear, so it's video related.
May be you can explore code changes from 0.6.9 to 0.6.10 to find potentional places in code to cause some lags on returning focus to smplayer's window by left of right click any place but not in title bar.
Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Re: Lag on play/pause if focus set off smplayer window

Postby Supermaks » Wed May 23, 2012 5:06 pm

May be this is Qt-related question because 0.6.9 compiled with Qt 4.5.1 and 0.6.10 - with Qt 4.7.7 ?
Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Re: Lag on play/pause if focus set off smplayer window

Postby redxii » Wed May 23, 2012 5:35 pm

I can't reproduce it in Windows 7.
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: Lag on play/pause if focus set off smplayer window

Postby Supermaks » Thu May 24, 2012 6:27 am

I've tested on some PCs around me with WindowsXP, Windows2008 and Windows7 and can't repeat the problem myself too. :(
I haven't around another Windows2003 PC so this is Windows2003 or even my PC problem only.
I've tried run test right after boot, check if I have latest video drivers, tried to disable antivirus software... I'm out of ideas now.
Can you give me some hints where I can research more for this problem?
Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Re: Lag on play/pause if focus set off smplayer window

Postby Sourcefan » Thu May 24, 2012 9:35 pm

Hello Supermaks,

Sorry, can't give you a clue how to solve this problem.
But I can confirm this lag/freezing problem (myself) running SMPlayer 0.8.0 on Windows XP.
Even worse; while SMPlayer is not focused a right or middle click on the video screen also causes this lag/freezing.
On the other hand clicking on the time-slider – while not focused – works fine.
Tried all of different audio and video settings, without result.

The M-player or SMPlayer logs don't give a clue; they just seem not to respond until SMPlayer unfreezes.

This lag/freezing seems to me as a hardware or maybe software conflict.

Some specs:
smplayer-0.8.0-win32.exe
Windows XP home – SP3,
single core AMD sempron 3000+ 1800 MHz,
1400 Mbyte RAM,
Video: (on-board) VIA/S3G Unichrome Pro IGP.

Only workaround I can think of: use a keyboard shortcut for play/pause.

Have a nice day,

Sourcefan.
Sourcefan
 
Posts: 56
Joined: Sat Mar 17, 2012 8:38 pm

Re: Lag on play/pause if focus set off smplayer window

Postby Supermaks » Fri May 25, 2012 7:29 am

Supermaks
 
Posts: 20
Joined: Tue May 22, 2012 2:17 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests