Hi I am trying to capture a rstps video stream from an arlo camera using ffmpeg using the command below on raspbian stretch.
*ffmpeg -re -i 'rtsps://<arlo_cam_url>' -acodec copy -vcodec copy test.mp4* The command fail with an "operation not permitted" message and nothing else (See raspbian output below). I am not sure what is missing or if I am using a version of ffmpeg that does not support rtsps streams or if I am missing codecs or some protocol support. I tried the same command on my mac and it works (see mac output below) Thanks Ben *pi@raspberrypi:~/Documents/test_arlo $ ffmpeg -re -i 'rtsps://<arlo_cam_url>' -acodec copy -vcodec copy test.mp4* *ffmpeg version 3.2.10-1~deb9u1+rpt2 Copyright (c) 2000-2018 the FFmpeg developers* * built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516* * configuration: --prefix=/usr --extra-version='1~deb9u1+rpt2' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx-rpi --enable-mmal --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --arch=armhf --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared* * libavutil 55. 34.101 / 55. 34.101* * libavcodec 57. 64.101 / 57. 64.101* * libavformat 57. 56.101 / 57. 56.101* * libavdevice 57. 1.100 / 57. 1.100* * libavfilter 6. 65.100 / 6. 65.100* * libavresample 3. 1. 0 / 3. 1. 0* * libswscale 4. 2.100 / 4. 2.100* * libswresample 2. 3.100 / 2. 3.100* * libpostproc 54. 1.100 / 54. 1.100* *rtsps://<arlo_cam_url>: Operation not permitted* mac output *benjaminpecheux$ ffmpeg -re -i 'rtsps://<arlo_cam_url>' -acodec copy -vcodec copy test.mp4* *ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers* * built with Apple LLVM version 9.1.0 (clang-902.0.39.2)* * configuration: --prefix=/usr/local/Cellar/ffmpeg/4.0.2 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma* * libavutil 56. 14.100 / 56. 14.100* * libavcodec 58. 18.100 / 58. 18.100* * libavformat 58. 12.100 / 58. 12.100* * libavdevice 58. 3.100 / 58. 3.100* * libavfilter 7. 16.100 / 7. 16.100* * libavresample 4. 0. 0 / 4. 0. 0* * libswscale 5. 1.100 / 5. 1.100* * libswresample 3. 1.100 / 3. 1.100* * libpostproc 55. 1.100 / 55. 1.100* *Input #0, rtsp, from 'rtsps://<arlo-cam-url>':* * Metadata:* * title : 59U17A7HB0B6F_1535734299399* * Duration: N/A, start: 0.064000, bitrate: N/A* * Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp* * Stream #0:1: Video: h264 (High), yuv420p(progressive), 416x240, 24 fps, 100 tbr, 90k tbn, 48 tbc* *Output #0, mp4, to 'test.mp4':* * Metadata:* * title : 59U17A7HB0B6F_1535734299399* * encoder : Lavf58.12.100* * Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 416x240, q=2-31, 24 fps, 100 tbr, 90k tbn, 90k tbc* * Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp* *Stream mapping:* * Stream #0:1 -> #0:0 (copy)* * Stream #0:0 -> #0:1 (copy)* *Press [q] to stop, [?] for help* *frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.51 bitrate= 0.8kbits/frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:01.02 bitrate= 0.4kbits/frame= 1 fps=0.7 q=-1.0 size= 0kB time=00:00:01.82 bitrate= 0.2kbits/[mp4 @ 0x7fe3ac002e00] Non-monotonous DTS in output stream 0:0; previous: 164010, current: 145260; changing to 164011. This may result in incorrect timestamps in the output file.* *[mp4 @ 0x7fe3ac002e00] Non-monotonous DTS in output stream 0:0; previous: 164011, current: 148860; changing to 164012. This may result in incorrect timestamps in the output file.* *[mp4 @ 0x7fe3ac002e00] Non-monotonous DTS in output stream 0:0; previous: 164012, current: 153360; changing to 164013. This may result in incorrect timestamps in the output file.* *[mp4 @ 0x7fe3ac002e00] Non-monotonous DTS in output stream 0:0; previous: 164013, current: 156960; changing to 164014. This may result in incorrect timestamps in the output file.* *[mp4 @ 0x7fe3ac002e00] Non-monotonous DTS in output stream 0:0; previous: 164014, current: 160560; changing to 164015. This may result in incorrect timestamps in the output file.* *frame= 12 fps=5.9 q=-1.0 size= 0kB time=00:00:02.03 bitrate= 0.2kbits/frame= 24 fps=9.5 q=-1.0 size= 0kB time=00:00:02.53 bitrate= 0.2kbits/frame= 36 fps= 12 q=-1.0 size= 256kB time=00:00:03.03 bitrate= 691.3kbits/frame= 48 fps= 14 q=-1.0 size= 256kB time=00:00:03.53 bitrate= 593.5kbits/frame= 60 fps= 15 q=-1.0 size= 512kB time=00:00:04.03 bitrate=1039.8kbits/frame= 72 fps= 16 q=-1.0 size= 512kB time=00:00:04.53 bitrate= 925.2kbits/frame= 85 fps= 17 q=-1.0 size= 512kB time=00:00:05.07 bitrate= 826.7kbits/frame= 96 fps= 17 q=-1.0 size= 768kB time=00:00:05.55 bitrate=1132.0kbits/frame= 103 fps= 18 q=-1.0 Lsize= 896kB time=00:00:05.82 bitrate=1260.2kbits/s speed= 1x * *video:853kB audio:39kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.363303%* *Exiting normally, received signal 2.* _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".