使用MediaInfo软件确定与视频相关的容器和编解码器?
问题描述:
我对与视频文件相关的技术方面的理解是非常基本的。 我们有一个媒体文件无法在普通的Microsoft Windows媒体播放器上播放。 我们想确定视频文件预期的容器和编解码器。 我们使用的MediaInfo软件来收集有关视频文件的技术信息使用MediaInfo软件确定与视频相关的容器和编解码器?
请告诉我,视频文件需要基于的MediaInfo软件分析出以下技术资料什么容器和编解码器:
General
Unique ID : 199699655166945097281031563218776713670 (0x963CC12BF5060B3082021A86238B69C6)
Complete name : D:\temp3\2014-03-28+Stanford+v+Pepperdine+3-0.mp4
Format : Matroska
Format version : Version 4/Version 2
File size : 230 MiB
Duration : 2h 5mn
Overall bit rate : 257 Kbps
Encoded date : UTC 2014-03-29 05:14:28
Writing application : mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00
Writing library : libebml v1.3.0 + libmatroska v1.4.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=32
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 5mn
Bit rate : 252 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.009
Stream size : 226 MiB (98%)
Title : Video
Language : English
Default : Yes
Forced : No
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
答
- .MP4文件 - 预计这是一个兼容MPEG-4 Part 14的容器文件,然而MediaInfo会将其检测为Matroska文件,并且正确的扩展名为.MKV
- MPEG-4第10部分也称为H.264视频流中的文件,视频编码/编解码器
我从注释中把这个了:
我建议你重新编码(更具体地说,重新复用或重新MUX)的文件转换成H.264的MP4文件。该文件将保持相同的视频,它应该可以通过股票Windows 7.播放FFmpeg可以处理转换。
如果视频文件是MPEG-4的容器内,并采用H.264编解码器,那么为什么不标准的Microsoft Windows Media Player播放文件?这很奇怪,我们不应该安装任何编解码器才能使其工作。它应该可以在没有任何单独编解码器安装的情况下在Windows 7或8附带的标准Microsoft Windows Media Player上工作。为什么它无法在我的Windows计算机上播放? – user1338998 2014-10-11 12:55:16
对不起,我错过了MediaInfo将文件检测为Matroska/MKV的部分,请参阅上面的更新回答。这解释了WMP的行为 - 它不提供对MKV的支持(它确实提供了MP4支持,但仅在Windows 7以后) – 2014-10-11 12:58:27
有没有办法获得包含正确MKV(Matroska)容器规格的特定文件,以便我们可以一些如何安装在标准的Windows 7计算机上? – user1338998 2014-10-11 13:06:28