Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

Until today I had only tried the new DirectShow media player on Windows 7, and here everything works fine

But today I tested it on other OS'es:

Under Windows 8.1 and 10 I have problems in 64bit TC playing several file types: mp4, .flv, some .avi - I have no problems with the 32bit version.

When I try to play for example an .mp4 file, TC simply closes down - no error message from TC or the system.

I have tried with many different .mp4 files, because I know that they can be made with different codecs. All the files I have tried plays without problems in TC 64bit under Windows 7 (I have tested 2 Windows 7 machines).


Under Windows XP (32bit) I can only play formats that the old Windows media player can play, like .wmw and .wma.

On all systems I have copied the files from https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x64.zip to TC's filter64 directory and the files from https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x86.zip to TC's filter32 folder - but I have not installed or registered them.

See settings here: https://madsenworld.dk/tcmd/DirectShowSettings.png

But it is reproducible with a clean .ini file as well
Last edited by petermad on 2021-03-25, 20:10 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *ghisler(Author) »

This can happen when there is a bad or outdated codec installed. Could you please use the tool graphstudionext64 to determine which codec is used for your mp4 files?
https://github.com/cplussharp/graph-studio-next/releases

I ask because I do not get any crashes at all.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

Hmm, if I use graphstudionext64.exe, I cannot load those files that crash TC - I get an Unknown HRESULT (0xFFFFFFFF)

If I use graphstudionext.exe I can load the files - and they are first passed to a "CyberLink MPEG-4 Splitter (PDVD10)" and then passed on to "Microsoft DTV-DVD Video Decoder" and "Microsoft DTV-DVD Audio Decoder". So I guess that it could be the CyberLink MPEG-4 Splitter that doesn't work in 64 bit mode. The Cyberlink stuff was preinstalled when I bought the computer in 2013.

Interestingly enough the same thing happens under Windows 7, where I can play the files in 64bit Lister with the Directshow media player.
Under Windows 7 graphstudionext64.exe shows the same error as under Windows 10.
Under Windows 7 graphstudionext.exe shows that the files are first passed to "MainConcept MP4 Demultiplexer" and then to the same Microsoft decoders.


Maybe there is an error i graphstudionext64.exe v. 5.01, so I will try and older version now.

EDIT: Just tried graphstudionext64.exe v. 4.90 - same results

Notice that these are files that I can play in "Windows Media Player", Windows 10's "Photos" App, and "Movie & TV" app plus other players I have.

EDIT2:
Under Windows 8.1 I can not open the .mp4 files in neither graphstudionext64.exe nor graphstudionext.exe - I get the same Unknown HRESULT (0xFFFFFFFF)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *Usher »

2petermad
Peter, you won't fix old unsupported payable software.
I don't use so old players even in Windows XP. I have installed MPC-HC which comes with its own LAVfilters, then I've registered those filters globally and now I have almost no problems with mp4, flv and avi files.
Why don't you try that simple way? As I know, you use this player and you know that it's still maintained and updated on Github.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

2Usher
You are right that I do use MPC-HC, but I did not know that it is maintained on Github.

How do you register the filters Globally?

EDIT: Looked at Github.com - couldn't find anything less than 5 years old.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

I have now registered/installed the filters from https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x64.zip and https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x86.zip by using the install_audio.bat, install_splitter.bat and install_video.bat

Now I can open my .mp4 files with both graphstudionext64.exe and graphstudionext.exe and now the "LAV Splitter" is used - BUT TC x64 still craches under Windows 8.1 and 10.
Last edited by petermad on 2021-03-25, 03:02 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *Usher »

petermad wrote: 2021-03-24, 15:00 UTC You are right that I do use MPC-HC, but I did not know that it is maintained on Github
Current builds come from a fork created by one of developers:
https://forum.doom9.org/showthread.php?t=175209
New MPC-HC home is here:
https://github.com/clsid2/mpc-hc
And you can read there that Windows XP is no longer supported.
https://github.com/clsid2/mpc-hc/releases
petermad wrote: 2021-03-24, 15:00 UTCHow do you register the filters Globally?
Just go to LAVFilters subdirectory in your MPC-HC and register *.ax codecs with full path names.
In TC: select file, type "regsrv32 ", press Ctrl+Shift+Enter, then Enter, go to the next file…
It should work if you don't need subtitles (VSfilter seems to be integrated with MPC-HC). For this feature I have installed older standalone filters from the original MPC-HC 1.7.13 - I haven't found newer filters working in Windows XP.

MPC-HC uses fork of the same LAVfilters which you have linked earlier, so it depends on you, which way you choose. I would start with mpc-hc and only then install separate filters - in case of any problems with mpc-hc.
Some settings may be counterintuitive, for example, I have to turn OFF avc3 and dts support in LAV audiofilter to have sound for this formats in TC player…
I'm going to test TC player in Windows 7 x64 in the nearest future, so some updates will follow.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

In TC: select file, type "regsrv32 ", press Ctrl+Shift+Enter, then Enter, go to the next file…
That is what I ended up doing - I thought you meant that there was a feature in the MPC-HC player to do it in bulk.

I tried registering the LAV filters from https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x86.zip under Windows XP, but it was not possible. So I registered the older LAV filters from MPC-HC form 2017 (filter version 0.70.2.1) - and now playing with DirectShow in Lister under Windows XP works fine.

Under Windows 10 with TC 10 b2 x64 - after registering the LAV filters from https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x64.zip - I can now sometimes start playing .mp4 movies, but if I pause them, then TC crashes when I resume playing. At other times I see the first frame of the movie for a while, and then TC crashes.

Under Windows 8.1 I still cannot even start playing the same files - immediately crash of TC here.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *Usher »

2petermad
Yes, LAVfilters 0.70.x seem to be the last version for Windows XP. Newer versions don't care about XP compatibility. They may be compiled using XP toolset with default settings, which gives Vista+ compatibility.
And what about crashing - I observe almost no crashes when using "Default system settings" for player. Changing to "Recommended filters (LAV, ffdshow)" may cause crashes because it's not a complete codecs/filters set. Some crashes may be caused also by player which doesn't catch properly all errors reported by codecs/filters. I have similar problems with VLC in XP - version 3.0.11 displays errors and it's all OK, in version 3.0.12 I have to kill the program when it starts to display errors.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

I cannot find anything in the history.txt about this, but DirectShow in Lister now works fine in TC 10 b3 x64 also under Windows 8.1 and 10 :-)

I just hope the problem doesn't re-occur - since apparantly nothing specific has been done to fix it.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *Usher »

There are fixes for switching modes in Lister, maybe some of them…
This one seems to have good explanation (something went too fast):
History.txt wrote:22.03.21 Fixed: Lister, press '4' while music or video is playing: Wait for player thread to terminate when loading a plugin next (32/64)[/qoute]
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

2Usher

I thought of that one too - but it was never when pressing 4 that TC 10 b2 x64 crashed - it was just immediately after pressing F3 on the movie file. - And I never had problems with 32bit TC
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *Usher »

It's about the meaning of the explanation. Something probably went too fast (or was ignored) in some procedure(s) common for all Lister fixes (Including unlisted), possibly in hotkey handling. I will try to crash HTML parser…
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: Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *ghisler(Author) »

I'm turning off floating point exception handling and SSE exceptions at the start of the player thread now. I already do this before loading/showing the Explorer context menu via OLE2 because some shell extensions have floating point exceptions (C ignores them and checks the status of the coprocessor later, while Delphi/Free pascal has them enabled). It didn't help when I caused an exception in my own DirectShow filter for test purposes, so I thought that it wasn't resolving your issue, and didn't document it. But I left the calls in just in case.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Solved [TC 10 b2 x64] problems with DirectShow media player 64bit

Post by *petermad »

But I left the calls in just in case
Good decision - as it turned out :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply