h.264视频语音很好,但在iphone6 plus上没有视频图像

时间:2017-09-21 18:15:57

标签: ios iphone video encoding

我有一个包含H.264视频的.ts文件。 AAC音频(语音)部分很好,但文件在iPhone 6 Plus和iPhone 7上没有视频图像,同样的文件(它的视频和声音)在Android手机上都是正确的(操作系统是Android 6.0)。

我通过Potplayer播放视频:

  D:\pt\9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b.mp4_av_33.ts
  General #1
    ID : 1 (0x1)
    Complete name : D:\pt\9fb9bcd0b8026ca4af617bf97d81af30_ec9c5b.mp4_av_33.ts
    Format : MPEG-TS
    File size : 1.92 MiB
    Duration : 9s 0ms
    Overall bit rate mode : Variable
    Overall bit rate : 1 608 Kbps
  Video #256
    ID : 256 (0x100)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Format settings, GOP : M=3, N=25
    Codec ID : 27
    Duration : 10s 0ms
    Bit rate mode : Variable
    Maximum bit rate : 10 000 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Top Field First
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709
  Audio #257
    ID : 257 (0x101)
    Menu ID : 1 (0x1)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Muxing mode : ADTS
    Codec ID : 15
    Duration : 9s 984ms
    Bit rate mode : Variable
    Channel count : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Delay relative to video : -35ms
    Language : English
  Menu #4096
    ID : 4096 (0x1000)
    Menu ID : 1 (0x1)
    Duration : 9s 0ms
    List : 256 (0x100) (AVC) / 257 (0x101) (AAC, English)
    Language :  / English
    Service name : Service01
    Service provider : FFmpeg
    Service type : digital television

为了比较,这里是另一个版本的分析(这个有效):

  D:\pt\ed737c7f4596d3091da353e81b8c1bf0.mp4_av_87.ts
  General #1
    ID : 1 (0x1)
    Complete name : D:\pt\ed737c7f4596d3091da353e81b8c1bf0.mp4_av_87.ts
    Format : MPEG-TS
    File size : 2.22 MiB
    Duration : 9s 984ms
    Overall bit rate mode : Variable
    Overall bit rate : 1 865 Kbps
  Video #256
    ID : 256 (0x100)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.0
    Format settings, CABAC : No
    Format settings, ReFrames : 1 frame
    Codec ID : 27
    Duration : 9s 980ms
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
  Audio #257
    ID : 257 (0x101)
    Menu ID : 1 (0x1)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Muxing mode : ADTS
    Codec ID : 15
    Duration : 9s 984ms
    Bit rate mode : Variable
    Channel count : 2 channels
    Channel positions : Front: L R
    Sampling rate : 44.1 KHz
    Compression mode : Lossy
    Delay relative to video : 12ms
  Menu #4096
    ID : 4096 (0x1000)
    Menu ID : 1 (0x1)
    List : 256 (0x100) (AVC) / 257 (0x101) (AAC)
    Service name : Service01
    Service provider : FFmpeg
    Service type : digital television

以下是两个文件的mediainfo比较。

mediainfo comparison

我能想到的另一件事是High @L4.1等级,其中视频图像异常,而正常/通常等级为High @L3.0,但根据https://developer.apple.com Iphone 6及更高版本支持高@ L4.1

我的问题是导致这种情况发生的原因:配置文件High @L4.1的H.264无法在iPhone 6 Plus和iPhone 7上显示?

0 个答案:

没有答案