当前位置:网站首页>系统需要把所有文件扫描一遍,并尝试识别视频的封面
系统需要把所有文件扫描一遍,并尝试识别视频的封面
2022-06-10 16:58:00 【lpp18】
概念引入
TypeScript是微软开发的一个开源的编程语言,通过在JavaScript的基础上添加静态类型定义构建而成Transport Stream即传输流,是一种常见的视频封装格式,基于MPEG-2的封装格式(所以也叫MPEG-TS)TypeScript和Transport Stream的文件扩展名均为ts
问题现象
在Windows操作系统上.ts被默认标记为Transport Stream,对于普通用户来讲这完全没有问题,但对于TypeScript开发者来说简直就是个灾难了:用文件浏览器打开一个.ts文件较多的项目时,系统需要把所有文件扫描一遍,并尝试识别视频的封面,这个过程几乎就是逐帧动画,严重影响工作效率。
解决办法
要解决这个问题,必然是要修改Windows的注册表,将下面的代码保存为typescript.reg,然后双击导入注册表,重启系统即可。
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.ts]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Kindmap]
".ts"="document"恢复视频模式
那有人可能要说了,如果哪天我想恢复回去怎么办?下面给出恢复用的注册表代码:
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 article introduces you to j.u.c's futuretask, fork/join framework and BlockingQueue
- 高数_第6章无穷级数__正项级数的性质
- Accuracy of alphafold and NMR determination of protein structure in solution
- 线上交流丨技能网络:解决多任务多模态问题的稀疏模型(青源Talk第19期 唐都钰)
- com.netflix.client.ClientException: Load balancer does not have available server for client: userser
- HTML+PHP+Mysql登录注册页面
- 2022年G2电站锅炉司炉考试模拟100题及模拟考试
- 华为matepad能成为你的笔记本电脑副屏?
- How MySQL modifies field type and field length
- Jouer avec la classe de fonctions de pytorch
猜你喜欢

高数_第6章无穷级数__绝对收敛_条件收敛

软件项目管理 6.10.成本预算

There is an urgent need to enrich the smart home product line. Can fluorite be crowded on the sweeping robot track?

品牌难立,IPO难行,中国茶企困于“传统”?

C#_串口通信项目
![[the second revolution of report tools] optimize report structure and improve report operation performance based on SPL language](/img/53/d6f05e8050e27dc9d59f1196753512.png)
[the second revolution of report tools] optimize report structure and improve report operation performance based on SPL language

vscode常用插件与配置

Talk about message oriented middleware (1) and AMQP

2022年茶艺师(中级)操作证考试题库及模拟考试

成立1年便成独角兽,腾讯滴滴做「靠山」,今年新晋的独角兽不简单
随机推荐
Nacos注册中心
sense of security
Overseas data centers need to be prepared for unpredictable disasters
Chongqing's first sci tech Innovation Board IPO is coming
2022年T电梯修理考试题模拟考试题库及在线模拟考试
Primekg: building a knowledge map to achieve precision medicine
5年后,你将如何融入20万亿美元的「项目经济」
Mapbox GL development tutorial (11): loading line layers
Importerror: libgl.so.1: cannot open shared object file: no such file or directory
Snabbdom virtual DOM (I)
单片机底层通信协议① —— 同步和异步、并行和串行、全双工和半双工以及单工、电平信号和差分信号
Fabric. JSON for JS compact output
树、森林和二叉树的关系
安全感
CUDA realizes efficient search - failed audit?
2022年茶艺师(中级)操作证考试题库及模拟考试
MMdetection之build_optimizer模块解读
Why does the universe limit its maximum speed to the speed of light
Is the fund of futures account safe?
Nacos configuration management