为什么没有为MP4文件显示文件属性?

我使用的是ubuntu 12.04。 我有一个.mp4video,我想将默认媒体播放器更改为vlc。

当我尝试通过右键单击该video来访问属性时。

在此处输入图像描述

我收到以下消息。 如何克服这一点。

在此处输入图像描述

输出mediainfo filename.mp4

 General Complete name : Interview with MIT Physics Professor Walter Lewin.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 10.7 MiB Duration : 3mn 41s Overall bit rate mode : Variable Overall bit rate : 407 Kbps Encoded date : UTC 2008-10-16 15:15:29 Tagged date : UTC 2008-10-16 15:15:29 gsst : 0 gstd : 221656 gssd : B4A7D0A24HH1345230487367165 gshh : oo---preferred---hkg05s03---v14---lscache4.c.youtube.com Video ID : 2 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L1.1 Format settings, CABAC : No Format settings, ReFrames : 1 frame Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 3mn 41s Bit rate : 280 Kbps Maximum bit rate : 997 Kbps Width : 352 pixels Height : 288 pixels Display aspect ratio : 1.222 Frame rate mode : Constant Frame rate : 29.970 fps Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.092 Stream size : 7.37 MiB (69%) Title : (C) 2007 Google Inc. v08.13.2007. Encoded date : UTC 2008-10-16 15:15:29 Tagged date : UTC 2008-10-16 15:15:29 Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 3mn 41s Bit rate mode : Variable Bit rate : 125 Kbps Maximum bit rate : 280 Kbps Channel(s) : 2 channels Channel positions : Front: LR Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 3.30 MiB (31%) Title : (C) 2007 Google Inc. v08.13.2007. Encoded date : UTC 2008-10-16 15:15:29 Tagged date : UTC 2008-10-16 15:15:29 

  • 这是Zeitgeist库中确认的错误 ,它向Ubuntu Apps(包括Nautilus)提供文件信息,并且似乎与从Youtube下载的MP4文件一起发生,这些文件使用基线级别1.1配置文件进行编码。 其他MP4文件不会发生这种情况。
  • 该文件可以在VLC中播放,但由于VLC内部包含所有编解码器,因此不会计数。
  • 在修复bug本身之前,没有真正的解决方法。
  • 要将默认播放器更改为VLC,只需从其他工作的MP4文件中进行操作,或按照此答案中的说明进行操作 。
  • 要显示这些video的缩略图,请按照此答案中的说明操作 。

以上步骤有效地使VLC默认播放器并正确显示所有video的缩略图(如下所示):

在此处输入图像描述

这是gstreamer中已知错误影响许多AVCvideo的结果,通常是Baseline@L2.1,Baseline @L1.1,尽管可能是其他一些。 https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad0.10/+bug/973014

在这里回答问题, 在12.04中 ,askubuntu Totem没有播放某些video

在Ubuntu或Debian中都没有采用upteam提交的方法,最好的自我解决方法是使用我提供的补丁来重建坏插件,尽管将libgstvideoparsersbad.so移动到.bak会提供一些缓解