Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (10)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (3150)

  • Failed to use h264_v4l2 codec in ffmpeg to decode video

    6 janvier, par wangt13

    I am working on an embedded Linux system (kernel-5.10.24) and I want to use ffmpeg libraries (ffmpeg-4.4.4) to do video decoding.

    


    The C code is as follows, it uses h264_v4l2m2m decoder to decode the video,

    


    #include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;#include <libavutil></libavutil>imgutils.h>&#xA;#include <libavutil></libavutil>opt.h>&#xA;#include <libswscale></libswscale>swscale.h>&#xA;#include &#xA;#include &#xA;&#xA;int main(int argc, char *argv[]) {&#xA;    if (argc &lt; 3) {&#xA;        printf("Usage: %s  \n", argv[0]);&#xA;        return -1;&#xA;    }&#xA;&#xA;    const char *input_file = argv[1];&#xA;    const char *output_file = argv[2];&#xA;&#xA;    AVFormatContext *fmt_ctx = NULL;&#xA;    AVCodecContext *codec_ctx = NULL;&#xA;    AVCodec *codec = NULL;&#xA;    AVPacket pkt;&#xA;    AVFrame *frame = NULL;&#xA;    AVFrame *rgb_frame = NULL;&#xA;    struct SwsContext *sws_ctx = NULL;&#xA;&#xA;    FILE *output = NULL;&#xA;    int video_stream_index = -1;&#xA;&#xA;    avformat_network_init();&#xA;&#xA;    if (avformat_open_input(&amp;fmt_ctx, input_file, NULL, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not open input file %s\n", input_file);&#xA;        return -1;&#xA;    }&#xA;&#xA;    if (avformat_find_stream_info(fmt_ctx, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not find stream information\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    for (int i = 0; i &lt; fmt_ctx->nb_streams; i&#x2B;&#x2B;) {&#xA;        if (fmt_ctx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) {&#xA;            video_stream_index = i;&#xA;            break;&#xA;        }&#xA;    }&#xA;&#xA;    if (video_stream_index == -1) {&#xA;        fprintf(stderr, "Could not find video stream\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    //// codec = avcodec_find_decoder(fmt_ctx->streams[video_stream_index]->codecpar->codec_id);&#xA;    codec = avcodec_find_decoder_by_name("h264_v4l2m2m");&#xA;    if (!codec) {&#xA;        fprintf(stderr, "Codec not found\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    codec_ctx = avcodec_alloc_context3(codec);&#xA;    if (!codec_ctx) {&#xA;        fprintf(stderr, "Could not allocate codec context\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    if (avcodec_parameters_to_context(codec_ctx, fmt_ctx->streams[video_stream_index]->codecpar) &lt; 0) {&#xA;        fprintf(stderr, "Failed to copy codec parameters to decoder context\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    if (avcodec_open2(codec_ctx, codec, NULL) &lt; 0) {&#xA;        fprintf(stderr, "Could not open codec\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    output = fopen(output_file, "wb");&#xA;    if (!output) {&#xA;        fprintf(stderr, "Could not open output file %s\n", output_file);&#xA;        return -1;&#xA;    }&#xA;&#xA;    frame = av_frame_alloc();&#xA;    rgb_frame = av_frame_alloc();&#xA;    if (!frame || !rgb_frame) {&#xA;        fprintf(stderr, "Could not allocate frames\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    int width = codec_ctx->width;&#xA;    int height = codec_ctx->height;&#xA;    int num_bytes = av_image_get_buffer_size(AV_PIX_FMT_RGB24, width, height, 1);&#xA;    uint8_t *buffer = (uint8_t *)av_malloc(num_bytes * sizeof(uint8_t));&#xA;    av_image_fill_arrays(rgb_frame->data, rgb_frame->linesize, buffer, AV_PIX_FMT_RGB24, width, height, 1);&#xA;&#xA;printf("XXXXXXXXXXXX width: %d, height: %d, fmt: %d\n", width, height, codec_ctx->pix_fmt);&#xA;    sws_ctx = sws_getContext(width, height, codec_ctx->pix_fmt,&#xA;                              width, height, AV_PIX_FMT_RGB24,&#xA;                              SWS_BILINEAR, NULL, NULL, NULL);&#xA;    if (!sws_ctx) {&#xA;        fprintf(stderr, "Could not initialize the conversion context\n");&#xA;        return -1;&#xA;    }&#xA;&#xA;    while (av_read_frame(fmt_ctx, &amp;pkt) >= 0) {&#xA;        if (pkt.stream_index == video_stream_index) {&#xA;            int ret = avcodec_send_packet(codec_ctx, &amp;pkt);&#xA;            if (ret &lt; 0) {&#xA;                fprintf(stderr, "Error sending packet for decoding\n");&#xA;                return -1;&#xA;            }&#xA;&#xA;            while (ret >= 0) {&#xA;                ret = avcodec_receive_frame(codec_ctx, frame);&#xA;                if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {&#xA;                    break;&#xA;                } else if (ret &lt; 0) {&#xA;                    fprintf(stderr, "Error during decoding\n");&#xA;                    return -1;&#xA;                }&#xA;&#xA;                sws_scale(sws_ctx, (const uint8_t *const *)frame->data, frame->linesize,&#xA;                          0, height, rgb_frame->data, rgb_frame->linesize);&#xA;&#xA;                fprintf(output, "P6\n%d %d\n255\n", width, height);&#xA;                fwrite(rgb_frame->data[0], 1, num_bytes, output);&#xA;            }&#xA;        }&#xA;        av_packet_unref(&amp;pkt);&#xA;    }&#xA;&#xA;    fclose(output);&#xA;    av_frame_free(&amp;frame);&#xA;    av_frame_free(&amp;rgb_frame);&#xA;    avcodec_free_context(&amp;codec_ctx);&#xA;    avformat_close_input(&amp;fmt_ctx);&#xA;    sws_freeContext(sws_ctx);&#xA;&#xA;    return 0;&#xA;}&#xA;

    &#xA;

    It ran with some error logs from swscale as follows,

    &#xA;

    # ./test_ffmpeg ./test.mp4 /tmp/output&#xA;[h264_v4l2m2m @ 0x1d76320] Using device /dev/video0&#xA;[h264_v4l2m2m @ 0x1d76320] driver &#x27;mysoc-vdec&#x27; on card &#x27;msoc-vdec&#x27; in mplane mode&#xA;[h264_v4l2m2m @ 0x1d76320] requesting formats: output=H264 capture=NV12&#xA;[h264_v4l2m2m @ 0x1d76320] the v4l2 driver does not support end of stream VIDIOC_SUBSCRIBE_EVENT&#xA;XXXXXXXXXXXX width: 1280, height: 720, fmt: 0&#xA;[swscaler @ 0x1dadaa0] No accelerated colorspace conversion found from yuv420p to rgb24.&#xA;[h264_v4l2m2m @ 0x1d76320] VIDIOC_G_SELECTION ioctl&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;[swscaler @ 0x1dadaa0] bad src image pointers&#xA;......&#xA;

    &#xA;

    And it ran for about 4 seconds, while the test.mp4 is about 13 seconds.&#xA;If I did NOT specify the h264_v4l2m2m as the decoder, there is NO bad src image pointers and its run-time is as long as the mp4 file.

    &#xA;

    What is wrong with above codes using h264_v4l2m2m and how to fix it ?

    &#xA;

  • ffmpeg fails to connect to pulse audio when scheduled through cron

    4 février 2017, par Barrett

    I would like to start ffmpeg to capture audio from pulse through a cron task. I am currently running Linux arch 4.8.13-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux.

    $ ffmpeg

    ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 6.2.1 (GCC) 20160830
     configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
     libavutil      55. 34.100 / 55. 34.100
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.100 / 57. 56.100
     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

    $ arecord -l

    **** List of CAPTURE Hardware Devices ****
    card 0: MID [HDA Intel MID], device 0: CX20583 Analog [CX20583 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

    /usr/local/sbin/ffmpeg-audio

    #! /bin/sh
    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    n=$(date +"%s")
    out="/home/user/audio/out"$n".mp3"

    cd /

    echo -e $USER" "$(id -u)"\n"$out"\n" > $out.txt

    /usr/bin/ffmpeg -y -f alsa -i pulse -t 5 -codec:a libmp3lame -q:a 9 "file:"$out

    $ crontab -l

    *   *   *   *   *   /usr/local/sbin/ffmpeg-audio

    $ journalctl -u cronie

    Feb 04 11:51:01 arch crond[8913]: pam_unix(crond:session): session opened for user user by (uid=0)
    Feb 04 11:51:01 arch CROND[8914]: (user) CMD (/usr/local/sbin/ffmpeg-audio)
    Feb 04 11:51:01 arch sudo[8919]:     user : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/ffmpeg -y -f alsa -i pulse -t 5 -codec:a libmp3lame -q:a 9 file:/home/user/audio/out1486237861.mp3
    Feb 04 11:51:01 arch sudo[8919]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  built with gcc 6.2.1 (GCC) 20160830)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavutil      55. 34.100 / 55. 34.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavcodec     57. 64.101 / 57. 64.101)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavformat    57. 56.100 / 57. 56.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavdevice    57.  1.100 / 57.  1.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavfilter     6. 65.100 /  6. 65.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libavresample   3.  1.  0 /  3.  1.  0)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libswscale      4.  2.100 /  4.  2.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libswresample   2.  3.100 /  2.  3.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (  libpostproc    54.  1.100 / 54.  1.100)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused)
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ()
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ([alsa @ 0x55a46e0144a0] cannot open audio device pulse (Connection refused))
    Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (pulse: Input/output error)
    Feb 04 11:51:01 arch sudo[8919]: pam_unix(sudo:session): session closed for user root
    Feb 04 11:51:01 arch CROND[8913]: pam_unix(crond:session): session closed for user user

    ffmpeg runs correctly from the command line and ’$ which ffmpeg-audio’ returns /usr/local/sbin/ffmpeg-audio, but ffmpeg returns

    ([alsa @ 0x55a46e0144a0] cannot open audio device pulse (Connection
    refused))

    when scheduled through cron.

    Any suggestions ?

  • ffmpeg Non monotonous DTS, Previous DTS is always the same, audio microphone streaming [closed]

    5 février, par adrien gonzalez

    I'm using ffmpeg to stream audio from a microphone using rtp. I'm on Raspberry and use an external sound card (HifiBerry DAC + ADC Pro).&#xA;My goal is to stream audio with the lowest latency possible to others Raspberry reading this audio with ffplay. I try not to compress the audio flux and leave it untouched as wav 48000 Hz.&#xA;I encounter often some Non Monotonous DTS errors. When this happens I have a latency of hundred of milliseconds adding itself.&#xA;I tried to add the +igndts flag but it is not changing anything. Also tried +genpts flag.

    &#xA;

    What is weird is that the previous DTS is always the same (201165 is the example below) and does not seems to change.&#xA;I looked on forums for answers but I'm unable to find one.

    &#xA;

    Here is my bash command :

    &#xA;

    ffmpeg -guess_layout_max 0 -re -f alsa -i hw -acodec pcm_s16le -ac 1 -payload_type 10 -f rtp rtp://192.168.1.152:5003

    &#xA;

    And the result from the terminal :

    &#xA;

    ffmpeg version 5.1.6-0&#x2B;deb12u1&#x2B;rpt1 Copyright (c) 2000-2024 the FFmpeg developers&#xA;&#xA;&#xA;built with gcc 12 (Debian 12.2.0-14)&#xA;  configuration: --prefix=/usr --extra-version=0&#x2B;deb12u1&#x2B;rpt1 --toolchain=hardened --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --disable-mmal --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-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sand --enable-sdl2 --disable-sndio --enable-libjxl --enable-neon --enable-v4l2-request --enable-libudev --enable-epoxy --libdir=/usr/lib/aarch64-linux-gnu --arch=arm64 --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-vout-drm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;Input #0, alsa, from &#x27;hw&#x27;:&#xA;  Duration: N/A, start: 1738663653.066577, bitrate: 1536 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, rtp, to &#x27;rtp://192.168.1.152:5003&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf59.27.100&#xA;  Stream #0:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc59.37.100 pcm_s16le&#xA;SDP:&#xA;v=0&#xA;o=- 0 0 IN IP4 127.0.0.1&#xA;s=No Name&#xA;c=IN IP4 192.168.1.152&#xA;t=0 0&#xA;a=tool:libavformat LIBAVFORMAT_VERSION&#xA;m=audio 5003 RTP/AVP 10&#xA;b=AS:768&#xA;&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201160; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201155; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201149; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201142; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201134; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201124; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201114; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201102; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201089; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201075; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201060; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201044; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201027; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 201009; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 200990; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 200970; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;[rtp @ 0x558b48ea90] Non-monotonous DTS in output stream 0:0; previous: 201165, current: 200949; changing to 201165. This may result in incorrect timestamps in the output file.&#xA;

    &#xA;

    I tried to add the +igndts flag but it is not changing anything. Also tried +genpts flag. I expected the DTS to restore itself but I still have the same issue

    &#xA;