[FFmpeg-trac] #6857(undetermined:new): mp4 encode to h264 can not play in the firefox and ie11, but fine in the chrome

FFmpeg trac at avcodec.org
Thu Nov 23 13:06:56 EET 2017


#6857: mp4 encode to h264 can not play in the firefox and ie11,but fine in the
chrome
-------------------------------------+-------------------------------------
             Reporter:  gy0624ww     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  h264 mov     |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by gy0624ww):

 [guanyue at stor2 ~]$ ffmpeg -i bad.mp4 -vcodec libx264 -strict 2  toobad.mp4



 ffmpeg version 3.3.4-static http://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2017 the FFmpeg developers
   built with gcc 6.4.0 (Debian 6.4.0-4) 20170820
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-
 libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libopenjpeg --enable-librubberband --enable-librtmp --enable-libsoxr
 --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora
 --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-
 libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-
 libzimg
   libavutil      55. 58.100 / 55. 58.100
   libavcodec     57. 89.100 / 57. 89.100
   libavformat    57. 71.100 / 57. 71.100
   libavdevice    57.  6.100 / 57.  6.100
   libavfilter     6. 82.100 /  6. 82.100
   libswscale      4.  6.100 /  4.  6.100
   libswresample   2.  7.100 /  2.  7.100
   libpostproc    54.  5.100 / 54.  5.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bad.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.71.100
   Duration: 00:00:38.36, start: 0.000000, bitrate: 879 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 720x400 [SAR 709:720 DAR 709:400], 741 kb/s, 25 fps, 25 tbr, 12800 tbn, 50
 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 88200 Hz,
 stereo, fltp, 128 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 [libx264 @ 0x54a0620] using SAR=709/720
 [libx264 @ 0x54a0620] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX FMA3 BMI2 AVX2
 [libx264 @ 0x54a0620] profile High, level 3.0
 [libx264 @ 0x54a0620] 264 - core 152 r19 ba24899 - H.264/MPEG-4 AVC codec
 - Copyleft 2003-2017 - 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=12
 lookahead_threads=2 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=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, mp4, to 'toobad.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.71.100
     Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021),
 yuv420p, 720x400 [SAR 709:720 DAR 709:400], q=-1--1, 25 fps, 12800 tbn, 25
 tbc (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc57.89.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
     Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 88200 Hz,
 stereo, fltp, 128 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
       encoder         : Lavc57.89.100 aac
 frame=  959 fps=284 q=-1.0 Lsize=    3898kB time=00:00:38.26 bitrate=
 834.6kbits/s speed=11.3x
 video:3254kB audio:602kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.100231%
 [libx264 @ 0x54a0620] frame I:4     Avg QP:19.57  size: 32435
 [libx264 @ 0x54a0620] frame P:334   Avg QP:22.57  size:  7165
 [libx264 @ 0x54a0620] frame B:621   Avg QP:26.76  size:  1302
 [libx264 @ 0x54a0620] consecutive B-frames:  9.1% 10.8%  8.8% 71.3%
 [libx264 @ 0x54a0620] mb I  I16..4: 17.1% 45.5% 37.4%
 [libx264 @ 0x54a0620] mb P  I16..4:  4.0%  9.6%  1.1%  P16..4: 40.5% 15.9%
 7.2%  0.0%  0.0%    skip:21.6%
 [libx264 @ 0x54a0620] mb B  I16..4:  0.3%  0.6%  0.0%  B16..8: 40.8%  4.7%
 0.8%  direct: 1.3%  skip:51.5%  L0:49.1% L1:44.1% BI: 6.8%
 [libx264 @ 0x54a0620] 8x8 transform intra:63.7% inter:58.9%
 [libx264 @ 0x54a0620] coded y,uvDC,uvAC intra: 41.5% 60.6% 11.0% inter:
 12.2% 13.9% 1.0%
 [libx264 @ 0x54a0620] i16 v,h,dc,p: 37% 28% 14% 21%
 [libx264 @ 0x54a0620] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 21% 23%  4%  3%
 4%  4%  4%  4%
 [libx264 @ 0x54a0620] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 23% 18%  4%  5%
 5%  5%  4%  4%
 [libx264 @ 0x54a0620] i8c dc,h,v,p: 54% 23% 20%  3%
 [libx264 @ 0x54a0620] Weighted P-Frames: Y:5.7% UV:2.4%
 [libx264 @ 0x54a0620] ref P L0: 70.4% 13.7% 12.8%  2.9%  0.1%
 [libx264 @ 0x54a0620] ref B L0: 93.8%  5.3%  0.9%
 [libx264 @ 0x54a0620] ref B L1: 98.1%  1.9%
 [libx264 @ 0x54a0620] kb/s:694.69
 [aac @ 0x53da280] Qavg: 340.530

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


More information about the FFmpeg-trac mailing list