[FFmpeg-trac] #5882(undetermined:new): Certain x264 videos do not play on Apple decoders (Quicktime/iTunes/iPad)

FFmpeg trac at avcodec.org
Mon Oct 10 22:55:41 EEST 2016


#5882: Certain x264 videos do not play on Apple decoders (Quicktime/iTunes/iPad)
-------------------------------------+-------------------------------------
             Reporter:  Technologov  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by Technologov):

 ffmpeg-git output. Video was cut to 8 minutes, and audio track removed.

 {{{
 alexey at deb9ws:~$ /usr/local/bin/ffmpeg -y -i /tmp/Pocahontas2.avi -map 0:0
 -b:v 400k -pix_fmt yuv420p -to 00:08:00 /mnt/E/Video-MPEG4-AVC-
 test/Pocahontas2_test8min.mp4
 ffmpeg version N-81947-gc45ba26-1 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 6.1.1 (Debian 6.1.1-11) 20160802
   configuration: --extra-version=1 --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping
 --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-
 avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-
 libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
 libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig
 --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
 --enable-libmodplug --enable-libmp3lame --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-
 libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-
 libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-
 libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-
 libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab
 --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r
 --enable-chromaprint --enable-libopencv --enable-libx264
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 61.100 / 57. 61.100
   libavformat    57. 51.103 / 57. 51.103
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, avi, from '/tmp/Pocahontas2.avi':
   Metadata:
     encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
     title           :
 Pokahontas.2.Puteshestvie.V.Novyj.Mir.1998.DUAL.BDRip.XviD.AC3.-HELLYWOOD
     artist          : Gummy
   Duration: 01:13:09.84, start: 0.000000, bitrate: 2841 kb/s
     Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
 0x44495658), yuv420p, 704x400 [SAR 1:1 DAR 44:25], 1930 kb/s, 23.98 fps,
 23.98 tbr, 23.98 tbn, 23.98 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
 fltp, 448 kb/s
     Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
 fltp, 448 kb/s
 [libx264 @ 0x1b4d760] using SAR=1/1
 [libx264 @ 0x1b4d760] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
 [libx264 @ 0x1b4d760] profile High, level 3.0
 [libx264 @ 0x1b4d760] 264 - core 148 r2708 86b7198 - H.264/MPEG-4 AVC
 codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options:
 cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=400
 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, mp4, to '/mnt/E/Video-MPEG4-AVC-test/Pocahontas2_test8min.mp4':
   Metadata:
     artist          : Gummy
     title           :
 Pokahontas.2.Puteshestvie.V.Novyj.Mir.1998.DUAL.BDRip.XviD.AC3.-HELLYWOOD
     encoder         : Lavf57.51.103
     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p,
 704x400 [SAR 1:1 DAR 44:25], q=-1--1, 400 kb/s, 23.98 fps, 10000k tbn,
 23.98 tbc
     Metadata:
       encoder         : Lavc57.61.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/400000 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 frame=11509 fps=190 q=-1.0 Lsize=   25525kB time=00:07:59.89 bitrate=
 435.7kbits/s dup=1 drop=0 speed=7.91x
 video:25395kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.511982%
 [libx264 @ 0x1b4d760] frame I:136   Avg QP:18.03  size: 24593
 [libx264 @ 0x1b4d760] frame P:3397  Avg QP:22.66  size:  4187
 [libx264 @ 0x1b4d760] frame B:7976  Avg QP:26.52  size:  1058
 [libx264 @ 0x1b4d760] consecutive B-frames:  3.7%  6.0% 16.7% 73.5%
 [libx264 @ 0x1b4d760] mb I  I16..4: 13.5% 68.9% 17.6%
 [libx264 @ 0x1b4d760] mb P  I16..4:  1.7%  5.7%  2.1%  P16..4: 29.1%  9.3%
 5.7%  0.0%  0.0%    skip:46.4%
 [libx264 @ 0x1b4d760] mb B  I16..4:  0.1%  0.5%  0.4%  B16..8: 23.1%  2.7%
 0.7%  direct: 0.9%  skip:71.7%  L0:47.6% L1:49.1% BI: 3.4%
 [libx264 @ 0x1b4d760] final ratefactor: 25.11
 [libx264 @ 0x1b4d760] 8x8 transform intra:61.0% inter:68.8%
 [libx264 @ 0x1b4d760] coded y,uvDC,uvAC intra: 53.3% 57.9% 30.5% inter:
 5.7% 7.2% 0.8%
 [libx264 @ 0x1b4d760] i16 v,h,dc,p: 28% 29% 13% 30%
 [libx264 @ 0x1b4d760] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 18% 31%  4%  4%
 5%  5%  5%  5%
 [libx264 @ 0x1b4d760] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 16% 23%  6%  6%
 7%  7%  6%  5%
 [libx264 @ 0x1b4d760] i8c dc,h,v,p: 56% 20% 19%  4%
 [libx264 @ 0x1b4d760] Weighted P-Frames: Y:3.6% UV:3.1%
 [libx264 @ 0x1b4d760] ref P L0: 66.2% 10.1% 16.4%  7.2%  0.1%
 [libx264 @ 0x1b4d760] ref B L0: 87.0% 10.2%  2.8%
 [libx264 @ 0x1b4d760] ref B L1: 96.0%  4.0%
 [libx264 @ 0x1b4d760] kb/s:433.38
 }}}

 ...The resulting video fragment (8 minutes) is somehow incompatible with
 Apple decoders.

 Link to video fragment:
 https://drive.google.com/open?id=0BycgkMZbeQOzZDhZV2Q4T29TZkE

 -Technologov

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5882#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list