![无法播放视频,不知道原因](https://linux22.com/image/984262/%E6%97%A0%E6%B3%95%E6%92%AD%E6%94%BE%E8%A7%86%E9%A2%91%EF%BC%8C%E4%B8%8D%E7%9F%A5%E9%81%93%E5%8E%9F%E5%9B%A0.png)
我有一段无法播放的视频影片,我试图找出原因,在 mediainfo -l 的输出中我得到了这个:
Complete name : 101064-HD-FR.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 1.54 GiB
Duration : 1h 26mn
Overall bit rate : 2 550 Kbps
Tagged date : UTC 2014-10-24 09:15:53
Writing application : Lavf56.1.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 4 frames
Codec ID : encv / avc1 / mp4a
Duration : 1h 26mn
Bit rate : 2 404 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.104
Stream size : 1.45 GiB (94%)
Tagged date : UTC 2014-10-24 09:15:53
Encryption : Encrypted
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1h 26mn
Duration_LastFrame : -5ms
Bit rate mode : Constant
Bit rate : 138 Kbps
Nominal bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 84.9 MiB (5%)
Tagged date : UTC 2014-10-24 09:15:53
Encryption : Encrypted
当尝试使用 mpv 玩游戏时(也尝试了其他播放器),我得到了这个:
[libav/audio] aac: Sample rate index in program config element does not match the sample rate index configured by the container.
[libav/audio] aac: Sample rate index in program config element does not match the sample rate index configured by the container.
[libav/audio] aac: Input buffer exhausted before END element found
[libav/demuxer] mov,mp4,m4a,3gp,3g2,mj2: max_analyze_duration 5000000 reached
(+) Video --vid=1 (*) (<unknown>)
(+) Audio --aid=1 --alang=und (*) (aac)
Failed to initialize a video decoder for codec '<unknown>'.
Video: no video
答案1
它是加密的。您需要可以播放 DRM 视频内容的软件以及相关密钥,才能解密并播放视频。