Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (104)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7402)

  • How to modify this Windows script to do a match ?

    21 janvier 2016, par Andrei Clear

    ffmpeg can resize a video/image file .. first is input_file .. parameters .. output_file ..

    ffmpeg -i input.avi -vf scale=320:240 output.avi

    or

    ffmpeg -i 20140724_071746.mp4 -vf scale=640:-1 20140724_071746_LOW_640.mp4

    more info here : https://trac.ffmpeg.org/wiki/Scaling%20%28resizing%29%20with%20ffmpeg

    I want it to downscale all the videos on my microSD card to create space (I have originals backed-up)

    So I want it to go throw all the files in all the sub-directories overnight and resize all the files. Chances are that the script might stop or crash and I would need to run it again, or if I add new files I would want to run it again.

    So I would want it to skip processing all the files that have been processed AND their resized versions.

    In my case if a FILE_NAME.mp4 also has FILE_NAME_LOW_640.mp4 SKIP it
    AND
    if a FILE_NAME_LOW_640.mp4 has *640 SKIP it

    Here is my Windows batch script so far

    REM @echo off
    REM just save as "DOS"
    REM cd /d C:\s

    setlocal enabledelayedexpansion
    for %%j in (*.mp4) do (
    set filename=%%~nj
    echo %%j

    ffmpeg -i %%j -vf scale=640:-1 %%j_LOW_640.mp4

    REM but now I want to add the two checks to skip files that have been resized .. or if they are the resized version

    REM if not "!filename!"=="%%j_LOW_640.mp4" AND IF FILE !COINTAIN *640* THEN ffmpeg -i %%j -vf scale=640:-1 %%j_LOW_640.mp4

    )

    pause
    REM AND I would also want it to process all the sub-directories  

    In other words my questions for help are :

    1. How can I do a check for a string if it contains a string match ?

    2. How can I have my script also process all the subdirectories ?

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

    


  • FFMPEG - build ubuntu 32 bit - missing shared library : libspeex

    29 avril 2013, par Benoit Brayer

    I am currently doing a cross platform software calling ffmpeg in c++ and I need a ffmpeg build working on both ubuntu 32bits and 64bits for the installer.
    I also need this ffmpeg build to include librtmp, libh264, x11-grab, alsa, and mp3.

    I tried to compile ffmpeg on a 32bits virtual box to have a ffmpeg build working on ubuntu 32 bits and 62 bits.

    I used this guide to build ffmpeg :
    https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

    After compiling all the libs and ffmpeg himself, after installation using the deb files, ffmpeg is working perfectly on the 32bits virtualbox with all of my required components but not on my 62bits ubuntu.

    When executing ffmpeg on ubuntu 64bits i got a message saying : impossible find the shared library libspeex.

    Do you have any idea why I have this problem only on linux 64bits with the save deb files ?
    Do you know a website where i could find an ffmpeg 32bits build with all the components I need (static if possible) ?
    I tried this website http://ffmpeg.gusari.org/static/ but the build is not including alsa...

    I have a build for windows working perfectly, I downloaded the 32 bits static build on this website : zeranoe builds website for windows.

    Thanks in advance for any answer.
    Regards.

    Benoit Brayer