Quicktime无法播放h264 aac编码文件-为什么?

问题描述 投票:0回答:1

当我尝试播放mp4文件时,Quicktime说“此文件与quicktime播放器不兼容”。

该信息显示编码为:H.264,AAC,QuickTime文本

该文件在VLC中可以正常播放。我在iTunes资料库中需要此文件,以便可以流式传输它,因此,此问题的重要性。

奇怪的是,我还有其他文件具有类似的代码,QT可以正常播放。如何检查此文件为什么不兼容?

这是ffprobe的日志:

ffprobe test4.mp4

ffprobe version 4.2.1 Copyright (c) 2007-2019 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.1_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test4.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Joker
    encoder         : Lavf58.29.100
  Duration: 00:34:49.05, start: 0.000000, bitrate: 78 kb/s
    Chapter #0:0: start 0.000000, end 602.942000
    Metadata:
      title           : Chapter 10
    Chapter #0:1: start 602.942000, end 1130.427000
    Metadata:
      title           : Chapter 11
    Chapter #0:2: start 1130.427000, end 1725.063000
    Metadata:
      title           : Chapter 12
    Chapter #0:3: start 1725.063000, end 2089.052000
    Metadata:
      title           : Chapter 13
    Stream #0:0(und): Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le, 1920x1080 [SAR 180:173 DAR 320:173], 2295 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 6 channels, fltp, 394 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 100359 for input stream 2
compatibility h.264 quicktime aac
1个回答
0
投票
Stream #0:0(und): Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le, 1920x1080 [SAR 180:173 DAR 320:173], 2295 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)

Quicktime无法播放10位h.264,因此:

此文件与QuickTime播放器不兼容

© www.soinside.com 2019 - 2024. All rights reserved.