"Open with" does end with error

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

"Open with" does end with error

Post by *Terka »

Opening files like mkv using BSPlayer does not work in TC, opening same files does work from File Explorer.
Nor works pressing enter, nor using RMB -> menu "open with".
Windows Media Player and VLC media player opens the files fine.
Any suggestions please? I am used to use BSPlayer.

"BS.Player cannot play the media file.
You don't have necessary codec installed, file may damaged or not media file.

Click 'Find codec' to try to find codec"
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: "Open with" does end with error

Post by *Gral »

Your description is a bit chaotic - you claim the file opened from Explorer plays fine in BSPlayer? I don't think so.
This error has nothing to do with TC or the way the file was opened.
VLC uses own framework to decode video, while WMP uses DMO or Media Foundation codecs.
This is system and BSPlayer issue. Just install LAV Filters as BSPlayer offers.

Are you familiar with the concepts of video codecs?
MKV is a so-called container that can contain video compressed with one of many video codecs, audio compressed with an audio codec as well as other streams, e.g. subtitles.
You need the right codec to decode audio and video, and different programs require different kinds of codecs. Some programs use their own frameworks to decode audio and video (e.g. VLC, MPlayer)
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

Yes im 100% sure it opens fine.
And yes, im familiar with video codecs, containers etc. Worked with Avisynth for years.
https://forum.doom9.org/member.php?u=71170
Asking at TC forums because it seems that TC passes information to BSPlayer different way than FileExplorer.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: "Open with" does end with error

Post by *Stefan2 »

Terka wrote: 2022-03-29, 20:47 UTC Opening files like mkv using BSPlayer does not work in TC, opening same files does work from File Explorer.
Nor works pressing enter, nor using RMB -> menu "open with".
Windows Media Player and VLC media player opens the files fine.


You say that "Windows Media Player" and "VLC media player" work for you, called from TC, but BSPlayer does not work for you that way?

Mayby check out the Menu "Files > Associate Internal (only in TC)" if there is something configured?


Tell us something about your system
- Win-OS Version Build and Bitness:
- TC Version and bitness:


Do you use or set up this new feature?
https://www.ghisler.com/mailing.htm
New functions in Total Commander 10.00 >> New DirectShow media player in Lister, // LAV filters and ffdshow filters




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

Re: "Open with" does end with error

Post by *petermad »

2Terka
Are you perhaps running TC "As Administrator" (aka: with elevated rights) - this will also load BSPlayer as administrator, and maybe that is the cause of the problem.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

in some cases the TC opened a video file, but i did not find the pattern.
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

OK, i did some more tests.

BSplayer allows more instances.
when open a file from FileExplorer and video is playing, i switch to TC:
When i press Enter on another video it does no action (it should play it)
When i press Enter second time, it plays it normally.

If another BSPlayer instance is not running, then pressing an Enter on a video causes the errormessage.
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Open with" does end with error

Post by *petermad »

2Terka
You still didn't answer the question about whether you are running TC as administrator...?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

As admin - probably not. Thank you petermad!
Find out that all is running fine if running TC by doubleclick its icon.
But
If i open TC from Everything: $exec("C:\wincmd\TOTALCMD.EXE" /O /T /A /L="%1")
Then the problems starts
Any idea please, how to run it from Everything correctly?
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: "Open with" does end with error

Post by *Gral »

Terka wrote: 2022-04-01, 09:49 UTC Any idea please, how to run it from Everything correctly?
Is there any reason to run TC from Everything :?: :!:
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

yes. it is.
and also i run TC using autohotkey and the issue is there too.
even if trying to run as admin:
Run *RunAs %exe_tc% /i="%wincmd_ini%" /f="%wincmd_ftpini%", ,Max
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: "Open with" does end with error

Post by *Terka »

seems not connected with running as admin
User avatar
tuska
Power Member
Power Member
Posts: 4113
Joined: 2007-05-21, 12:17 UTC

Re: "Open with" does end with error

Post by *tuska »

Terka wrote: 2022-04-01, 09:49 UTC As admin - probably not. Thank you petermad!
Find out that all is running fine if running TC by doubleclick its icon.
But
If i open TC from Everything: $exec("C:\wincmd\TOTALCMD.EXE" /O /T /A /L="%1")
Then the problems starts
Any idea please, how to run it from Everything correctly?
Regarding administrator/no administrator in Everything, perhaps this post will help.

Debug console window:
Ctrl+A, Ctrl+C -> Editor: Ctrl+V

Example for "No administrator" and infos from debug console window:
IsAdmin 0
AppData 0 ... portable use of Everything
Service 1 ..... Everything Service
cmdline "C:\Tools\Everything\Everything64.exe" ... Everything 1.5 Alpha


Everything - Context menu entries
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Open with" does end with error

Post by *petermad »

2Terka
As admin - probably not. Thank you petermad!
You can see if TC is running as administrator by looking at TC's Title bar - there will be a ^ after the user name.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 4113
Joined: 2007-05-21, 12:17 UTC

Re: "Open with" does end with error

Post by *tuska »

2Terka
Which version of Everything are you using?
Version number and 32 bit or 64 bit? (Menü "Help" - "About Everything...")

Especially in the case of problems, it can't hurt to give the Windows version number and bitness,
especially if you have already been asked to do so by another forum member (Stefan2).


Btw., there is an interesting test result regarding 'Everything' => TC when using context menu items in 'Everything':

Everything 1.5.0.1305a (x64)
  • Tools -> Options... -> General: "Context Menu" -> Open "Folders" -> Command:
    $exec("D:\Daten\Programme\Totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
  • Tools -> Options... -> General: "Context Menu" -> Open Path -> Command:
    $exec("D:\Daten\Programme\Totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
- Everything is started
- Total Commander is closed
  1. Search in Everything
  2. Double click on folder in Everything
  3. Total Commander (x64) 10.00 opens and the contents of the folder are displayed
  4. Close Total Commander (x64) 10.00
  5. Open Total Commander (x86) 10.00
  6. Double click on folder in Everything
  7. Total Commander (x86) 10.00 opens and the contents of the folder are displayed.
    I would expect Total Commander (x64) 10.00 to open, as this is what was set in Everything:
    Command: $exec("D:\Daten\Programme\Totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
    However, I don't think it is worth investigating this issue further.

Windows 10 Pro (x64) Version 21H2 (OS build 19044.1620) | TC 10.00 x64/x86
'Everything' 1.5.0.1305a (x64) | 'Everything' 1.4.1.1016 (x64) | Everything 1.4.1.1015 (x64)
Post Reply