ffmpeg

mail@pastecode.io avatar
unknown
plain_text
2 years ago
6.7 kB
10
Indexable
Never
COMMAND:

ffmpeg -i [SIGNED_URL] -filter_complex "[0]scale=-1:360[s0]" -map "[s0]" -f mp4 -ac 1 -ar 44100 -b:a 128k -b:v 1M -bufsize 1M -c:a aac -c:v libx264 -maxrate 1M -movflags frag_keyframe+empty_moov+default_base_moof -



FFMPEG OUTPUT LOG:

ffmpeg version 4.3.2-0+deb11u2 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr --extra-version=0+deb11u2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://storage.googleapis.com/testes-assetway/video_test.m4v?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=ffmpeg-converter%40assetway-dev-things.iam.gserviceaccount.com%2F20210903%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20210903T155433Z&X-Goog-Expires=86399&X-Goog-SignedHeaders=host&X-Goog-Signature=3454a63d923f812c20d3b62784c4257f47b6fade918087ec266b01e2ce8c308ed080c238e396e88f92441eabc82d763b170eb8e742b89202e1141dd013f4eb85700bf9c661d71b456e45376d359623c4252abbcd909fe5e997c1a1b17d5b409fdc58510906e112eef482b134bbe153b7650ff2dccfdd0642fcedcb0fd1d0512e5d1b6e754130f3a8b0cb655b6c3c83e0c211b4b6fcc96eefa26ffbb99036e2648f2bb91dfd2942facc0b8686c319529dd78e5900b473f8d5391efaaad42b3dcf9219d499c09744387773732f9eb0a422781c7eca8ad696322e1d23a2983238e8b44933e01c73494660bd40b4c4471a073c8ab9b55773849cd6c0d388135824ce':
  Metadata:
    major_brand     : M4V 
    minor_version   : 512
    compatible_brands: isomiso2avc1
    encoder         : Lavf58.27.103
  Duration: 00:07:43.22, start: 0.000000, bitrate: 1628 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1493 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 08/19/2019.
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 08/19/2019.
Stream mapping:
  Stream #0:0 (h264) -> scale
  scale -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[libx264 @ 0x55f9de61c540] using SAR=1/1
[libx264 @ 0x55f9de61c540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55f9de61c540] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x55f9de61c540] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=11 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=cbr mbtree=1 bitrate=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=1000 vbv_bufsize=1000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'pipe:':
  Metadata:
    major_brand     : M4V 
    minor_version   : 512
    compatible_brands: isomiso2avc1
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 1000000/0/1000000 buffer size: 1000000 vbv_delay: N/A
frame=13896 fps=186 q=-1.0 Lsize=   51734kB time=00:07:43.10 bitrate= 915.2kbits/s speed= 6.2x    s speed= 4.6x    
video:51617kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.226511%
[libx264 @ 0x55f9de61c540] frame I:59    Avg QP:12.38  size: 72277
[libx264 @ 0x55f9de61c540] frame P:4431  Avg QP:13.52  size:  8189
[libx264 @ 0x55f9de61c540] frame B:9406  Avg QP:19.43  size:  1308
[libx264 @ 0x55f9de61c540] consecutive B-frames:  6.5%  7.0%  8.5% 78.1%
[libx264 @ 0x55f9de61c540] mb I  I16..4:  8.1% 42.3% 49.6%
[libx264 @ 0x55f9de61c540] mb P  I16..4:  1.3%  4.9%  1.7%  P16..4: 34.8%  8.2%  9.4%  0.0%  0.0%    skip:39.7%
[libx264 @ 0x55f9de61c540] mb B  I16..4:  0.2%  0.9%  0.2%  B16..8: 16.3%  3.9%  1.8%  direct: 2.2%  skip:74.5%  L0:39.9% L1:53.3% BI: 6.9%
[libx264 @ 0x55f9de61c540] 8x8 transform intra:60.9% inter:53.0%
[libx264 @ 0x55f9de61c540] coded y,uvDC,uvAC intra: 70.0% 80.4% 53.9% inter: 13.2% 12.5% 4.2%
[libx264 @ 0x55f9de61c540] i16 v,h,dc,p: 39% 27% 13% 21%
[libx264 @ 0x55f9de61c540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 21% 20%  3%  8%  8%  6%  4%  6%
[libx264 @ 0x55f9de61c540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 23% 11%  5% 10%  9%  9%  5%  7%
[libx264 @ 0x55f9de61c540] i8c dc,h,v,p: 46% 26% 22%  6%
[libx264 @ 0x55f9de61c540] Weighted P-Frames: Y:2.1% UV:1.2%
[libx264 @ 0x55f9de61c540] ref P L0: 75.4% 12.5%  8.8%  3.3%  0.0%
[libx264 @ 0x55f9de61c540] ref B L0: 87.4% 10.4%  2.3%
[libx264 @ 0x55f9de61c540] ref B L1: 94.6%  5.4%
[libx264 @ 0x55f9de61c540] kb/s:912.87