root@hub:~# ffmpeg -rtsp_transport tcp -i "rtsp://tapoadmin:5555555@192.168.9.21:554/stream2" -vcodec copy -acodec aac -y /tmp/ffmpeg_tcp.mp4 ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --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-lib opus --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 --en able-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enabl e-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 Guessed Channel Layout for Input Stream #0.1 : mono Input #0, rtsp, from 'rtsp://tapoadmin:55555555@192.168.9.21:554/stream2': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream2 Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 640x360, 15 fps, 28.58 tbr, 90k tbn, 30 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native)) Press [q] to stop, [?] for help [aac @ 0x557a2a8b43c0] Too many bits 8832.000000 > 6144 per frame requested, clamping to max Output #0, mp4, to '/tmp/ffmpeg_tcp.mp4': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream2 encoder : Lavf58.20.100 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 640x360, q=2-31, 15 fps, 28.58 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s Metadata: encoder : Lavc58.35.100 aac [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38100, current: 6300; changing to 38101. This may result in incorrect timestamps in th e output file. [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38101, current: 12600; changing to 38102. This may result in incorrect timestamps in t he output file. [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38102, current: 18900; changing to 38103. This may result in incorrect timestamps in t he output file. [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38103, current: 25201; changing to 38104. This may result in incorrect timestamps in t he output file. [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38104, current: 31500; changing to 38105. This may result in incorrect timestamps in t he output file. [mp4 @ 0x557a2a8d16c0] Non-monotonous DTS in output stream 0:0; previous: 38105, current: 37800; changing to 38106. This may result in incorrect timestamps in t he output file. frame= 112 fps= 19 q=-1.0 Lsize= 196kB time=00:00:13.19 bitrate= 121.8kbits/s speed=2.22x video:151kB audio:42kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.768275% [aac @ 0x557a2a8b43c0] Qavg: 311.032 Exiting normally, received signal 2. root@hub:~# ffmpeg -rtsp_transport tcp -i "rtsp://tapoadmin:X5555551@192.168.9.21:554/stream1" -vcodec copy -acodec aac -y /tmp/ffmpeg_tcp_.mp4 ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --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 Guessed Channel Layout for Input Stream #0.1 : mono Input #0, rtsp, from 'rtsp://tapoadmin:X55555551@192.168.9.21:554/stream1': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 15 fps, 14.29 tbr, 90k tbn, 30 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native)) Press [q] to stop, [?] for help [aac @ 0x55d9a4d32900] Too many bits 8832.000000 > 6144 per frame requested, clamping to max Output #0, mp4, to '/tmp/ffmpeg_tcp_.mp4': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 encoder : Lavf58.20.100 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080, q=2-31, 15 fps, 14.29 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s Metadata: encoder : Lavc58.35.100 aac [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38100, current: 6303; changing to 38101. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38101, current: 12600; changing to 38102. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38102, current: 18900; changing to 38103. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38103, current: 25200; changing to 38104. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38104, current: 31500; changing to 38105. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:0; previous: 38105, current: 37800; changing to 38106. This may result in incorrect timestamps in the output file. [rtsp @ 0x55d9a4d13840] CSeq 6 expected, 0 received. [aac @ 0x55d9a4d32900] Queue input is backward in time10.71 bitrate= 391.7kbits/s speed=1.21x [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87790, current: 44241; changing to 87791. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87791, current: 45224; changing to 87792. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87792, current: 46252; changing to 87793. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87793, current: 47279; changing to 87794. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87794, current: 48318; changing to 87795. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87795, current: 49328; changing to 87796. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87796, current: 50460; changing to 87797. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87797, current: 51367; changing to 87798. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87798, current: 52398; changing to 87799. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87799, current: 53471; changing to 87800. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87800, current: 54472; changing to 87801. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87801, current: 55481; changing to 87802. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87802, current: 56551; changing to 87803. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87803, current: 58015; changing to 87804. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87804, current: 58534; changing to 87805. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87805, current: 59580; changing to 87806. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87806, current: 60625; changing to 87807. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87807, current: 61619; changing to 87808. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87808, current: 62696; changing to 87809. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87809, current: 63655; changing to 87810. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87810, current: 64680; changing to 87811. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87811, current: 65730; changing to 87812. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87812, current: 66737; changing to 87813. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87813, current: 67755; changing to 87814. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87814, current: 68879; changing to 87815. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87815, current: 69819; changing to 87816. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87816, current: 70830; changing to 87817. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87817, current: 71909; changing to 87818. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87818, current: 72887; changing to 87819. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87819, current: 74090; changing to 87820. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87820, current: 74969; changing to 87821. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87821, current: 75949; changing to 87822. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87822, current: 77008; changing to 87823. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87823, current: 78033; changing to 87824. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87824, current: 79032; changing to 87825. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87825, current: 80074; changing to 87826. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87826, current: 81072; changing to 87827. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87827, current: 82088; changing to 87828. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87828, current: 83121; changing to 87829. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87829, current: 84167; changing to 87830. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87830, current: 85182; changing to 87831. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87831, current: 86215; changing to 87832. This may result in incorrect timestamps in the output file. [mp4 @ 0x55d9a4d37fc0] Non-monotonous DTS in output stream 0:1; previous: 87832, current: 87215; changing to 87833. This may result in incorrect timestamps in the output file. frame= 194 fps= 11 q=-1.0 Lsize= 1375kB time=00:00:19.60 bitrate= 574.6kbits/s speed= 1.1x video:1298kB audio:73kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.316949% [aac @ 0x55d9a4d32900] Qavg: 790.793 Exiting normally, received signal 2. root@hub:~# ffmpeg -rtsp_transport udp -i "rtsp://tapoadmin:55555555@192.168.9.21:554/stream1" -vcodec copy -acodec aac -y /tmp/ffmpeg_udp__.mp4 ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --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 Guessed Channel Layout for Input Stream #0.1 : mono Input #0, rtsp, from 'rtsp://tapoadmin:555555@192.168.9.21:554/stream1': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 Duration: N/A, start: 0.000000, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 15 fps, 14.29 tbr, 90k tbn, 30 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native)) Press [q] to stop, [?] for help [aac @ 0x564c778cae40] Too many bits 8832.000000 > 6144 per frame requested, clamping to max Output #0, mp4, to '/tmp/ffmpeg_udp__.mp4': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 encoder : Lavf58.20.100 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080, q=2-31, 15 fps, 14.29 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s Metadata: encoder : Lavc58.35.100 aac [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38100, current: 6300; changing to 38101. This may result in incorrect timestamps in the output file. [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38101, current: 12600; changing to 38102. This may result in incorrect timestamps in the output file. [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38102, current: 18900; changing to 38103. This may result in incorrect timestamps in the output file. [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38103, current: 25200; changing to 38104. This may result in incorrect timestamps in the output file. [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38104, current: 31500; changing to 38105. This may result in incorrect timestamps in the output file. [mp4 @ 0x564c778beec0] Non-monotonous DTS in output stream 0:0; previous: 38105, current: 37800; changing to 38106. This may result in incorrect timestamps in the output file. frame= 115 fps= 19 q=-1.0 Lsize= 746kB time=00:00:13.54 bitrate= 450.9kbits/s speed=2.23x video:699kB audio:43kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.394927% [aac @ 0x564c778cae40] Qavg: 311.643 Exiting normally, received signal 2. root@hub:~# ffmpeg -rtsp_transport tcp -i "rtsp://tapoadmin:555555555@192.168.9.21:554/stream1" -vcodec copy -acodec aac -y /tmp/ffmpeg_tcp___.mp4 ffmpeg version 4.1.6-1~deb10u1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --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 Guessed Channel Layout for Input Stream #0.1 : mono Input #0, rtsp, from 'rtsp://tapoadmin:55555555@192.168.9.21:554/stream1': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 Duration: N/A, start: 0.032250, bitrate: N/A Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 15 fps, 28.58 tbr, 90k tbn, 30 tbc Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (pcm_alaw (native) -> aac (native)) Press [q] to stop, [?] for help [aac @ 0x555938eef4c0] Too many bits 8832.000000 > 6144 per frame requested, clamping to max Output #0, mp4, to '/tmp/ffmpeg_tcp___.mp4': Metadata: title : Session streamed by "TP-LINK RTSP Server" comment : stream1 encoder : Lavf58.20.100 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080, q=2-31, 15 fps, 28.58 tbr, 90k tbn, 90k tbc Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s Metadata: encoder : Lavc58.35.100 aac frame= 120 fps= 19 q=-1.0 Lsize= 807kB time=00:00:15.47 bitrate= 427.1kbits/s speed= 2.4x video:749kB audio:54kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.422543% [aac @ 0x555938eef4c0] Qavg: 345.012 Exiting normally, received signal 2.