Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (52)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6271)

  • Does exists other way of indenting ffmpeg batch script ?

    22 mars 2021, par Toni Cambronero Garcia

    How can I indent code in a Batch script other than using temporal variables %= =% ?
This is the only code that works for me with indentation.

    


    ::2020-12-31 10:43:40
@ECHO OFF
::SET VIDEO="E:\Vídeos\test.mp4"
SET VIDEO=%1
SET /P TITULO=Introduzca el título del vídeo: 
ffmpeg ^
    -y ^
    -loglevel verbose ^
    -i %VIDEO% ^
    -vf ^
          scale=^
%=          =%width=-2:^
%=          =%height=360,^
%=      =%drawtext=^
%=          =%fontfile='C\:/Windows/Fonts/impact.ttf':^
%=          =%text=%TITULO%:^
%=          =%fontcolor=white:^
%=          =%borderw=1:^
%=          =%fontsize=18:^
%=          =%alpha=0.99:^
%=          =%x=(w-tw)/2:^
%=          =%y=th/4:^
%=          =%expansion=none,^
%=      =%drawtext=^
%=          =%fontfile='C\:/Windows/Fonts/arial.ttf':^
%=          =%text='WATERMARK':^
%=          =%fontcolor=white:^
%=          =%borderw=1:^
%=          =%fontsize=18:^
%=          =%alpha=0.60:^
%=          =%x=w-tw-10:^
%=          =%y=h-th-10:^
%=          =%expansion=none^
    -map 0:v ^
    -map 0:a? ^
    -c:v h264 ^
    -crf 30 ^
    -c:a aac ^
    -q:a 1 ^
    -ac 1 ^
    %VIDEO:~0,-5%_WATERMARK.mp4


    


    If I try to use spaces or tabs in the "-vf" section ffmpeg interprets them as the end of the filter and the start of the output file argument .

    


  • avcodec/aacpsy : Avoid floating point division by 0 of norm_fac

    28 mai 2021, par Michael Niedermayer
    avcodec/aacpsy : Avoid floating point division by 0 of norm_fac
    

    Fixes : Ticket7995
    Fixes : CVE-2020-20446

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/aacpsy.c
  • FFMPEG Add thumbnail to video [duplicate]

    18 mai 2020, par james-norman

    add a thumbnail to my video file. I have the code that I have compiled with the help of other people from StackOverflow and I have one bit left to finish it off and that is to add a line of code to add video thumbnail.

    &#xA;&#xA;

    you will see some weird text in command like targggget these are words that get replaced by the software so ignore it.

    &#xA;app.path\ffmpeg gets replaced with file-path/ffmpeg
    &#xA;targgggett\targ3et.mp4 file-path/xx.mp4
    &#xA;targgggett\targetimgee - output is example C :\Users\username\Desktop\vidz\New folder\images\demo.png

    &#xA;&#xA;

    "app.path\ffmpeg" -y -i "targgggett\targ3et.mp4" -loop 1 -framerate 30000/1001 -t 5 -i "targgggett\targetimgee" -t 0.5 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -filter_complex "[0:a]atempo=1.0,pan=stereo|c0code>

    &#xA;&#xA;

    i want to add a video thumbnail using targgggett\targetimgee and set video thumbnail only

    &#xA;&#xA;

    "app.path\ffmpeg" -y -i "targgggett\targ3et.mp4" -loop 1 -framerate 30000/1001 -t 5 -i "targgggett\targetimgee" -t 0.5 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -filter_complex "[0:a]atempo=1.0,pan=stereo|c0code>

    &#xA;&#xA;

    i get error

    &#xA;&#xA;

    ffmpeg version git-2020-04-13-59e3a9&#xA;a Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --&#xA;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 &#xA;--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-li&#xA;bspeex --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 &#xA;     56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 78.102 / 58. 78.102&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample &#xA;  3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;C:\Users\user\Desktop\vidz\New folder\55.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;&#xA;    creation_time   : 2020-03-26T08:17:13.000000Z&#xA;  Duration: 00:04:29.12, start: 0.000000, bitrate: 1402 kb/s&#xA;    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 1270 kb/s, 29.97 fps, 29.97 tbr,&#xA; 30k tbn, 59.94 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-26T08:17:13.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 03/26/2020.&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, &#xA;stereo, fltp, 127 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-03-26T08:17:13.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 03/26/2020.&#xA;Input #1, image2, from &#x27;C:\Users\user\Desktop\vidz\New folder\\ima&#xA;ges\20191002_132728.jpg&#x27;:&#xA;  Duration: 00:00:00.03, start: 0.000000, bitrate: 1223868 kb/s&#xA;    Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 4032x3024, 29.97 tbr, 29.97 tbn, 29.97 tbc&#xA;Input #2, lavfi, from &#x27;anullsrc=channel&#xA;_layout=stereo:sample_rate=44100&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: 705 kb/s&#xA;    Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s&#xA;Option b:v (video bitrate (please use -b:v)) cannot be applied to input url C:\Users\user\Desktop\vidz\&#xA;New folder\\images\20191002_132728.jpg -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.&#xA;Error parsing options for input file C:\Users\user\Desktop\vidz\New folder\\images\20191002_&#xA;132728.jpg.&#xA;Error opening input files: Invalid argument&#xA;

    &#xA;