Recherche avancée

Médias (91)

Autres articles (69)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (10465)

  • avcodec/codec_internal : Add macro to set AVCodec.long_name

    29 août 2022, par Andreas Rheinhardt
    avcodec/codec_internal : Add macro to set AVCodec.long_name
    

    It reduces typing : Before this patch, there were 105 codecs
    whose long_name-definition exceeded the 80 char line length
    limit. Now there are only nine of them.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/012v.c
    • [DH] libavcodec/4xm.c
    • [DH] libavcodec/8bps.c
    • [DH] libavcodec/8svx.c
    • [DH] libavcodec/a64multienc.c
    • [DH] libavcodec/aacdec.c
    • [DH] libavcodec/aacdec_fixed.c
    • [DH] libavcodec/aacenc.c
    • [DH] libavcodec/aasc.c
    • [DH] libavcodec/ac3dec_fixed.c
    • [DH] libavcodec/ac3dec_float.c
    • [DH] libavcodec/ac3enc_fixed.c
    • [DH] libavcodec/ac3enc_float.c
    • [DH] libavcodec/adpcm.c
    • [DH] libavcodec/adpcmenc.c
    • [DH] libavcodec/adxdec.c
    • [DH] libavcodec/adxenc.c
    • [DH] libavcodec/agm.c
    • [DH] libavcodec/aic.c
    • [DH] libavcodec/alac.c
    • [DH] libavcodec/alacenc.c
    • [DH] libavcodec/aliaspixdec.c
    • [DH] libavcodec/aliaspixenc.c
    • [DH] libavcodec/alsdec.c
    • [DH] libavcodec/amfenc_h264.c
    • [DH] libavcodec/amfenc_hevc.c
    • [DH] libavcodec/amrnbdec.c
    • [DH] libavcodec/amrwbdec.c
    • [DH] libavcodec/anm.c
    • [DH] libavcodec/ansi.c
    • [DH] libavcodec/apedec.c
    • [DH] libavcodec/aptxdec.c
    • [DH] libavcodec/aptxenc.c
    • [DH] libavcodec/arbc.c
    • [DH] libavcodec/argo.c
    • [DH] libavcodec/assdec.c
    • [DH] libavcodec/assenc.c
    • [DH] libavcodec/asvdec.c
    • [DH] libavcodec/asvenc.c
    • [DH] libavcodec/atrac1.c
    • [DH] libavcodec/atrac3.c
    • [DH] libavcodec/atrac3plusdec.c
    • [DH] libavcodec/atrac9dec.c
    • [DH] libavcodec/audiotoolboxdec.c
    • [DH] libavcodec/audiotoolboxenc.c
    • [DH] libavcodec/aura.c
    • [DH] libavcodec/av1dec.c
    • [DH] libavcodec/avrndec.c
    • [DH] libavcodec/avs.c
    • [DH] libavcodec/avuidec.c
    • [DH] libavcodec/avuienc.c
    • [DH] libavcodec/bethsoftvideo.c
    • [DH] libavcodec/bfi.c
    • [DH] libavcodec/bink.c
    • [DH] libavcodec/binkaudio.c
    • [DH] libavcodec/bintext.c
    • [DH] libavcodec/bitpacked_dec.c
    • [DH] libavcodec/bitpacked_enc.c
    • [DH] libavcodec/bmp.c
    • [DH] libavcodec/bmpenc.c
    • [DH] libavcodec/bmvaudio.c
    • [DH] libavcodec/bmvvideo.c
    • [DH] libavcodec/brenderpix.c
    • [DH] libavcodec/c93.c
    • [DH] libavcodec/cavsdec.c
    • [DH] libavcodec/ccaption_dec.c
    • [DH] libavcodec/cdgraphics.c
    • [DH] libavcodec/cdtoons.c
    • [DH] libavcodec/cdxl.c
    • [DH] libavcodec/cfhd.c
    • [DH] libavcodec/cfhdenc.c
    • [DH] libavcodec/cinepak.c
    • [DH] libavcodec/cinepakenc.c
    • [DH] libavcodec/clearvideo.c
    • [DH] libavcodec/cljrdec.c
    • [DH] libavcodec/cljrenc.c
    • [DH] libavcodec/cllc.c
    • [DH] libavcodec/cngdec.c
    • [DH] libavcodec/cngenc.c
    • [DH] libavcodec/codec_internal.h
    • [DH] libavcodec/cook.c
    • [DH] libavcodec/cpia.c
    • [DH] libavcodec/cri.c
    • [DH] libavcodec/crystalhd.c
    • [DH] libavcodec/cscd.c
    • [DH] libavcodec/cuviddec.c
    • [DH] libavcodec/cyuv.c
    • [DH] libavcodec/dcadec.c
    • [DH] libavcodec/dcaenc.c
    • [DH] libavcodec/dds.c
    • [DH] libavcodec/dfa.c
    • [DH] libavcodec/dfpwmdec.c
    • [DH] libavcodec/dfpwmenc.c
    • [DH] libavcodec/diracdec.c
    • [DH] libavcodec/dnxhddec.c
    • [DH] libavcodec/dnxhdenc.c
    • [DH] libavcodec/dolby_e.c
    • [DH] libavcodec/dpcm.c
    • [DH] libavcodec/dpx.c
    • [DH] libavcodec/dpxenc.c
    • [DH] libavcodec/dsddec.c
    • [DH] libavcodec/dsicinaudio.c
    • [DH] libavcodec/dsicinvideo.c
    • [DH] libavcodec/dss_sp.c
    • [DH] libavcodec/dstdec.c
    • [DH] libavcodec/dvaudiodec.c
    • [DH] libavcodec/dvbsubdec.c
    • [DH] libavcodec/dvbsubenc.c
    • [DH] libavcodec/dvdec.c
    • [DH] libavcodec/dvdsubdec.c
    • [DH] libavcodec/dvdsubenc.c
    • [DH] libavcodec/dvenc.c
    • [DH] libavcodec/dxa.c
    • [DH] libavcodec/dxtory.c
    • [DH] libavcodec/dxv.c
    • [DH] libavcodec/eac3enc.c
    • [DH] libavcodec/eacmv.c
    • [DH] libavcodec/eamad.c
    • [DH] libavcodec/eatgq.c
    • [DH] libavcodec/eatgv.c
    • [DH] libavcodec/eatqi.c
    • [DH] libavcodec/escape124.c
    • [DH] libavcodec/escape130.c
    • [DH] libavcodec/evrcdec.c
    • [DH] libavcodec/exr.c
    • [DH] libavcodec/exrenc.c
    • [DH] libavcodec/fastaudio.c
    • [DH] libavcodec/ffv1dec.c
    • [DH] libavcodec/ffv1enc.c
    • [DH] libavcodec/ffwavesynth.c
    • [DH] libavcodec/fic.c
    • [DH] libavcodec/fitsdec.c
    • [DH] libavcodec/fitsenc.c
    • [DH] libavcodec/flacdec.c
    • [DH] libavcodec/flacenc.c
    • [DH] libavcodec/flashsv.c
    • [
  • avcodec/internal : Move ff_get_buffer() to decode.h

    24 août 2022, par Andreas Rheinhardt
    avcodec/internal : Move ff_get_buffer() to decode.h
    

    Only used by decoders (encoders have ff_encode_alloc_frame()).

    Also clean up the other headers a bit while removing now redundant
    internal.h inclusions.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/012v.c
    • [DH] libavcodec/4xm.c
    • [DH] libavcodec/8bps.c
    • [DH] libavcodec/8svx.c
    • [DH] libavcodec/aacdec_template.c
    • [DH] libavcodec/ac3dec.c
    • [DH] libavcodec/adpcm.c
    • [DH] libavcodec/adxdec.c
    • [DH] libavcodec/agm.c
    • [DH] libavcodec/aliaspixdec.c
    • [DH] libavcodec/alsdec.c
    • [DH] libavcodec/amrnbdec.c
    • [DH] libavcodec/amrwbdec.c
    • [DH] libavcodec/apedec.c
    • [DH] libavcodec/aptxdec.c
    • [DH] libavcodec/arbc.c
    • [DH] libavcodec/asvdec.c
    • [DH] libavcodec/atrac1.c
    • [DH] libavcodec/atrac3.c
    • [DH] libavcodec/atrac3plusdec.c
    • [DH] libavcodec/atrac9dec.c
    • [DH] libavcodec/audiotoolboxdec.c
    • [DH] libavcodec/aura.c
    • [DH] libavcodec/avrndec.c
    • [DH] libavcodec/avuidec.c
    • [DH] libavcodec/bfi.c
    • [DH] libavcodec/bink.c
    • [DH] libavcodec/bintext.c
    • [DH] libavcodec/bmp.c
    • [DH] libavcodec/bmvaudio.c
    • [DH] libavcodec/bmvvideo.c
    • [DH] libavcodec/brenderpix.c
    • [DH] libavcodec/cavsdec.c
    • [DH] libavcodec/cdxl.c
    • [DH] libavcodec/cljrdec.c
    • [DH] libavcodec/cngdec.c
    • [DH] libavcodec/cook.c
    • [DH] libavcodec/cyuv.c
    • [DH] libavcodec/dca_core.c
    • [DH] libavcodec/dca_lbr.c
    • [DH] libavcodec/dca_xll.c
    • [DH] libavcodec/dds.c
    • [DH] libavcodec/decode.h
    • [DH] libavcodec/dfa.c
    • [DH] libavcodec/dfpwmdec.c
    • [DH] libavcodec/diracdec.c
    • [DH] libavcodec/dolby_e.c
    • [DH] libavcodec/dpcm.c
    • [DH] libavcodec/dpx.c
    • [DH] libavcodec/dsddec.c
    • [DH] libavcodec/dsicinaudio.c
    • [DH] libavcodec/dss_sp.c
    • [DH] libavcodec/dstdec.c
    • [DH] libavcodec/dvaudiodec.c
    • [DH] libavcodec/dxa.c
    • [DH] libavcodec/eacmv.c
    • [DH] libavcodec/eamad.c
    • [DH] libavcodec/eatgq.c
    • [DH] libavcodec/eatgv.c
    • [DH] libavcodec/eatqi.c
    • [DH] libavcodec/escape124.c
    • [DH] libavcodec/escape130.c
    • [DH] libavcodec/evrcdec.c
    • [DH] libavcodec/fastaudio.c
    • [DH] libavcodec/ffwavesynth.c
    • [DH] libavcodec/fitsdec.c
    • [DH] libavcodec/fmvc.c
    • [DH] libavcodec/frwu.c
    • [DH] libavcodec/g2meet.c
    • [DH] libavcodec/g722dec.c
    • [DH] libavcodec/g723_1dec.c
    • [DH] libavcodec/g726.c
    • [DH] libavcodec/g729dec.c
    • [DH] libavcodec/gdv.c
    • [DH] libavcodec/gemdec.c
    • [DH] libavcodec/gsmdec.c
    • [DH] libavcodec/hcadec.c
    • [DH] libavcodec/hcom.c
    • [DH] libavcodec/hnm4video.c
    • [DH] libavcodec/hq_hqa.c
    • [DH] libavcodec/idcinvideo.c
    • [DH] libavcodec/iff.c
    • [DH] libavcodec/ilbcdec.c
    • [DH] libavcodec/imc.c
    • [DH] libavcodec/imm4.c
    • [DH] libavcodec/indeo3.c
    • [DH] libavcodec/internal.h
    • [DH] libavcodec/interplayacm.c
    • [DH] libavcodec/interplayvideo.c
    • [DH] libavcodec/ivi.c
    • [DH] libavcodec/jvdec.c
    • [DH] libavcodec/kgv1dec.c
    • [DH] libavcodec/kmvc.c
    • [DH] libavcodec/libaomdec.c
    • [DH] libavcodec/libcelt_dec.c
    • [DH] libavcodec/libcodec2.c
    • [DH] libavcodec/libfdk-aacdec.c
    • [DH] libavcodec/libgsmdec.c
    • [DH] libavcodec/libilbc.c
    • [DH] libavcodec/libjxldec.c
    • [DH] libavcodec/libopencore-amr.c
    • [DH] libavcodec/libopenh264dec.c
    • [DH] libavcodec/libopusdec.c
    • [DH] libavcodec/librsvgdec.c
    • [DH] libavcodec/libspeexdec.c
    • [DH] libavcodec/libuavs3d.c
    • [DH] libavcodec/libvorbisdec.c
    • [DH] libavcodec/loco.c
    • [DH] libavcodec/m101.c
    • [DH] libavcodec/mace.c
    • [DH] libavcodec/mlpdec.c
    • [DH] libavcodec/mpc7.c
    • [DH] libavcodec/mpc8.c
    • [DH] libavcodec/mpeg12dec.c
    • [DH] libavcodec/mpegaudiodec_template.c
    • [DH] libavcodec/mscc.c
    • [DH] libavcodec/msp2dec.c
    • [DH] libavcodec/mss2.c
    • [DH] libavcodec/mv30.c
    • [DH] libavcodec/mvcdec.c
    • [DH] libavcodec/mvha.c
    • [DH] libavcodec/mwsc.c
    • [DH] libavcodec/mxpegdec.c
    • [DH] libavcodec/nellymoserdec.c
    • [DH] libavcodec/on2avc.c
    • [DH] libavcodec/opusdec.c
    • [DH] libavcodec/pafaudio.c
    • [DH] libavcodec/pcm-bluray.c
    • [DH] libavcodec/pcm-dvd.c
    • [DH] libavcodec/pcm.c
    • [DH] libavcodec/pcx.c
    • [DH] libavcodec/pgxdec.c
    • [DH] libavcodec/pictordec.c
    • [DH] libavcodec/pnmdec.c
    • [DH] libavcodec/prosumer.c
    • [DH] libavcodec/psd.c
    • [D
  • How to fix laggy ffmpeg screen and audio capture ?

    26 juillet 2022, par Wh0r00t

    I am using ffmpeg to capture the screen along with audio.

    &#xA;

    The ffmpeg command that i tried is

    &#xA;

    ffmpeg -y \&#xA;    -f x11grab \&#xA;    -framerate 60 \&#xA;    -s 1366x768 \&#xA;    -i :0.0 \&#xA;    -f alsa -i default -ac 2 \&#xA;    -r 30 \&#xA;    -c:v h264 -crf 0 -preset ultrafast -c:a vorbis -strict experimental  \&#xA;    "$HOME/Videos/$fname-$(date &#x27;&#x2B;%y%m%d-%H%M-%S&#x27;).mkv"&#xA;

    &#xA;

    The stdout of the ffmpeg https://pastebin.com/Qmi5TMKv

    &#xA;

    ffmpeg version n5.0.1 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 12.1.0 (GCC)&#xA;  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3&#xA;  libavutil      57. 17.100 / 57. 17.100&#xA;  libavcodec     59. 18.100 / 59. 18.100&#xA;  libavformat    59. 16.100 / 59. 16.100&#xA;  libavdevice    59.  4.100 / 59.  4.100&#xA;  libavfilter     8. 24.100 /  8. 24.100&#xA;  libswscale      6.  4.100 /  6.  4.100&#xA;  libswresample   4.  3.100 /  4.  3.100&#xA;  libpostproc    56.  3.100 / 56.  3.100&#xA;[x11grab @ 0x561faf77eb00] Stream #0: not enough frames to estimate rate; consider increasing probesize&#xA;Input #0, x11grab, from &#x27;:0.0&#x27;:&#xA;  Duration: N/A, start: 1658814267.169414, bitrate: 2014248 kb/s&#xA;  Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 2014248 kb/s, 60 fps, 1000k tbr, 1000k tbn&#xA;Guessed Channel Layout for Input Stream #1.0 : stereo&#xA;Input #1, alsa, from &#x27;default&#x27;:&#xA;  Duration: N/A, start: 1658814267.230653, bitrate: 1536 kb/s&#xA;  Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))&#xA;  Stream #1:0 -> #0:1 (pcm_s16le (native) -> vorbis (native))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x561faf7d4300] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1&#xA;[libx264 @ 0x561faf7d4300] profile High 4:4:4 Predictive, level 3.2, 4:4:4, 8-bit&#xA;[libx264 @ 0x561faf7d4300] 264 - core 164 r3081 19856cc - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=0 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=cqp mbtree=0 qp=0&#xA;[alsa @ 0x561faf78a940] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)&#xA;Output #0, matroska, to &#x27;/home/earth/Videos/-220726-1114-27.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf59.16.100&#xA;  Stream #0:0: Video: h264 (H264 / 0x34363248), yuv444p(tv, progressive), 1366x768, q=2-31, 30 fps, 1k tbn&#xA;    Metadata:&#xA;      encoder         : Lavc59.18.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;  Stream #0:1: Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp&#xA;    Metadata:&#xA;      encoder         : Lavc59.18.100 vorbis&#xA;[vorbis @ 0x561faf7d5500] Queue input is backward in time0 bitrate=N/A speed=   0x&#xA;frame=  153 fps= 31 q=-1.0 Lsize=    2295kB time=00:00:05.06 bitrate=3709.5kbits/s dup=0 drop=150 speed=1.01x&#xA;video:2282kB audio:7kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 0.281689%&#xA;[libx264 @ 0x561faf7d4300] frame I:1     Avg QP: 0.00  size:381729&#xA;[libx264 @ 0x561faf7d4300] frame P:152   Avg QP: 0.00  size: 12857&#xA;[libx264 @ 0x561faf7d4300] mb I  I16..4: 100.0%  0.0%  0.0%&#xA;[libx264 @ 0x561faf7d4300] mb P  I16..4: 56.3%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:43.6%&#xA;[libx264 @ 0x561faf7d4300] coded y,u,v intra: 1.6% 1.6% 1.6% inter: 0.2% 0.2% 0.2%&#xA;[libx264 @ 0x561faf7d4300] i16 v,h,dc,p: 99%  1%  0%  0%&#xA;[libx264 @ 0x561faf7d4300] kb/s:3664.27&#xA;Exiting normally, received signal 15.&#xA;

    &#xA;

    I am using the preset ultrafast because I read that it helps not to compress the video too much.&#xA;The output of the recorded test file using ffmpeg is as below.

    &#xA;

     (&#x2B;) Video --vid=1 (h264 1366x768 30.000fps)&#xA; (&#x2B;) Audio --aid=1 (vorbis 2ch 48000Hz)&#xA;AO: [pulse] 48000Hz stereo 2ch float&#xA;VO: [gpu] 1366x768 yuv444p&#xA;AV: 00:00:03 / 00:00:19 (17%) A-V:  0.000&#xA;[mkv] Discarding potentially broken or useless index.&#xA;AV: 00:00:14 / 00:00:19 (73%) A-V:  0.000&#xA;&#xA;Exiting... (Quit)&#xA;

    &#xA;

    The recording works but there is a audio lag. If I record the same using simplescreenrecorder with the same settings like,

    &#xA;

    audio backend - alsa

    &#xA;

    source - default

    &#xA;

    audio codec - vorbis

    &#xA;

    video codec - h.264

    &#xA;

    container - matroska

    &#xA;

    preset - superfast

    &#xA;

    The simplescreenrecorder log https://pastebin.com/83hMMRQF

    &#xA;

    [PageRecord::StartPage] Starting page ...&#xA;[PageRecord::StartPage] Started page.&#xA;[PageRecord::StartOutput] Starting output ...&#xA;[PageRecord::StartOutput] Output file: /home/earth/Videos/simplescreenrecorder-2022-07-26_11.18.13.mkv&#xA;[Muxer::Init] Using format matroska (Matroska).&#xA;[Muxer::AddStream] Using codec libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10).&#xA;[VideoEncoder::PrepareStream] Using pixel format nv12.&#xA;[libx264 @ 0x563436cbfd40] using SAR=1/1&#xA;[libx264 @ 0x563436cbfd40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA3 BMI1&#xA;[libx264 @ 0x563436cbfd40] profile High, level 3.2, 4:2:0, 8-bit&#xA;[libx264 @ 0x563436cbfd40] 264 - core 164 r3081 19856cc - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 pb_ratio=1.30 aq=1:1.00&#xA;[Muxer::AddStream] Using codec libvorbis (libvorbis).&#xA;[BaseEncoder::EncoderThread] Encoder thread started.&#xA;[AudioEncoder::PrepareStream] Using sample format f32p.&#xA;[BaseEncoder::EncoderThread] Encoder thread started.&#xA;[Muxer::MuxerThread] Muxer thread started.&#xA;[PageRecord::StartOutput] Started output.&#xA;[Synchronizer::SynchronizerThread] Synchronizer thread started.&#xA;[PageRecord::StartInput] Starting input ...&#xA;[X11Input::Init] Using X11 shared memory.&#xA;[X11Input::Init] Detecting screen configuration ...&#xA;[X11Input::Init] Screen 0: x1 = 0, y1 = 0, x2 = 1366, y2 = 768&#xA;[X11Input::InputThread] Input thread started.&#xA;[ALSAInput::InputThread] Using sample format s16.&#xA;[PageRecord::StartInput] Started input.&#xA;[ALSAInput::InputThread] Input thread started.&#xA;[FastResampler::Resample] Resample ratio is 1.0000 (was 0.0000).&#xA;[PageRecord::StopOutput] Stopping output ...&#xA;[PageRecord::StopOutput] Stopped output.&#xA;[PageRecord::StopInput] Stopping input ...&#xA;[X11Input::~X11Input] Stopping input thread ...&#xA;[X11Input::InputThread] Input thread stopped.&#xA;[ALSAInput::~ALSAInput] Stopping input thread ...&#xA;[ALSAInput::InputThread] Input thread stopped.&#xA;[PageRecord::StopInput] Stopped input.&#xA;

    &#xA;

    It works perfectly without any lag whatsoever. The output of the recorded test file using simplescreenrecorder is as below.

    &#xA;

     (&#x2B;) Video --vid=1 (h264 1366x768)&#xA; (&#x2B;) Audio --aid=1 (vorbis 2ch 48000Hz)&#xA;AO: [pulse] 48000Hz stereo 2ch float&#xA;VO: [gpu] 1366x768 yuv420p&#xA;AV: 00:00:01 / 00:00:17 (7%) A-V:  0.000&#xA;[mkv] Discarding potentially broken or useless index.&#xA;AV: 00:00:08 / 00:00:17 (47%) A-V:  0.000&#xA;&#xA;Exiting... (Quit)&#xA;

    &#xA;

    The only difference that I saw between these two recordings is VO: [gpu] 1366x768 yuv444p&#xA;VO: [gpu] 1366x768 yuv420p for ffmpeg and simplescreenrecorder receptively.&#xA;I do not know if this matters but is there something that I could tweak to make ffmpeg to capture the screen and audio without any lag.&#xA;Like answered here https://unix.stackexchange.com/questions/675436/ffmpeg-recording-slows-down-when-audio-inputs-are-added&#xA;I do open pavucontrol but its not much of a help.

    &#xA;

    The reason that I going with ffmpeg is because I can kill the process using pid at a particular time using cronjobs.&#xA;These are my system information, in case if it helps

    &#xA;

    System:&#xA;  Host: taco Kernel: 5.18.12-arch1-1 arch: x86_64 bits: 64 Desktop: dwm&#xA;    v: 6.2 Distro: Arch Linux&#xA;Machine:&#xA;  Type: Desktop Mobo: Acer model: A75F2-M v: P21-A1 serial: N/A BIOS: Acer&#xA;    v: P21-A1 date: 02/07/2014&#xA;CPU:&#xA;  Info: quad core model: AMD A8-5500B APU with Radeon HD Graphics bits: 64&#xA;    type: MT MCP cache: L2: 4 MiB&#xA;  Speed (MHz): avg: 1400 min/max: 1400/3200 cores: 1: 1400 2: 1400 3: 1400&#xA;    4: 1400&#xA;Graphics:&#xA;  Device-1: AMD Trinity [Radeon HD 7560D] driver: radeon v: kernel&#xA;  Display: server: X.Org v: 21.1.4 driver: X: loaded: modesetting&#xA;    gpu: radeon resolution: 1366x768~60Hz&#xA;  OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 5.18.12-arch1-1 LLVM 14.0.6)&#xA;    v: 4.3 Mesa 22.1.3&#xA;Audio:&#xA;  Device-1: AMD FCH Azalia driver: snd_hda_intel&#xA;  Sound Server-1: ALSA v: k5.18.12-arch1-1 running: yes&#xA;  Sound Server-2: PulseAudio v: 16.1 running: yes&#xA;  Sound Server-3: PipeWire v: 0.3.56 running: yes&#xA;

    &#xA;

    Any help is much appreciated.

    &#xA;