X:\ffmpeg>ffmpeg -rtsp_transport tcp -i "rtsp://[censored]/h264/ch3/sub/av_stream" -c:v libx264 -y "X:\h264frames\libx264rtsp.mp4" ffmpeg version N-89505-g7c1a78b6af Copyright (c) 2000-2017 the FFmpeg developers built with Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86 configuration: --toolchain=msvc --disable-ffserver --disable-doc --disable-encoders --disable-decoders --disable-filters --disable-demuxers --disable-muxers --disable-protocols --disable-parsers --disable-hwaccels --disable-bsfs --disable-indevs --disable-outdevs --enable-libx264 --enable-libmfx --disable-swscale-alpha --enable-gpl --enable-decoder='mjpeg,mjpegb,mpeg4,h264,h264_qsv,h264_cuvid' --enable-encoder='mpeg4,h264,h264_qsv,libx264,mjpeg_qsv,h264_nvenc' --enable-demuxer='rtsp,rtp,sdp,yuv4mpegpipe' --enable-muxer='mp4,h264,yuv4mpegpipe' --enable-protocol='file,rtp,srtp,http,https,httpproxy' --enable-parser='h264,mpeg4video' --enable-hwaccel='h264_qsv,h264_cuvid,h264_d3d11va2,mjpeg_cuvid,mpeg4_cuvid,h264_dxva2' --enable-filter=scale libavutil 56. 5.100 / 56. 5.100 libavcodec 58. 7.100 / 58. 7.100 libavformat 58. 3.100 / 58. 3.100 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 7.100 / 7. 7.100 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.101 / 3. 0.101 libpostproc 55. 0.100 / 55. 0.100 Input #0, rtsp, from 'rtsp://[censored]/h264/ch3/sub/av_stream': Metadata: title : Media Server V3.5.20 comment : Media Server Session Description : standard Duration: N/A, start: 0.953333, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 704x480, 6 fps, 6.25 tbr, 90k tbn, 12 tbc Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 057B23C0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 UnalignedStack [libx264 @ 057B23C0] profile High, level 2.2 [libx264 @ 057B23C0] 264 - core 152 r2851 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=6 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 'X:\h264frames\libx264rtsp.mp4': Metadata: title : Media Server V3.5.20 comment : Media Server Session Description : standard encoder : Lavf58.3.100 Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 704x480, q=-1--1, 6.25 fps, 12800 tbn, 6.25 tbc Metadata: encoder : Lavc58.7.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 frame= 148 fps=7.6 q=-1.0 Lsize= 932kB time=00:00:23.20 bitrate= 329.0kbits/s dup=0 drop=4 speed=1.19x video:929kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.286112% [libx264 @ 057B23C0] frame I:1 Avg QP:18.14 size: 48829 [libx264 @ 057B23C0] frame P:49 Avg QP:17.50 size: 17256 [libx264 @ 057B23C0] frame B:98 Avg QP:23.52 size: 575 [libx264 @ 057B23C0] consecutive B-frames: 1.4% 31.1% 0.0% 67.6% [libx264 @ 057B23C0] mb I I16..4: 11.4% 40.2% 48.4% [libx264 @ 057B23C0] mb P I16..4: 0.7% 2.6% 0.8% P16..4: 36.9% 15.4% 11.0% 0.0% 0.0% skip:32.5% [libx264 @ 057B23C0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 18.8% 0.4% 0.1% direct: 0.3% skip:80.5% L0:56.2% L1:40.3% BI: 3.5% [libx264 @ 057B23C0] 8x8 transform intra:55.6% inter:37.2% [libx264 @ 057B23C0] coded y,uvDC,uvAC intra: 83.1% 55.8% 22.4% inter: 16.1% 15.8% 2.6% [libx264 @ 057B23C0] i16 v,h,dc,p: 17% 16% 30% 38% [libx264 @ 057B23C0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 25% 20% 5% 5% 4% 10% 8% 7% [libx264 @ 057B23C0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 28% 18% 6% 6% 4% 10% 5% 6% [libx264 @ 057B23C0] i8c dc,h,v,p: 39% 29% 22% 10% [libx264 @ 057B23C0] Weighted P-Frames: Y:4.1% UV:0.0% [libx264 @ 057B23C0] ref P L0: 59.0% 11.4% 11.0% 18.5% 0.1% [libx264 @ 057B23C0] ref B L0: 84.2% 15.1% 0.7% [libx264 @ 057B23C0] ref B L1: 99.0% 1.0% [libx264 @ 057B23C0] kb/s:321.18 Exiting normally, received signal 2.