Recherche avancée

Médias (91)

Autres articles (32)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5016)

  • FFMPEG Crop with side by side merge

    24 juin 2019, par Alan

    I am trying to create a shell/ffmpeg script that can show multiple files after they have been processed using different filters in a side by side / tiled way. An example of desired output would be : https://www.youtube.com/watch?v=DoPuhMRYem4.

    In order to create the desired output I need to crop off the right half of video1 and the left half of video2 and then join them back with [video1+video2] side by side. I have played around with a bunch of different ways of joining them, this does OK :

    ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "
    nullsrc=size=800x400 [background];
    [0:v] setpts=PTS-STARTPTS, scale=400x400 [left];
    [1:v] setpts=PTS-STARTPTS, scale=400x400 [right];
    [background][left]       overlay=shortest=1       [background+left];
    [background+left][right] overlay=shortest=1:x=400 [left+right]
    " -map '[left+right]' joined.mp4

    How can I modify this to detect the video width (they won’t always be the same width), divide the width in half and crop either the left or right sides off ?

  • ffmpeg : Is this a bug in Xcode ?

    30 avril 2014, par daozhao

    I debug the ffmpeg program on the macosx with xcode.I find a bug with xcode(or lldb)。

    code @ ffmpeg_opt.c-->static int open_input_file(OptionsContext *o, const char *filename)
    #ifdef DEBUG
        av_log(NULL,AV_LOG_INFO,"func :%s(%d) filename :%s \n", __func__,__LINE__,filename) ;
    #endif
    

    if (!strcmp(filename, "-")) //after step over,the debug windows show filename=NULL.
    filename = "pipe :" ;

    #ifdef DEBUG
    av_log(NULL,AV_LOG_INFO,"func :%s(%d) filename :%s \n", __func__,__LINE__,filename) ;
    //but it can print the correct value。
    #endif

    you can clone the project from https://github.com/daozhao/FFmpeg.git, and checkout branch(release/2.2withComment) which is include xcode project file. you can debug with FFmpegMakefile targets try it.

    you can see the screen record on https://www.youtube.com/watch?v=3rTLirTGPM4 .

    my OS:10.9.2, xcode:5.1.1

  • How can i make drawtext filter start the text scrolling from the center while scrolling from right to left

    16 janvier 2018, par Femzy

    Hello How can i make the text start from the center when the video play ? Currently it start from the left side and people dont see the first words before it goes. I want the text to start from either the center of the video or the right while moving from right to left. Thanks in advance for helping me...
    This is my code that currently works for the text, but it starts from the edge of the of the left while moving from right to left

    echo shell_exec('ffmpeg -loop 1 -i slide2.jpg -vf scale=-2:1080,drawtext="textfile=text.txt:expansion=normal:fontfile=FreeSerif.otf: y=h-line_h-20:x=-200*t: fontcolor=white: fontsize=50" -pix_fmt yuv420p -t '.$words_count.' -movflags +faststart textover10.mp4 -report');