Recherche avancée

Médias (91)

Autres articles (55)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (5754)

  • apng : Add a basic APNG encoder

    31 mars 2015, par Donny Yang
    apng : Add a basic APNG encoder
    

    Signed-off-by : Donny Yang <work@kota.moe>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] configure
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/pngenc.c
  • What it the expected behavior when using the input Framerate option (in FFmpeg) when the input is a real-time camera device ?

    28 août 2023, par J.M.

    As far as I know, the use of the Framerate option should be used only on an input files (like sequence of images or perhaps a video file that don't have a defined PTS).

    &#xA;&#xA;

    However, if I run the command below on my web-cam, the video still streams fine (at least for a few hours from what I've checked till now). Why is that still works ? Should I expect that something will get wrong ? (maybe later, after a few hours or days of streaming)

    &#xA;&#xA;

    ffmpeg -framerate 30&#xA0;-f v4l2 -copyts -i /dev/video0 -c:v libx264 -r 30 -f mpegts udp://192.168.10.199:1234&#xA;

    &#xA;&#xA;

    EDIT :

    &#xA;&#xA;

    After running some more tests, it seems that when I'm running the command like this, the steam get stuck after a few hours :

    &#xA;&#xA;

    ffmpeg -framerate 30&#xA0;-f v4l2 -copyts -i /dev/video0 -c:v libx264 -r 30 -f mpegts udp://192.168.10.199:1234&#xA;

    &#xA;&#xA;

    However, if I run the command like this, it runs for days :

    &#xA;&#xA;

    ffmpeg -r 30&#xA0;-f v4l2 -copyts -i /dev/video0 -c:v libx264 -r 30 -f mpegts udp://192.168.10.199:1234&#xA;

    &#xA;&#xA;

    But I don't understand why...

    &#xA;

  • FFMPEG parameter -sseof position is not “cutting” as expected

    9 mai 2020, par Vitalii

    I have a regular recording of the desktop screen, indefinite in time. I want to keep in memory, only the last 30 seconds. My command looks like this, where I try to cut the video of the last 30 seconds, using -sizeof -30. But the entire length of the video is saved.
    &#xA;avfoundation -i &#x27;1&#x27; it's my macbook screen

    &#xA;&#xA;

    ffmpeg -rtbufsize 300M -sseof -30 -f avfoundation -i &#x27;1&#x27; -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 ~/Desktop/output.mkv&#xA;

    &#xA;&#xA;

    System Macos 10.15
    &#xA;ffmpeg version 4.2.2

    &#xA;&#xA;

    My full log

    &#xA;&#xA;

    ffmpeg -rtbufsize 300M -sseof -30  -f avfoundation -i &#x27;1&#x27; -c:v libx264 -preset ultrafast -tune zerolatency -crf 25 ~/Desktop/output.mkv&#xA;ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.59)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_3 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --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;[AVFoundation input device @ 0x7fec8551cec0] Configuration of video device failed, falling back to default.&#xA;[avfoundation @ 0x7fec8600a200] Selected pixel format (yuv420p) is not supported by the input device.&#xA;[avfoundation @ 0x7fec8600a200] Supported pixel formats:&#xA;[avfoundation @ 0x7fec8600a200]   uyvy422&#xA;[avfoundation @ 0x7fec8600a200]   yuyv422&#xA;[avfoundation @ 0x7fec8600a200]   nv12&#xA;[avfoundation @ 0x7fec8600a200]   0rgb&#xA;[avfoundation @ 0x7fec8600a200]   bgr0&#xA;[avfoundation @ 0x7fec8600a200] Overriding selected pixel format to use uyvy422 instead.&#xA;[avfoundation @ 0x7fec8600a200] Stream #0: not enough frames to estimate rate; consider increasing probesize&#xA;Cannot use -sseof, duration of 1 not known&#xA;Input #0, avfoundation, from &#x27;1&#x27;:&#xA;  Duration: N/A, start: 107388.118500, bitrate: N/A&#xA;    Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 2560x1600, 1000k tbr, 1000k tbn, 1000k tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x7fec869bee00] MB rate (16000000000) > level limit (16711680)&#xA;[libx264 @ 0x7fec869bee00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fec869bee00] profile High 4:2:2, level 6.2, 4:2:2 8-bit&#xA;[libx264 @ 0x7fec869bee00] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 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=crf mbtree=0 crf=25.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0&#xA;Output #0, matroska, to &#x27;/Users/vitalii-artec3d/Desktop/output.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv422p, 2560x1600, q=-1--1, 1000k fps, 1k tbn, 1000k tbc&#xA;    Metadata:&#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;frame=  322 fps= 30 q=19.0 Lsize=     947kB time=00:00:10.80 bitrate= 718.0kbits/s speed=0.998x    &#xA;video:943kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.382723%&#xA;[libx264 @ 0x7fec869bee00] frame I:2     Avg QP:19.00  size:465715&#xA;[libx264 @ 0x7fec869bee00] frame P:320   Avg QP:19.30  size:   105&#xA;[libx264 @ 0x7fec869bee00] mb I  I16..4: 100.0%  0.0%  0.0%&#xA;[libx264 @ 0x7fec869bee00] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.9%&#xA;[libx264 @ 0x7fec869bee00] coded y,uvDC,uvAC intra: 36.9% 24.9% 21.0% inter: 0.0% 0.1% 0.0%&#xA;[libx264 @ 0x7fec869bee00] i16 v,h,dc,p: 66% 28%  4%  2%&#xA;[libx264 @ 0x7fec869bee00] i8c dc,h,v,p: 70% 16% 12%  1%&#xA;[libx264 @ 0x7fec869bee00] kb/s:23977740.00&#xA;

    &#xA;