c# json转换未知类型
If you have a media file with an unknown extension type, then getting it to easily play in your favorite media player can be a frustrating experience. Should you convert the file or is there a better solution? Today’s SuperUser Q&A post helps a reader deal with a problematic media file.
如果您具有扩展名类型未知的媒体文件,那么使其轻松地在您喜欢的媒体播放器中播放可能会令人沮丧。 您应该转换文件还是有更好的解决方案? 今天的超级用户问答文章可帮助读者处理有问题的媒体文件。
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。
问题 (The Question)
SuperUser reader Henry wants to know how to convert an unknown media file type to mp3:
超级用户读者Henry想要了解如何将未知的媒体文件类型转换为mp3:
I am having trouble converting an unknown media file type to mp3 so that I can easily play it in VLC Media Player on my Windows 7 system. If I drag and drop the file into VLC Media Player, it plays fine.
我在将未知的媒体文件类型转换为mp3时遇到麻烦,因此我可以在Windows 7系统上的VLC Media Player中轻松播放它。 如果我将文件拖放到VLC Media Player中,则可以正常播放。
When I open it and attempt to choose VLC Media Player as the default program, the “Always choose this program to open this kind of file” check box is grayed out and I am unable to select it. I want to be able to set VLC Media Player as the default program for all the music files I have that are like this.
当我打开它并尝试选择VLC Media Player作为默认程序时,“始终选择此程序打开这种文件”复选框呈灰色显示,我无法选择它。 我希望能够将VLC Media Player设置为我拥有的所有音乐文件的默认程序,就像这样。
How do you convert an unknown media file type to mp3?
如何将未知的媒体文件类型转换为mp3?
答案 (The Answer)
SuperUser contributors AFH and Kamil Maciorowski have the answer for us. First up, AFH:
超级用户贡献者AFH和Kamil Maciorowski为我们提供了答案。 首先,AFH:
If you play the file via drag and drop, pause or stop it, then:
如果通过拖放播放文件,请暂停或停止它,然后:
Go to Play-list
转到播放列表
- Right-click on the problem file右键单击问题文件
Click Information
点击信息
The Codec Tab will tell you what type of media file it is, so you can close the program and add the appropriate extension to the file.
“编解码器”选项卡将告诉您它是哪种媒体文件,因此您可以关闭程序并将适当的扩展名添加到该文件。
Do not convert the file! This will take time and degrade the quality. If you do not know what the appropriate extension should be, rename the file as FileName.vlc and associate the extension with VLC Media Player (any unused extension could be used, but this one is unlikely to be used by anything else on your system).
不要转换文件! 这将花费时间并降低质量。 如果您不知道适当的扩展名是什么,请将文件重命名为FileName.vlc并将该扩展名与VLC Media Player关联(可以使用任何未使用的扩展名,但是系统上的其他任何东西都不太可能使用此扩展名) 。
Followed by the answer from Kamil Maciorowski:
随后是卡米尔·马西洛夫斯基(Kamil Maciorowski)的回答:
To anyone who has the same exact problem, do not let my answer misguide you. AFH’s answer is right, it is better to avoid converting the file altogether. Still, Henry asked for it, so Henry gets it.
对于完全相同的问题,请不要让我的答案误导您。 AFH的答案是正确的,最好避免完全转换文件。 尽管如此,亨利还是要求,所以亨利明白了。
If VLC Media Player can play this file, then it can likely convert it. There is Convert/Save entry in the File Menu (the actual entry may vary slightly depending on the UI language settings on your system). Add your file with the Add Button, then choose Convert from the drop down menu at the bottom. My installation of VLC Media Player has the mp3 profile right out of the box.
如果VLC Media Player可以播放此文件,则可以将其转换。 “文件”菜单中有“转换/保存”条目(实际条目可能会有所不同,具体取决于系统上的UI语言设置)。 使用“添加按钮”添加文件,然后从底部的下拉菜单中选择“转换”。 我安装的VLC Media Player具有开箱即用的mp3配置文件。
Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程。
翻译自: https://www.howtogeek.com/290133/how-do-you-convert-an-unknown-media-file-type-to-mp3/
c# json转换未知类型