Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (56)

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

  • Anomalie #3688 (Nouveau) : Différence de traitement du IN selon qu’un critère est facultatif ou pas

    9 février 2016, par tcharlss (*´_ゝ`)

    Description :

    Il semble y avoir une différence de traitement selon qu’un critère est facultatif ou pas, quand dans l’environnement, la valeur correspondant au critère est un array. Dans un cas, ça fait bien un WHERE machin IN (x,y,z), dans l’autre, ça fait un WHERE machin = truc bizarre.

    Pour reproduire :

    Soit un squelette qui en inclus un autre :

    
    

    Squelette inclus :

    #ID_AUTEUR
    

    Au niveau de ce dernier, #ENV{id_auteur} est un tableau qui contient des strings, au lieu de int :

    array (size=10)
      0 => string ’1’ (length=1)
      1 => string ’2’ (length=1)
      etc.
    

    Avec le critere facultatif {id_auteur ?}, la boucle passe, on a bien un IN dans le WHERE :

    auteurs.id_auteur  IN (1,2,3,4,5,6,7,8,9,10)
    

    En revanche avec le critere id_auteur, ça ne fonctionne pas :

    auteurs.id_auteur = (2 1 (3) : 4)
    
  • Skipping incompatible libmp3lame.a while searching mp3lame (FFMPEG)

    19 octobre 2014, par trololo

    I want to compile ffmpeg with libmp3lame for my Android app. I’m using Virtual Machine with OS Debian.
    While compiling I recieve with message in Console.log file :

    skipping incompatible /home/sla/ffmpeg_build/lib/libmp3lame.a while searching mp3lame
    ...

    That’s why compilations doesn’t work properly.

    I’ve installed lame for debian using this code install.sh :
    (https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu)

    sudo apt-get install libmp3lame-dev
    mkdir /home/sla/ffmpeg_build
    mkdir /home/sla/ffmpeg_sources
    sudo apt-get install nasm
    cd /home/sla/ffmpeg_sources
    wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
    tar xzvf lame-3.99.5.tar.gz
    cd lame-3.99.5
    ./configure --prefix="/home/sla/ffmpeg_build" --enable-nasm --disable-shared
    make
    make install
    make distclean

    But it doesn’t work (lame compiles but ffmpeg - doesn’t).
    ffmpeg compiler says something strange.

    For ffmpeg I wrote flags :

    --export-cflags
    -I/home/sla/ffmpeg_build/include

    --export-ldflags
    -L/home/sla/ffmpeg_build/lib

    How to fix it ?

  • Use ffmpeg to create a music video with the cover on a black background

    21 septembre 2020, par user6329530

    I am trying to use this tutorial to create youtube videos with ffmpeg
https://trac.ffmpeg.org/wiki/Encode/YouTube

    


    When using this example, I get a video that works however the background is white

    


    ffmpeg -loop 1 -framerate 2 -i albumcover.png -i audio.wav -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv


    


    I tried to add a color filter but that makes the whole video output black :

    


    ffmpeg -loop 1 -framerate 2 -i albumcover.png -filter_complex "color=s=1920x1080:c=black" -i audio.wav -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv


    


    I find it very difficult to find something about this on the internet as most ask for just a black video or a transparent background for a gif ect.

    


    So how do I get the albumcover.png on a black background ?

    


    EDIT : I just realized that the video format is of course the image format (square) and therefore it's white on youtube. The question therefore is now how do I create a black background 16:9 and put the albumcover centered on it...