【问题标题】:Video.js incompatible with mp4 videoVideo.js 与 mp4 视频不兼容
【发布时间】:2013-09-14 14:44:47
【问题描述】:

我的代码不适用于手机录制的视频 (MP4)。

已经测试过其他视频mp4,可以正常使用。

他不支持可视电话吗?

Video Features :

Format : MPEG - 4
Format profile: Base Media
Codec ID : isom
File size: 29.8 MiB
Duration : 21mn 2s
Overall bit rate: 198 Kbps
Writing application : Lavf52.84.0

Video
ID: 1
Format : MPEG - 4 Visual
Format profile: Simple @ L1
Format settings , BVOP : No
Format settings , QPEL On
Format settings , GMC : No warppoints
Format settings , Matrix : Default ( H.263 )
Codec ID: 20
Duration : 21mn 2s
Bit rate: 97.5 Kbps
Width : 176 pixels
Height : 144 pixels
Display aspect ratio : 1.222
Frame rate mode: Constant
Frame rate: 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type: Progressive
Compression mode: Lossy
Bits / ( Pixel * Frame) : 0.128
Stream size: 14.7 MiB ( 49 % )
Writing library : Lavc52.97.0

audio
ID: 2
Format : MPEG Audio
Format version: Version 1
Format profile: Layer 3
Mode: Joint stereo
Mode extension: MS Stereo
Codec ID: 6B
Duration : 21mn 2s
Bit rate mode: Constant
Bit rate: 96.0 Kbps
Channel ( s ) : 2 channels
Sampling rate: 44.1 KHz
Compression mode: Lossy
Stream size: 14.4 MiB ( 48 % )
Writing library : LAME3.98.4

【问题讨论】:

    标签: video.js


    【解决方案1】:

    您的视频格式是 MPEG-4 Visual,Chrome 不支持该格式。 http://code.google.com/p/chromium/issues/detail?id=54036

    这令人困惑,但这与使用 h.264 编解码器的更标准的 MP4 文件不同。您的信息应如下所示:

    General
    Complete name                            : filename.mp4
    Format                                   : MPEG-4
    Format profile                           : Base Media
    Codec ID                                 : isom
    ...
    
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : Baseline@L3.0
    Format settings, CABAC                   : No
    Format settings, ReFrames                : 2 frames
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    ...
    

    尝试使用HandBrakeZencoder 之类的方式对视频进行转码。

    【讨论】:

      猜你喜欢
      • 2014-04-16
      • 2012-11-27
      • 2021-07-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多