[TC 10 b7] Lister in video mode + pause + [un]maximized action

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

[TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *AntonyD »

Hi!
Let's open in Lister some video - does not matter which codec/extension/container it is.
Now lets' play it. So far so good. Now try to maximized|unmaximize the Lister window.
All is still fine. Now put the playback on the pause. And try to maximized|unmaximize the Lister window.
And you will not see the stopped video frame on the screen. The Lister window will became simply white.
And only if you will resume the payback - you will see the picture again. imho it's a bug.
#146217 personal license
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *Usher »

Do you mean "maximize window" (double click the title bar) or "full screen" (Alt+Enter or double click the picture)? For me it goes crazy only when using double click from/to full screen. With the first click the video un-pauses and pauses again with the second click. The window is filled with random rectangles - black, white or containing some part of a video frame - all around the original frame.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *ghisler(Author) »

Sorry, this cannot be avoided with certain output filters, because I don't have access to the frame.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *AntonyD »

2Usher
It's amazing, but only after your clarification I did realize - that this mode (Full Screen) "works" too incorrect.
Just as you clarified in your post. So yes - the two of us have the same behavior over and over again.
And when I just double click on the title bar and when I open the window full screen by Alt+Enter or double click the picture.

2ghisler(Author)
But why not use the Apple approach:) ? Take a screenshot of the videoframe/client's rect of Lister's window - when you've got the event that Lister does to Maximize state OR goes to UNmaximize state and show this picture for us. And when the user will continue the playback - just remove this picture.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *ghisler(Author) »

You can't make screenshot when using a Direct3d based filter like when auto-rotating a video.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *AntonyD »

Are you saying that all programs that can take screenshots are doing it by some kind of magic?
Or are we talking about the capabilities of the chosen programming language and development framework?

https://delphisources.ru/forum/showthread.php?t=25965
sorry for Russian sources - but the CODE itself is rather self-explanatory imho..
Mode ctDDraw there was introduced specially for taking screenshots from videoplayers!
I understand that maybe this code is not suitable for our application for some reason.
But the very meaning of searching code is not zero!
Because there are programs that easily take pictures of the screen with video;)

And again, if I may - one small clarification - the screenshot is not made on the playing video stream,
but on a pause! At this point, even the CTRL + ALT + PrtScn buttons function on the keyboard works!!!
Last edited by AntonyD on 2022-05-27, 11:46 UTC, edited 3 times in total.
#146217 personal license
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *Horst.Epp »

Don't know what others have,
but I can double click the title bar to get the player in Lister full screen and back
without any strange effects.
The config is that TC uses the system installed K-Lite Codec pack.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *AntonyD »

2Horst.Epp
but I can double click the title bar to get the player in Lister
let me correct you - "into maximized window state", not to a FullScreen.
For this you have to double click the videoframe, or press Alt+Enter.
But even that's not the most important thing. Do you still get a still image of the video when you resize the window?
As to codecs - I am using preinstalled LAV filters. LAVFilters-0.75.1-Installer
#146217 personal license
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *Horst.Epp »

AntonDudarenko wrote: 2022-05-27, 11:35 UTC 2Horst.Epp
but I can double click the title bar to get the player in Lister
let me correct you - "into maximized window state", not to a FullScreen.
For this you have to double click the videoframe, or press Alt+Enter.
But even that's not the most important thing. Do you still get a still image of the video when you resize the window?
As to codecs - I am using preinstalled LAV filters. LAVFilters-0.75.1-Installer
I can switch to FullScreen with Alt+Enter or with double click in the video frame.
The paused image is still there in each case.

The K-Lite package uses the following:
Updated MPC-HC to version 1.9.21.24
Updated LAV Filters to version 0.76.1-3-ga6b20
Updated MPC Video Renderer to version 0.5.7.1858
Updated Codec Tweak Tool to version 6.6.5
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *ghisler(Author) »

As I wrote, it depends on the output filter. When playing vertical video from phone, the video is rotated via my own Direct3d output filter. When using this filter, it cannot be resized while paused.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b7] Lister in video mode + pause + [un]maximized action

Post by *ghisler(Author) »

Moderator message

Moved to "will not be changed"
Author of Total Commander
https://www.ghisler.com
Post Reply