Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (77)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (4751)

  • 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

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

    


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