当前位置:网站首页>The system needs to scan all the files and try to identify the cover of the video

The system needs to scan all the files and try to identify the cover of the video

2022-06-10 22:07:00 lpp18

Concept introduction

  • TypeScript It's an open source programming language developed by Microsoft , By means of JavaScript It is built by adding static type definition on the basis of
  • Transport Stream The transport stream , Is a common video packaging format , be based on MPEG-2 The packaging format of ( So is also called MPEG-TS)
  • TypeScript and Transport Stream The file extensions of are ts

Problem phenomenon

stay Windows On the operating system .ts Marked by default as Transport Stream, There is no problem for ordinary users , But for the TypeScript It's a disaster for developers : Open a file browser .ts Projects with many files , The system needs to scan all the documents , And try to identify the cover of the video , This process is almost frame by frame animation , Seriously affect work efficiency .

terms of settlement

To solve this problem , It must be revised Windows The registry , Save the following code as typescript.reg, Then double click Import registry , Restart the system .

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.ts]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Kindmap]
".ts"="document"

Restore video mode

Then someone might want to say , What if I want to recover one day ? The following is the registry code for recovery :

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ts]
"Content Type"="video/vnd.dlna.mpeg-tts"
"PerceivedType"="video"

[HKEY_CLASSES_ROOT\.ts\OpenWithProgids]
"AppX6eg8h5sxqq90pv53845wmnbewywdqq5h"=hex(0):

[HKEY_CLASSES_ROOT\.ts\ShellEx]

[HKEY_CLASSES_ROOT\.ts\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

[HKEY_CLASSES_ROOT\.ts\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Kindmap]
".ts"="video"

This is the dividing line

原网站

版权声明
本文为[lpp18]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101657141404.html