Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (104)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6729)

  • Bash, Relative Paths, and Mac Automator Fails

    30 septembre 2015, par grahama

    This script works great in the terminal but fails when I run the shell script in automator (mac). For some reason, automator doesn’t remember the gif’s name and writes the file as *.gif. When run directly in Terminal, the script correctly converts to movie file to Gif and moves it to the correct Dropbox location.
    I’m trying to run this automator Mov2Gif script when Apple Motion 5 finishes rendering a movie.

    Any help is appreciated. Automator is a little touchy.

    #!/bin/sh

    fps=8
    scale=400
    palette="/tmp/palette.png"
    filters="fps=$fps,scale=$scale:-1:flags=lanczos"

    destDIR="/PATH/TO/DROPBOX/DIR"
    curDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    incomingDIR=$curDIR/_incoming

    ffmpeg=$curDIR/ffmpeg/ffmpeg


    for f in *.mov
    do  

       fbname=$(basename "$f" .mov)
       fbAbsPath=$incomingDIR/$fbname
       $ffmpeg  -v warning -i $fbAbsPath.mov -vf "$filters,palettegen" -y $palette
       $ffmpeg -v warning -i $fbAbsPath.mov -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $fbAbsPath.gif
       rm $fbAbsPath.mov
       mv -f $fbAbsPath.gif $destDIR/$fbname.gif
    done
  • Overlying video frames using FFmpeg in c++

    14 mai 2020, par Bruce

    I am trying to overlaying two videos using FFmpeg in c++. So I followed the FFmpeg page and followed this command in terminal.

    



    $ ffmpeg -i Right.mov -i Left.mov -filter_complex "[0:v][1:v] overlay=0:0"  -c:a copy output.mov


    



    I can implement this functionality through the terminal, but I am trying to achieve this functionality through codding.

    



    typedef struct {
    AVFormatContext *fmt_ctx;
    int stream_idx;
    AVRational time_base;
    AVStream *video_stream;
    AVCodecContext *codec_ctx;
    AVCodecContext *pCodecCtxOrig;
    AVCodec *decoder;
    AVPacket *packet;
    AVFrame *av_frame;
    AVFrame *gl_frame;
    AVFrame *out_frame;
    AVStream *pStream;
    struct SwsContext *conv_ctx;


    



    also, I show some example code, but I am not sure about it

    



    https://ffmpeg.org/doxygen/2.1/doc_2examples_2filtering_video_8c-example.html

    



    and 
https://code5.cn/so/c%2B%2B/2601062

    



    AVFilterContext *buffersink_ctx;
AVFilterContext *buffersrc_ctx;
AVFilterGraph *filter_graph;


    



    how can I implement this functionality in my code ?

    


  • Can I see what ffmpeg.exe in task manager is doing ?

    28 février 2023, par miitchel

    So I use a program that starts ffmpeg processes in the background, is it possible to open one of those processes in the Windows terminal so I can see what it is doing ?