Everything (713b) tries to preview .ts (video) files

Found a bug in "Everything"? report it here
Post Reply
Onurtag
Posts: 4
Joined: Tue Dec 29, 2015 12:37 am

Everything (713b) tries to preview .ts (video) files

Post by Onurtag »

Whenever I select a .ts file,
the everything window freezes for a long time and tries to preview unreadable .ts video files.
Just like image below.

Image
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by void »

Please try unassociating .ts files with Media Player Classic.
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by therube »

If that's what's needed, I just learned about this...

Code: Select all

Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

  .ext      Specifies the file extension to associate the file type with
  fileType  Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension.  Specify nothing for the file
type and the command will delete the association for the file extension.
So:

Code: Select all

ASSOC
will display all file associations

ASSOC  .TS
will display only the file association for .ts files types

ASSOC  .TS=
will delete the file type association for .ts files
To actually make changes, you need to run ASSOC from an Administrative level CMD prompt.

(
If you do use a method like this, I would be careful about just what you actually do when using it ;-). And I'll say, I have not used it other then to set up a dumy file association named XXX & associating it to something called "dumydumydumy", & then deleting the same.

Code: Select all

create:
ASSOC .XXX=DUMYDUMYDUMY
verify existence:
ASSOC .XXX
delete
ASSOC .XXX=
verify nonexistence:
ASSOC .XXX
)
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by therube »

I select a .ts file, the everything window freezes
I'll assume that you have the Preview window enabled?
And if you closed the Preview window, then selected a .ts file, the freeze would not occur?
Onurtag
Posts: 4
Joined: Tue Dec 29, 2015 12:37 am

Re: Everything (713b) tries to preview .ts (video) files

Post by Onurtag »

void wrote:Please try unassociating .ts files with Media Player Classic.
I did it through the mpc menu, it became associated with windows 10 default media player as expected.
But the preview is still trying to read it as a text file.
therube wrote: I'll assume that you have the Preview window enabled?
And if you closed the Preview window, then selected a .ts file, the freeze would not occur?
thats exactly what happens when I try that.
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by therube »

Heh.
I didn't even check on my end to see, but...

> .ts=WMP11.AssocFile.TTS

So, maybe .ts is set up like that as default?
Or maybe a media player & or "codec pack" set that up?

For me, Win7 (& CCCP installed, not that I know if it makes a difference or not?), I can preview .ts - with no freezing. Maybe it is a codec issue, of sorts? Or OS?
(Looks like Preview works by hooking into "Windows Media Player" aka "wmprph" [Windows Media Player Rich Preview Handler].)


(Related, How to Reset File Associations to Unknown?)
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by therube »

Maybe this - though I'm not particularly clear on this stuff:
Added 'Detach File Type' button to the 'Replace File Type For Selected Extension' option, which allows you to detach a file type from the selected file extension and leave the file extension as a standalone extension without a file type. If you detach a file type from a file extension, changing the icon and menu items won't affect other file extensions (Be aware that you may also need to clear the 'User Choice' field, if it's not empty)
http://www.nirsoft.net/utils/file_types_manager.html

So if I'm reading correctly (which I may not be) ...

Run FileTypesMan
Scroll down to ".ts" (Ctrl+F ".ts")
While ".ts" is highlighted, hit F4
Click 'Detach File Type' (next to the OK button)

NOTE: THERE IS NO CONFIRMATION, once you click "Detach" you've do it, its done - for better or worse. (I'd say to backup first, but I'm not sure what to backup ;-).)
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything (713b) tries to preview .ts (video) files

Post by therube »

Yep, looks like that should work.

(Seems even after "Detached", you may still get a thumnail [picture] for some .ts.
And you can re-associate to "wmp" by doing the procedure again, this time choosing 'WMP11.AssocFile.TTS' from the F4 popup dialog & clicking OK.

Glad I didn't screw up my system, heh ;-).)


(I might have to explore, 'Preview'. Who knows it could turn out to be useful?)
Onurtag
Posts: 4
Joined: Tue Dec 29, 2015 12:37 am

Re: Everything (713b) tries to preview .ts (video) files

Post by Onurtag »

Looks like the problem is with MIME Type and Perceived Type
somehow they are set to text as seen in image below

http://i.imgur.com/dbMRc3B.png

Also I found out that visual studio is using .ts for storing some kind of files (text based). Because I have visual studio community 2015 installed it could have changed the type to Text
When I right click and edit selected file type and set MIME to video/mpeg and Perceived type to video everything works as it should. (The preview shows the video thumbnail instead of trying to read it as text)

Edit: Tried the solution above (detaching) and because its text the default program defaults to notepad.exe and the preview still doesnt work
But I fixed my problem by changing the type to video so all is fine.
Also should mention MIME type doesnt matter. Only changing perceived text -> video works
Post Reply