Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7603)

  • avfilter/graphparser : allow specifying filter@id as filter instance

    17 mai 2017, par Muhammad Faiz
    avfilter/graphparser : allow specifying filter@id as filter instance
    

    See http://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-April/035975.html
    Parsed_filter_X could remain and user can override it with custom one.

    Example :
    ffplay -f lavfi "nullsrc=s=640x360,
    sendcmd='1 drawtext@top reinit text=Hello ; 2 drawtext@bottom reinit text=World',
    drawtext@top=x=16:y=16:fontsize=20:fontcolor=Red:text='',
    drawtext@bottom=x=16:y=340:fontsize=16:fontcolor=Blue:text=''"

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Muhammad Faiz <mfcc64@gmail.com>

    • [DH] doc/filters.texi
    • [DH] libavfilter/graphparser.c
  • unable to successfully close ffmpeg stream in node.js

    25 septembre 2022, par K. Russell Smith

    i'm trying to write a node video app that generates frames using the canvas api (via node-canvas, the project's only npm dependancy right now), and writes it to ffmpeg via a stream to generate a video :

    &#xA;

    const { createCanvas } = require(&#x27;canvas&#x27;);&#xA;const { spawn } = require(&#x27;child_process&#x27;);&#xA;const fs = require(&#x27;fs&#x27;);&#xA;const canvas = createCanvas(1280, 720);&#xA;&#xA;const ffmpeg = spawn(&#x27;ffmpeg&#x27;, [&#xA;    &#x27;-y&#x27;,&#xA;    &#x27;-f&#x27;, &#x27;rawVideo&#x27;,&#xA;    &#x27;-vcodec&#x27;, &#x27;rawVideo&#x27;,&#xA;    &#x27;-pix_fmt&#x27;, &#x27;rgb24&#x27;,&#xA;    &#x27;-s&#x27;, `${ canvas.width }x${ canvas.height }`,&#xA;    &#x27;-r&#x27;, &#x27;40&#x27;,&#xA;    &#x27;-i&#x27;, &#x27;-&#x27;, &#x27;-f&#x27;, &#x27;mp4&#x27;,&#xA;    &#x27;-q:v&#x27;, &#x27;5&#x27;,&#xA;    &#x27;-an&#x27;, &#x27;-vcodec&#x27;, &#x27;mpeg4&#x27;, &#x27;output.mp4&#x27;,&#xA;]);&#xA;&#xA;const ctx = canvas.getContext(&#x27;2d&#x27;);&#xA;ctx.font = &#x27;30px Prime&#x27;;&#xA;ctx.fillStyle = &#x27;blue&#x27;;&#xA;ctx.textAlign = &#x27;center&#x27;;&#xA;ctx.textBaseline = &#x27;middle&#x27;;&#xA;ctx.fillText(&#x27;Hello Canvas&#x27;, canvas.width / 2, canvas.height / 2);&#xA;&#xA;for (let i = 0; i &lt; 250; &#x2B;&#x2B;i)&#xA;{&#xA;    console.log(i);&#xA;    ffmpeg.stdin.write(Buffer.from(ctx.getImageData(0, 0, canvas.width, canvas.height).data));&#xA;}&#xA;ffmpeg.stdin.end();&#xA;

    &#xA;

    unfortunately, when i run it, the program throws this after writing the frames :

    &#xA;

    node:events:368&#xA;      throw er; // Unhandled &#x27;error&#x27; event&#xA;      ^&#xA;&#xA;Error: write EPIPE&#xA;    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:98:16)&#xA;Emitted &#x27;error&#x27; event on Socket instance at:&#xA;    at emitErrorNT (node:internal/streams/destroy:164:8)&#xA;    at emitErrorCloseNT (node:internal/streams/destroy:129:3)&#xA;    at processTicksAndRejections (node:internal/process/task_queues:83:21) {&#xA;  errno: -32,&#xA;  code: &#x27;EPIPE&#x27;,&#xA;  syscall: &#x27;write&#x27;&#xA;}&#xA;&#xA;Node.js v17.1.0&#xA;

    &#xA;

    what am i doing wrong ?

    &#xA;

  • FFmpeg command to draw text hindi font is working fine in windows command prompt but Batch script and simple CPP program in NOT working

    1er juillet 2022, par Abdullah Farweez

    Below ffmpeg command in working fine in command prompt

    &#xA;

    ffmpeg -i video.mp4 -filter_complex "drawtext=fontfile=Khula-regular.ttf:fontsize=60:fontcolor=blue:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200" output.mp4&#xA;

    &#xA;

    giving expected result&#xA;enter image description here

    &#xA;

    But if we run it as a bat file, it is not giving the expected output

    &#xA;

        ::bat script start &#xA;    @echo off&#xA;    ffmpeg -i video.mp4 -filter_complex "drawtext=fontfile=Khula-Regular.ttf:fontsize=60:fontcolor=blue:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200" output.mp4&#xA;:: bat script end&#xA;

    &#xA;

    This the CPP program which calling the ffmpeg command via system method

    &#xA;

    #include <iostream>&#xA;#include <cstring>&#xA;#include &#xA;&#xA;using namespace std;&#xA;&#xA;int main()&#xA;{&#xA;  string command = "ffmpeg.exe -i video.mp4 -filter_complex \"drawtext=fontfile=Khula-Regular.ttf:fontsize=60:fontcolor=yellow:text=अगला एपिसोड देखने के लिए जल्दी से फॉलो करें:x=30:y=200\" output.mp4";&#xA;  system(command.c_str());&#xA;  return 0;&#xA;}&#xA;</cstring></iostream>

    &#xA;

    same behavior as bat script.

    &#xA;

    screenshot of the output video.&#xA;enter image description here

    &#xA;

    Here is the additional information for the references

    &#xA;

    Folder structure

    &#xA;

    .&#xA;|-- Khula-Regular.ttf&#xA;|-- cpp_program.exe&#xA;|-- command.cpp&#xA;|-- ffmpeg.exe&#xA;|-- ffplay.exe&#xA;|-- ffprobe.exe&#xA;|-- output.mp4&#xA;|-- run.bat&#xA;`-- video.mp4&#xA;&#xA;C:\bin&#xA;

    &#xA;

    FFmpeg info

    &#xA;

    $ ffmpeg&#xA;ffmpeg version N-107262-g4454142782-20220628 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 11.2.0 (crosstool-NG 1.24.0.533_681aaef)&#xA;  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220628&#xA;  libavutil      57. 27.100 / 57. 27.100&#xA;  libavcodec     59. 34.100 / 59. 34.100&#xA;  libavformat    59. 25.100 / 59. 25.100&#xA;  libavdevice    59.  6.100 / 59.  6.100&#xA;  libavfilter     8. 41.100 /  8. 41.100&#xA;  libswscale      6.  6.100 /  6.  6.100&#xA;  libswresample   4.  6.100 /  4.  6.100&#xA;  libpostproc    56.  5.100 / 56.  5.100&#xA;Hyper fast Audio and Video encoder&#xA;usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...&#xA;&#xA;Use -h to get full help or, even better, run &#x27;man ffmpeg&#x27;&#xA;

    &#xA;

    PS : FFmpeg does not showing any error while processing in bat or cpp_program, but output is not giving in the specified font instead giving in random characters in the final output.mp4

    &#xA;