TC 11.03RC1 - Lister and video files

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

ghisler(Author) wrote: 2024-01-23, 08:19 UTCOK, changed it.
Added.
I think it's unnecessary:
The LAV filtersr filter above ...
The xy-VSFilter filter above ...

Please provide step by step instructions.
1. XP SP3 x32. TC 11.03RC1.
2. Checking md5:
%Commander_Path%\FILTER32\FILTER32.md5

Code: Select all

dfffeae2bacf56fbfbcfbb281c6d08a0 *LAVAudio.ax
49f3a8ffd6dd05dee0d8e5a8dabf8ca8 *LAVSplitter.ax
4805edec6e424c41d5eb9f24a9d8ff49 *LAVVideo.ax
2c4fd8d493ab7fddade556a839cae31a *avcodec-lav-57.dll
3be989e904f2ab5e73d7c40d8a6f1d59 *avfilter-lav-6.dll
bdb8aaa8216e8eda6621b348b5f9c9b8 *avformat-lav-57.dll
d505c010b619178c42625da7855f11d8 *avresample-lav-3.dll
4f26aad0e6f8b646024b4e8b63541bde *avutil-lav-55.dll
f0bb8b92ab4322cea5784f321728c7a7 *IntelQuickSyncDecoder.dll
ab7903339ab0e92d984185cc96bb371e *libbluray.dll
65a7f29cce0a54d2c609e2bdb3e7a4cf *swscale-lav-4.dll
805fbd6cb573737725eceb67bed4ec30 *VSFilter.dll
933a8abca9941128a80b6401b5a04b9e *LAVFilters.Dependencies.manifest

3. Place the cursor on any mp4/mkv/etc video.
4. Press F3 or Ctrl+Q.
5. Press Esc in the F3 window or Ctrl+Q, activating the file panel.

The result: the video, of course, is not visible, but the audio sounds, and the icon remains.
3-5: Do the same with other videos. The sound will overlap. The system load is increasing significantly.
Last edited by Fla$her on 2024-01-23, 14:54 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

I cannot reproduce that. The sound ends immediately when the Lister window closes.

Can anyone else reproduce it?
Tested with Total Commander 32-bit and 64-bit on Windows 11. Will test on XP too.

The following filters are shown in the video right click menu:
1. Enhanced video renderer EVR
2. Audio Renderer
3. LAV Audio Decoder (from dll) ->2
4. LAV Video Decoder (from dll) ->1
5. LAV Splitter Source (from dll) ->4,3

The arrows behind filters 3 to 5 describe how the filters are connected.
Filter 5 is the input, it sends the data to filters 4 (video) and 3 (audio)
Filter 4 sends the decoded video to filter 1, which renders it to the screen.
Filter 3 sends the decoded audio to filter 2, which sends it to the speakers or headphones.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

Now I have tested it on Windows XP 32-bit too, no problems either.
I'm using the last LAV filters which still support Windows XP:
https://github.com/Nevcairiel/LAVFilters/releases/expanded_assets/0.70.2
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

And how should I be? Streams are closed only after closing TC.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

2Fla$her
Here streams are closed when Lister or Ctrl+Q is closed.

Can you check what filters are used (right click on the video)?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

mp4:
1. Enhanced Video Renderer (EVR)
2. VSFilter (from dll)
3. Audio Renderer
4. LAV Audio Decoder (from dll) -> 3
5. LAV Video Decoder (from dll) -> 1
6. LAV Splitter Source (from dll) -> 5, 4

mkv:
1. Enhanced Video Renderer (EVR)
2. Audio Renderer
3. LAV Audio Decoder (from dll) -> 2
4. DirectVobSub (from dll) -> 1
5. LAV Video Decoder (from dll) -> 4
6. LAV Splitter Source (from dll) -> 5, 3, 4
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

Maybe it's a problem with subtitles? Both VSFilter and DirectVobSub are extra filters.
Does it work fine with videos which don't have subtitles?

Btw, I already found a bug which I fixed for RC2, but it only happens when you change the subs language before closing the player - then the file remains locked and cannot be deleted. But even then the sound stops immediately when I close Lister.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

Does it work fine with videos which don't have subtitles?
There were no subtitles in mp4. Opened mkv without subtitles, the same result.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

It's very strange that you have the subtitle filters in the filter chain although you don't have subtitles.
Since both are reported "from dll", could you:
1. close and re-open Total Commander.
2. move the VSFilter.dll and XySubFilter.dll any any other sub filters to a different directory.
3. Repeat the tests?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

XySubFilter.dll there is not and was not in the list of libraries. Moving VSFilter.dll and restarting TC has no effect.
The rest don't know how to move properly to make the video work.

For mkv, for example, these threads remain active in TC: DSOUND.DLL, LAVSplitter.ax, VSFilter.dll, quartz.dll and evr.dll.
The sound disappears only if you complete LAVSplitter.ax, but the rest of the threads will continue to load the system.
Completion VSFilter.dll removes the icon.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

That's odd, here the threads all terminate when Lister closes.
Do they terminate when you first pause the playback and then close lister?
What about when you let the video end (e.g. by seeking near the end and waiting) and then closing Lister?

Could you also let me know which version of the LAV filters you are using, please?
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

The pause before closing Lister affects only the absence of sound, but not the threads.
After a pause, I also tried to move the slider to the end a few seconds before the end of the video, then after pressing space the video ended, and the slider returned to the place where I had moved it before. After closing the window, all the threads remained in place.

LAV filters 0.70.2 (I gave you the link and md5 under the spoiler for verification).
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.03RC1 - Lister and video files

Post by *ghisler(Author) »

I have added some more logging to RC2. Please enable logging in Configuration - Options - Log file. The log should then look like this:
23-01-2024 06:31:57p: Lister: dshow command: openfile
23-01-2024 06:31:57p: Lister: RenderStreams: c:\path\test_video.mp4
23-01-2024 06:31:57p: Lister: 1. Enhanced Video Renderer (EVR)
23-01-2024 06:31:57p: Lister: 2. Audio Renderer
23-01-2024 06:31:57p: Lister: 3. LAV Audio Decoder (from dll) -> 2
23-01-2024 06:31:57p: Lister: 4. LAV Video Decoder (from dll) -> 1
23-01-2024 06:31:57p: Lister: 5. LAV Splitter Source (from dll) -> 4, 3
23-01-2024 06:31:57p: Lister: dshow command: playFrom
23-01-2024 06:31:57p: Lister: dshow command: state
23-01-2024 06:31:57p: Lister: dshow command: SetVolume
23-01-2024 06:31:57p: Lister: dshow command: GetChapterCount
23-01-2024 06:31:57p: Lister: dshow command: updatevideowindow
23-01-2024 06:31:57p: Lister: dshow command: state
23-01-2024 06:31:57p: Lister: dshow command: repaint
23-01-2024 06:32:00p: Lister: dshow command: updatevideowindow
23-01-2024 06:32:00p: Lister: dshow command: destroy
23-01-2024 06:32:00p: Lister: dshow end thread
Author of Total Commander
https://www.ghisler.com
User avatar
beb
Senior Member
Senior Member
Posts: 435
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: TC 11.03RC1 - Lister and video files

Post by *beb »

2Fla$her
By default, there are no icons expected to be in the notification area.
Image: https://i.imgur.com/ksgkbop.png
If the icons are there, it means a user has specifically invoked advanced settings and made a somewhat input in there who knows which.
Is the issue you encounter being repeated on every video you try, or only on the specific ones?

NB The more I dive into the Total Commander Lister & LAVfilters combination feature, the more it bothers me.
In most cases, it works great out of the box as intended with no questions and no user input at all.
However, in some cases, it becomes a pain.
You are trying your best but nothing helps.
Specifically, I remember this thread where so many efforts were put into resolving the issue but to no avail (it still remains unresolved and just hurts me):
https://ghisler.ch/board/viewtopic.php?t=80771
I hope, one day the feature becomes better documented and with a set of example [ideal] videos (links to such) to check it (and even featured on https://www.ghisler.com/filters.htm page).
For the mentioned thread I had to make example videos (with the instructions on how a user can do it themselves), but they are useless for the Fla$her's case since go without sound.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: TC 11.03RC1 - Lister and video files

Post by *Fla$her »

ghisler(Author) wrote: 2024-01-23, 18:09 UTC I have added some more logging to RC2.
There are no improvements in RC2 yet.
Program start
Lister: dshow command: openfile
Lister: RenderStreams: h:\Video\test.mkv
Lister: 1. Enhanced Video Renderer (EVR)
Lister: 2. Audio Renderer
Lister: 3. LAV Audio Decoder (from dll) -> 2
Lister: 4. LAV Video Decoder (from dll) -> 1
Lister: 5. LAV Splitter Source (from dll) -> 4, 3
Lister: dshow command: playFrom
Lister: dshow command: state
Lister: dshow command: GetChapterCount
Lister: dshow command: updatevideowindow
Lister: dshow command: updatevideowindow
Lister: dshow command: state
Lister: dshow command: repaint
Lister: dshow command: getPosition
Lister: dshow command: updatevideowindow
Lister: dshow command: destroy
Lister: dshow end thread
Program shutdown
Overquoting is evil! 👎
Post Reply