Skip to content

Instantly share code, notes, and snippets.

@rdp
Created October 6, 2018 15:31
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 rdp/43bbfd8a4d057b03b62d240ef21355fb to your computer and use it in GitHub Desktop.
Save rdp/43bbfd8a4d057b03b62d240ef21355fb to your computer and use it in GitHub Desktop.
ffmpeg -re -f lavfi -i testsrc -c:v libx264 -x264opts nal-hrd=cbr -b:v 2200k -minrate 2200k -maxrate 2200k -bufsize 220k -muxrate 2600k -pcr_period 30 -c:a mp2 -b:a 192k -ac 2 -f mpegts "udp://239.1.1.1:10000?pkt_size=1316"
ffmpeg version N-89340-g5a366f9-Reino Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)
configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/rogerdpack/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Reino --enable-gray --enable-version3 --disable-debug --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-w32threads --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCACA_STATIC --enable-gpl --enable-avisynth --enable-frei0r --enable-filter=frei0r --enable-librubberband --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libmfx --enable-avresample --extra-cflags='-mtune=generic' --extra-cflags=-O3 --enable-static --disable-shared --prefix=/home/rogerdpack/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32
libavutil 56. 4.100 / 56. 4.100
libavcodec 58. 6.102 / 58. 6.102
libavformat 58. 2.103 / 58. 2.103
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 5.100 / 7. 5.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, lavfi, from 'testsrc':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 07161b00] using SAR=1/1
[libx264 @ 07161b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 07161b00] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-bit
Output #0, mpegts, to 'udp://239.1.1.1:10000?pkt_size=1316':
Metadata:
encoder : Lavf58.2.103
Stream #0:0: Video: h264 (libx264), yuv444p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 2200 kb/s, 25 fps, 90k tbn, 25 tbc
Metadata:
encoder : Lavc58.6.102 libx264
Side data:
cpb: bitrate max/min/avg: 2200000/0/2200000 buffer size: 220000 vbv_delay: -1
frame= 5875 fps= 25 q=-1.0 Lsize= 74583kB time=00:03:54.88 bitrate=2601.3kbits/s speed=0.998x
video:63108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 18.184229%
[libx264 @ 07161b00] frame I:24 Avg QP: 5.66 size: 10885
[libx264 @ 07161b00] frame P:1625 Avg QP: 0.16 size: 11000
[libx264 @ 07161b00] frame B:4226 Avg QP: 1.08 size: 11000
[libx264 @ 07161b00] consecutive B-frames: 1.7% 0.0% 21.3% 76.9%
[libx264 @ 07161b00] mb I I16..4: 41.8% 25.8% 32.4%
[libx264 @ 07161b00] mb P I16..4: 7.8% 0.6% 0.3% P16..4: 6.5% 3.4% 3.9% 0.0% 0.0% skip:77.5%
[libx264 @ 07161b00] mb B I16..4: 1.1% 2.2% 0.0% B16..8: 4.7% 1.8% 0.4% direct: 6.2% skip:83.6% L0:46.5% L1:42.1% BI:11.4%
[libx264 @ 07161b00] 8x8 transform intra:36.0% inter:29.9%
[libx264 @ 07161b00] coded y,u,v intra: 5.1% 19.7% 21.0% inter: 4.7% 6.7% 7.2%
[libx264 @ 07161b00] i16 v,h,dc,p: 99% 0% 0% 0%
[libx264 @ 07161b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 98% 0% 1% 0% 0% 0% 0% 0% 0%
[libx264 @ 07161b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 34% 14% 1% 1% 1% 0% 1% 0%
[libx264 @ 07161b00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 07161b00] ref P L0: 85.6% 1.8% 8.0% 4.6%
[libx264 @ 07161b00] ref B L0: 78.2% 19.1% 2.7%
[libx264 @ 07161b00] ref B L1: 92.2% 7.8%
[libx264 @ 07161b00] kb/s:2199.91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment