Skip to content

Instantly share code, notes, and snippets.

@thnee
Created May 7, 2019 12:47
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 thnee/35c4dc06652d239d11d509d7e8a880a4 to your computer and use it in GitHub Desktop.
Save thnee/35c4dc06652d239d11d509d7e8a880a4 to your computer and use it in GitHub Desktop.
λ ffmpeg -v debug -re -i big_buck_bunny_480p_surround-fix.avi -f h264 rtmp://172.17.0.2
ffmpeg version 4.1.1-1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Debian 8.2.0-20)
configuration: --prefix=/usr --extra-version=1 --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-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --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-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --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-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument 'big_buck_bunny_480p_surround-fix.avi'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'h264'.
Reading option 'rtmp://172.17.0.2' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url big_buck_bunny_480p_surround-fix.avi.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: big_buck_bunny_480p_surround-fix.avi.
[NULL @ 0x56408ebf5800] Opening 'big_buck_bunny_480p_surround-fix.avi' for reading
[file @ 0x56408ebf6280] Setting default whitelist 'file,crypto'
[avi @ 0x56408ebf5800] Format avi probed with size=2048 and score=100
[avi @ 0x56408ebf6580] use odml:1
[avi @ 0x56408ebf5800] Before avformat_find_stream_info() pos: 8532 bytes read:589136 seeks:4 nb_streams:2
[mpeg4 @ 0x56408ebf7180] Format yuv420p chosen by get_format().
[avi @ 0x56408ebf5800] All info found
[avi @ 0x56408ebf5800] After avformat_find_stream_info() pos: 16648 bytes read:589136 seeks:4 frames:2
Input #0, avi, from 'big_buck_bunny_480p_surround-fix.avi':
Duration: 00:09:56.46, start: 0.000000, bitrate: 2957 kb/s
Stream #0:0, 1, 1/24: Video: mpeg4 (Simple Profile), 1 reference frame (FMP4 / 0x34504D46), yuv420p(left), 854x480 [SAR 1:1 DAR 427:240], 0/1, 2500 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
Stream #0:1, 1, 1/56000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
Successfully opened the file.
Parsing a group of options: output url rtmp://172.17.0.2.
Applying option f (force format) with argument h264.
Successfully parsed a group of options.
Opening an output file: rtmp://172.17.0.2.
[rtmp @ 0x56408ec16ec0] No default whitelist set
[tcp @ 0x56408ec1b600] No default whitelist set
[tcp @ 0x56408ec1b600] Original list of addresses:
[tcp @ 0x56408ec1b600] Address 172.17.0.2 port 1935
[tcp @ 0x56408ec1b600] Interleaved list of addresses:
[tcp @ 0x56408ec1b600] Address 172.17.0.2 port 1935
[tcp @ 0x56408ec1b600] Starting connection attempt to 172.17.0.2 port 1935
[tcp @ 0x56408ec1b600] Successfully connected to 172.17.0.2 port 1935
[rtmp @ 0x56408ec16ec0] Handshaking...
[rtmp @ 0x56408ec16ec0] Type answer 3
[rtmp @ 0x56408ec16ec0] Server version 13.14.10.13
[rtmp @ 0x56408ec16ec0] Proto = rtmp, path = , app = , fname =
rtmp://172.17.0.2: Input/output error
[AVIOContext @ 0x56408ebfe600] Statistics: 589136 bytes read, 4 seeks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment