Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (56)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6389)

  • 'unsupported input sample rate set' error while converting mkv to mp3 with ffmpeg on python

    15 décembre 2020, par Agent Merlot

    I'm getting this error on trying to convert some mkv files to mp3 via python. Nearly all files got converted, but some are facing this issue.
    &#xA;https://cdn.discordapp.com/attachments/663255565451001866/788424224661569596/Error.txt

    &#xA;

    Please help me fix this issue.

    &#xA;

    ffmpeg output extracted from the discord link above :

    &#xA;

    ffmpeg version git-2020-06-04-7f81785 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200523&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 49.100 / 56. 49.100&#xA;  libavcodec     58. 90.100 / 58. 90.100&#xA;  libavformat    58. 44.100 / 58. 44.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 84.100 /  7. 84.100&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Input #0, matroska,webm, from &#x27;J:\DC ED\Original\045 &#x27;Kimi no Egao ga Nani Yori mo Suki Datta&#x27; by &#x27;Chicago Poodle&#x27;.mkv&#x27;:&#xA;  Metadata:&#xA;    title           : 045 &#x27;Kimi no Egao ga Nani Yori mo Suki Datta&#x27; by &#x27;Chicago Poodle&#x27;.mkv&#xA;    COPYRIGHT       : &#xA9; 2013 APTX4869 Fansub&#xA;    creation_time   : 2020-11-18T05:03:06.000000Z&#xA;    COMPOSER        : Chicago Poodle&#xA;    ENCODER         : Lavf58.44.100&#xA;  Duration: 00:01:20.04, start: 0.000000, bitrate: 2023 kb/s&#xA;    Stream #0:0(jpn): Video: hevc (Main), yuv420p(tv), 1440x1080 [SAR 4:3 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)&#xA;    Metadata:&#xA;      title           : VIDEO[AVC]&#xA;      ENCODER         : Lavc58.90.100 libx265&#xA;      BPS-eng         : 1831510&#xA;      DURATION-eng    : 00:01:20.039000000&#xA;      NUMBER_OF_FRAMES-eng: 1919&#xA;      NUMBER_OF_BYTES-eng: 18324032&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 (&#x27;Sick Of Losing Soulmates&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-18 05:03:06&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;    Stream #0:1(jpn): Audio: aac (LC), 96000 Hz, stereo, fltp (default)&#xA;    Metadata:&#xA;      title           : AUDIO[AAC]&#xA;      BPS-eng         : 188626&#xA;      DURATION-eng    : 00:01:19.999000000&#xA;      NUMBER_OF_FRAMES-eng: 3750&#xA;      NUMBER_OF_BYTES-eng: 1886246&#xA;      _STATISTICS_WRITING_APP-eng: mkvmerge v49.0.0 (&#x27;Sick Of Losing Soulmates&#x27;) 64-bit&#xA;      _STATISTICS_WRITING_DATE_UTC-eng: 2020-11-18 05:03:06&#xA;      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (aac (native) -> mp3 (mp3_mf))&#xA;Press [q] to stop, [?] for help&#xA;[mp3_mf @ 000002142f4a5fc0] MFT name: &#x27;MP3 Encoder ACM Wrapper MFT&#x27;&#xA;[mp3_mf @ 000002142f4a5fc0] unsupported input sample rate set&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;Conversion failed!&#xA;

    &#xA;

  • FFmpeg concatenate video and add watermark

    18 avril 2020, par user7356972

    I have command to overlay two video one on other.

    &#xA;&#xA;

    ffmpeg -i input.mp4 -vf "movie= overlay.mov [a]; [1][a]scale2ref[2nd][ref];[2nd][ref]overlay=0:0 [c]"  output.mp4 &#xA;

    &#xA;&#xA;

    Now I want to add water watermark and concatenate a new video append.mov in above command. I have found a command to add watermark.

    &#xA;&#xA;

    ffmpeg -i output.mp4 -i watermark.png -filter_complex "overlay=10:10" outputwatermark.mp4&#xA;

    &#xA;&#xA;

    But I want to merge both the command and also need to concatenate append.mov to output.mp4.

    &#xA;&#xA;

    Also above overlay two video command takes too long time to process if video size is large. Any suggestion on that(should not affect quality of video) ?

    &#xA;&#xA;

    I tried following command to concatenate video.

    &#xA;&#xA;

    ffmpeg -i abc.mp4 -i ../input/overlay2.mov append.mp4&#xA;

    &#xA;&#xA;

    The video was not concatenate, below is the output.

    &#xA;&#xA;

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;abc.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;  Duration: 00:00:37.40, start: 0.000000, bitrate: 474 kb/s&#xA;    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 3:4 DAR 4:3], 324 kb/s, 1k fps, 1k tbr, 16k tbn, 2k tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;../input/overlay2.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt  &#xA;    minor_version   : 537199360&#xA;    compatible_brands: qt  &#xA;    creation_time   : 2020-03-27T16:32:23.000000Z&#xA;  Duration: 00:00:37.44, start: 0.000000, bitrate: 3519 kb/s&#xA;    Stream #1:0(eng): Video: qtrle (rle  / 0x20656C72), argb(progressive), 640x352, 3295 kb/s, SAR 1:1 DAR 20:11, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-27T16:32:23.000000Z&#xA;      handler_name    : Apple Video Media Handler&#xA;      encoder         : Animation&#xA;      timecode        : 00:00:00:00&#xA;    Stream #1:1(eng): Data: none (tmcd / 0x64636D74) (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-27T16:32:23.000000Z&#xA;      handler_name    : Time Code Media Handler&#xA;      timecode        : 00:00:00:00&#xA;File &#x27;append.mp4&#x27; already exists. Overwrite ? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x7ff35a012200] using SAR=3/4&#xA;[libx264 @ 0x7ff35a012200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7ff35a012200] profile High, level 5.2&#xA;[libx264 @ 0x7ff35a012200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=6 lookahead_threads=1 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=25 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&#xA;Output #0, mp4, to &#x27;append.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 960x540 [SAR 3:4 DAR 4:3], q=-1--1, 1k fps, 16k tbn, 1k tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavc58.54.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : SoundHandler&#xA;      encoder         : Lavc58.54.100 aac&#xA;frame=37399 fps=378 q=-1.0 Lsize=    2138kB time=00:00:37.39 bitrate= 468.4kbits/s speed=0.378x    &#xA;video:1454kB audio:221kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 27.624002%&#xA;[libx264 @ 0x7ff35a012200] frame I:150   Avg QP:11.47  size:  1655&#xA;[libx264 @ 0x7ff35a012200] frame P:9423  Avg QP:14.43  size:    52&#xA;[libx264 @ 0x7ff35a012200] frame B:27826 Avg QP:17.67  size:    27&#xA;[libx264 @ 0x7ff35a012200] consecutive B-frames:  0.8%  0.0%  0.0% 99.2%&#xA;[libx264 @ 0x7ff35a012200] mb I  I16..4: 94.0%  4.3%  1.7%&#xA;[libx264 @ 0x7ff35a012200] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.8%&#xA;[libx264 @ 0x7ff35a012200] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:54.5% L1:45.5% BI: 0.1%&#xA;[libx264 @ 0x7ff35a012200] 8x8 transform intra:4.8% inter:84.4%&#xA;[libx264 @ 0x7ff35a012200] coded y,uvDC,uvAC intra: 1.6% 2.3% 2.0% inter: 0.0% 0.0% 0.0%&#xA;[libx264 @ 0x7ff35a012200] i16 v,h,dc,p: 96%  0%  3%  0%&#xA;[libx264 @ 0x7ff35a012200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 58%  9% 28%  1%  1%  1%  1%  1%  1%&#xA;[libx264 @ 0x7ff35a012200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 22% 15%  4%  4%  5%  5%  4%  4%&#xA;[libx264 @ 0x7ff35a012200] i8c dc,h,v,p: 97%  1%  1%  0%&#xA;[libx264 @ 0x7ff35a012200] Weighted P-Frames: Y:1.9% UV:1.9%&#xA;[libx264 @ 0x7ff35a012200] ref P L0: 86.3%  8.4%  4.5%  0.8%  0.0%&#xA;[libx264 @ 0x7ff35a012200] ref B L0: 75.4% 24.0%  0.5%&#xA;[libx264 @ 0x7ff35a012200] ref B L1: 98.1%  1.9%&#xA;[libx264 @ 0x7ff35a012200] kb/s:318.42&#xA;[aac @ 0x7ff35a013a00] Qavg: 152.336&#xA;

    &#xA;

  • How to record frames with ffmpeg and finish the recording

    20 février 2024, par Jorge Augusto Wilchen

    In the following code, i trying to create a class to record frames from an IP camera (RTSP), save frames on a .avi file and finish the record, but, when i kill the operation, the video file may be corrupted. Have any other more safely way to stop the ffmpeg recording ?

    &#xA;

    .cpp file :

    &#xA;

    #include "videorecorder.h"&#xA;&#xA;&#xA;VideoRecorder::VideoRecorder(const std::string&amp; rtspUrl) :&#xA;    url(rtspUrl),&#xA;    recording(false)&#xA;{&#xA;&#xA;}&#xA;&#xA;VideoRecorder::~VideoRecorder()&#xA;{&#xA;    end_record();&#xA;}&#xA;&#xA;bool VideoRecorder::start_record(const std::string &amp;fileName)&#xA;{&#xA;    if (recording) {&#xA;        std::cerr &lt;&lt; "Already recording." &lt;&lt; std::endl;&#xA;        return false;&#xA;    }&#xA;&#xA;    std::string command = "ffmpeg -rtsp_transport udp -i " &#x2B; url&#xA;                          &#x2B; " -c:v mjpeg -preset fast -qp 0 " &#x2B; fileName;&#xA;&#xA;    videoWriter = popen(command.c_str(), "w");&#xA;    if (!videoWriter) {&#xA;        std::cerr &lt;&lt; "Error opening ffmpeg process." &lt;&lt; std::endl;&#xA;        return false;&#xA;    }&#xA;&#xA;    recording = true;&#xA;    ffmpegProcessId = getpid();&#xA;    std::cout &lt;&lt; "Recording started." &lt;&lt; std::endl;&#xA;    return true;&#xA;}&#xA;&#xA;bool VideoRecorder::end_record()&#xA;{&#xA;    if (recording) {&#xA;        if (videoWriter) {&#xA;            pid_t ffmpegPID = fileno(videoWriter);&#xA;&#xA;            if (kill(ffmpegPID, SIGTERM) == 0) {&#xA;                std::cout &lt;&lt; "Recording terminated successfully." &lt;&lt; std::endl;&#xA;            } else {&#xA;                std::cerr &lt;&lt; "Error terminating recording." &lt;&lt; std::endl;&#xA;                return false;&#xA;            }&#xA;&#xA;            int status = pclose(videoWriter);&#xA;&#xA;            if (status == 0) {&#xA;                std::cout &lt;&lt; "Recording ended successfully." &lt;&lt; std::endl;&#xA;            } else {&#xA;                std::cerr &lt;&lt; "Error ending recording. pclose status: " &lt;&lt; status &lt;&lt; std::endl;&#xA;                return false;&#xA;            }&#xA;        } else {&#xA;            std::cerr &lt;&lt; "Error ending recording. videoWriter is nullptr." &lt;&lt; std::endl;&#xA;            return false;&#xA;        }&#xA;&#xA;        recording = false;&#xA;        return true;&#xA;    }&#xA;&#xA;    return false;&#xA;}&#xA;

    &#xA;

    .h file :

    &#xA;

    #ifndef VIDEORECORDER_H&#xA;#define VIDEORECORDER_H&#xA;&#xA;#include <string>&#xA;#include <iostream>&#xA;#include <fstream>&#xA;#include <cstdlib>&#xA;#include <csignal>&#xA;#include <sys></sys>wait.h>&#xA;&#xA;extern "C" {&#xA;#include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;#include <libavutil></libavutil>avutil.h>&#xA;#include <libavutil></libavutil>opt.h>&#xA;#include <libswscale></libswscale>swscale.h>&#xA;#include &#xA;}&#xA;&#xA;#include <linux></linux>videodev2.h>&#xA;&#xA;#include <opencv2></opencv2>opencv.hpp>&#xA;#include <opencv2></opencv2>videoio.hpp>&#xA;#include <opencv2></opencv2>highgui/highgui.hpp>&#xA;&#xA;&#xA;class VideoRecorder&#xA;{&#xA;public:&#xA;    VideoRecorder(const std::string&amp; rtspUrl);&#xA;    ~VideoRecorder();&#xA;    bool start_record(const std::string&amp; fileName);&#xA;    bool end_record();&#xA;&#xA;private:&#xA;    std::string url;&#xA;    AVFormatContext *formatContext;&#xA;    AVStream *videoStream;&#xA;    AVCodecContext *codecContext;&#xA;    AVCodec *codec;&#xA;    SwsContext *swsContext;&#xA;    AVFrame *frame;&#xA;    AVPacket packet;&#xA;    bool recording;&#xA;    pid_t ffmpegProcessId;&#xA;    FILE* videoWriter;&#xA;};&#xA;&#xA;#endif // VIDEORECORDER_H&#xA;</csignal></cstdlib></fstream></iostream></string>

    &#xA;

    I'm using the ffmpeg lib becouse i need max speed on frames recording, and OpenCV and AV Lib is much slowness than ffmpeg.

    &#xA;

    This my terminal output after recording during 10 seconds (generated a file with 23 seconds duration) :

    &#xA;

    Recording started.&#xA;ffmpeg version 4.3.6-0&#x2B;deb11u1&#x2B;rpt5 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 10 (Debian 10.2.1-6)&#xA;  configuration: --prefix=/usr --extra-version=0&#x2B;deb11u1&#x2B;rpt5 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --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-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --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-opencl --enable-opengl --enable-sdl2 --disable-mmal --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --enable-sand --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, rtsp, from &#x27;rtsp://admin:[password]@[ip]:[port]/live/0/MAIN&#x27;:&#xA;  Metadata:&#xA;    title           : RTSP Server&#xA;  Duration: N/A, start: 0.280000, bitrate: N/A&#xA;    Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;Codec AVOption preset (Configuration preset) specified for output file #0 (/home/guardian-tech/Pictures/output_frame.avi) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;Codec AVOption qp (Constant quantization parameter rate control method) specified for output file #0 (/home/guardian-tech/Pictures/output_frame.avi) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, avi, to &#x27;/home/guardian-tech/Pictures/output_frame.avi&#x27;:&#xA;  Metadata:&#xA;    INAM            : RTSP Server&#xA;    ISFT            : Lavf58.45.100&#xA;    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc), 1920x1080, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 mjpeg&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A&#xA;[rtsp @ 0x5592e7bb00] max delay reached. need to consume packet&#xA;[rtsp @ 0x5592e7bb00] RTP: missed 212 packets&#xA;[h264 @ 0x5592ebb790] concealing 2192 DC, 2192 AC, 2192 MV errors in I frame&#xA;rtsp://admin:[password]@[ip]:[port]/live/0/MAIN: corrupt decoded frame in stream 0&#xA;[rtsp @ 0x5592e7bb00] max delay reached. need to consume packet&#xA;[rtsp @ 0x5592e7bb00] RTP: missed 6 packets&#xA;[rtsp @ 0x5592e7bb00] max delay reached. need to consume packet&#xA;[rtsp @ 0x5592e7bb00] RTP: missed 14 packets&#xA;[h264 @ 0x5592f1bd30] cabac decode of qscale diff failed at 42 29&#xA;[h264 @ 0x5592f1bd30] error while decoding MB 42 29, bytestream 0&#xA;[h264 @ 0x5592f1bd30] concealing 4687 DC, 4687 AC, 4687 MV errors in I frame&#xA;rtsp://admin:[password]@[ip]:[port]/live/0/MAIN: corrupt decoded frame in stream 0&#xA;Error terminating recording.&#xA;

    &#xA;