Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created October 29, 2017 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anildigital/352b571d8ec66a1a5ae7e3c9a4c4fa97 to your computer and use it in GitHub Desktop.
Save anildigital/352b571d8ec66a1a5ae7e3c9a4c4fa97 to your computer and use it in GitHub Desktop.
$ ffmpeg -i output.mp4 -i output.opus final1234.mp4
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.37)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff5f2802e00] st: 0 edit list: 1 Missing key frame while searching for timestamp: 0
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
[h264 @ 0x7ff5f2803400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2803400] decode_slice_header error
[h264 @ 0x7ff5f2803400] no frame!
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:00:05.20, start: 0.000000, bitrate: 65 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 62 kb/s, 27.68 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
Input #1, ogg, from 'output.opus':
Duration: 00:00:03.82, start: -0.020000, bitrate: 26 kb/s
Stream #1:0: Audio: opus, 48000 Hz, stereo, fltp
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #1:0 -> #0:1 (opus (native) -> aac (native))
Press [q] to stop, [?] for help
[h264 @ 0x7ff5f3802800] non-existing PPS 0 referenced
[h264 @ 0x7ff5f3802800] decode_slice_header error
[h264 @ 0x7ff5f3802800] no frame!
[h264 @ 0x7ff5f3802e00] non-existing PPS 0 referenced
[h264 @ 0x7ff5f3802e00] decode_slice_header error
[h264 @ 0x7ff5f3802e00] no frame!
[h264 @ 0x7ff5f300e400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f300e400] decode_slice_header error
[h264 @ 0x7ff5f300e400] no frame!
[h264 @ 0x7ff5f281c400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f281c400] decode_slice_header error
[h264 @ 0x7ff5f281c400] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x7ff5f2808600] non-existing PPS 0 referenced
[h264 @ 0x7ff5f2808600] decode_slice_header error
[h264 @ 0x7ff5f2808600] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x7ff5f3802800] non-existing PPS 0 referenced
[h264 @ 0x7ff5f3802800] decode_slice_header error
[h264 @ 0x7ff5f3802800] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x7ff5f3802e00] non-existing PPS 0 referenced
[h264 @ 0x7ff5f3802e00] decode_slice_header error
[h264 @ 0x7ff5f3802e00] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x7ff5f300e400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f300e400] decode_slice_header error
[h264 @ 0x7ff5f300e400] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x7ff5f281c400] non-existing PPS 0 referenced
[h264 @ 0x7ff5f281c400] decode_slice_header error
[h264 @ 0x7ff5f281c400] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 3 times
[libx264 @ 0x7ff5f3800000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7ff5f3800000] profile High, level 3.0
[libx264 @ 0x7ff5f3800000] 264 - core 148 r2795 aaa9aa8 - 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=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=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 'final1234.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.83.100
Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 640x480, q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.107.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc57.107.100 aac
frame= 147 fps=124 q=-1.0 Lsize= 197kB time=00:00:05.10 bitrate= 316.2kbits/s dup=12 drop=0 speed=4.31x
video:132kB audio:60kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.960209%
[libx264 @ 0x7ff5f3800000] frame I:2 Avg QP:16.54 size: 8546
[libx264 @ 0x7ff5f3800000] frame P:49 Avg QP:19.95 size: 1832
[libx264 @ 0x7ff5f3800000] frame B:96 Avg QP:21.51 size: 283
[libx264 @ 0x7ff5f3800000] consecutive B-frames: 6.1% 15.0% 16.3% 62.6%
[libx264 @ 0x7ff5f3800000] mb I I16..4: 18.4% 64.5% 17.1%
[libx264 @ 0x7ff5f3800000] mb P I16..4: 4.2% 5.4% 1.0% P16..4: 14.9% 4.5% 1.4% 0.0% 0.0% skip:68.7%
[libx264 @ 0x7ff5f3800000] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 18.3% 0.4% 0.0% direct: 0.4% skip:80.6% L0:45.5% L1:53.8% BI: 0.6%
[libx264 @ 0x7ff5f3800000] 8x8 transform intra:54.5% inter:82.3%
[libx264 @ 0x7ff5f3800000] coded y,uvDC,uvAC intra: 34.1% 46.5% 16.7% inter: 2.0% 3.4% 0.1%
[libx264 @ 0x7ff5f3800000] i16 v,h,dc,p: 19% 58% 6% 17%
[libx264 @ 0x7ff5f3800000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 36% 15% 2% 2% 2% 3% 2% 3%
[libx264 @ 0x7ff5f3800000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 38% 8% 2% 4% 3% 4% 2% 2%
[libx264 @ 0x7ff5f3800000] i8c dc,h,v,p: 59% 24% 12% 5%
[libx264 @ 0x7ff5f3800000] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x7ff5f3800000] ref P L0: 76.6% 8.8% 11.4% 3.1%
[libx264 @ 0x7ff5f3800000] ref B L0: 86.7% 12.2% 1.2%
[libx264 @ 0x7ff5f3800000] ref B L1: 96.4% 3.6%
[libx264 @ 0x7ff5f3800000] kb/s:218.87
[aac @ 0x7ff5f3801800] Qavg: 413.009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment