Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (77)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5573)

  • What is this "fixing the build scripts" for compiling x264 ?

    29 mai 2020, par Blake Senftner

    I am trying to compile an all static build of source-customized ffmpeg libraries with the additional codecs from VideoLAN, such as their x264 codec. I am ultimately building for use in Windows with Visual Studio 2015 C++, so I am comparing a few compiling guides for my instructions.

    



    In the guide linked below (I located via Google searches) shows how to compile x264 with the VS2015 toolchain in MSYS2 without any special steps :
https://gist.github.com/RangelReale/3e6392289d8ba1a52b6e70cdd7e10282

    



    While in this other guide, offered by the compiling guide pages from ffmpeg's web site, it includes steps for "fixing the build scripts" for x264 :
https://www.roxlu.com/2019/062/compiling-ffmpeg-with-x264-on-windows-10-using-msvc

    



    Problem being, when I "fix the build scripts" the configure script no longer finds a C compiler. Building with the first guide seems to work, but it was also written nearly 2 years ago, so perhaps the ffmpeg guide is doing some important fix ? I don't know.

    



    I am :

    



      

    1. Running a "VS2015 x64 Native Tools Command Prompt"
    2. 


    3. launching a pacman loaded msys2 shell via "msys2_shell.cmd -mingw64 -use-full-path"
    4. 


    5. git cloning http://git.videolan.org/git/x264.git
    6. 


    



    and at this point the two compiling guides vary, the first guide just cd's into x264 and runs configure while the other guide does some curl download of a config.guess file and then some sed manipulation of ./configure. Considering these instructions are "endorsed" by the ffmpeg site, I am left wondering what that is doing and how critical is it that these "special" steps cause my x264 configure to fail.

    


  • ffmpeg nodejs lambda crop issue

    29 juillet 2020, par Ajouve

    I have a lambda function to crop videos with ffmpeg

    


    I am installing the layer this way

    


    #!/bin/bash
mkdir -p layer
cd layer
rm -rf *
curl -O https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
tar -xf ffmpeg-git-amd64-static.tar.xz
mv ffmpeg-git-*-amd64-static ffmpeg
rm ffmpeg-git-amd64-static.tar.xz


    


    I do not really which version but should be recent as I did it today for the last time

    


    Then my node js lambda function is running with the following nodejs module https://github.com/fluent-ffmpeg/node-fluent-ffmpeg

    


    return new Promise((resolve, reject) => {
        ffmpeg(inputFile.name)
            .videoFilters(`crop=${width}:${height}:${x}:${y}`)
            .format('mp4')
            .on('error', reject)
            .on('end', () => resolve(fs.readFileSync(outputFile.name)))
            .save(outputFile.name);


    


    with for example videoFilters('crop=500:500:20:20')

    


    And I have the folowing error

    


    ffmpeg exited with code 1: Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


    


    On my local computer I am running the following command on the exact same image

    


    ffmpeg -i in.mp4 -filter:v "crop=500:500:20:20" out.mp4


    


    my version of ffmpeg is 4.2.2 and this is working great

    


    I do not have the issue with all videos, here one video which is causing me the issue https://ajouve-util.s3.amazonaws.com/earth.mp4

    


  • HTML5 video not playing properly in Firefox browser on OS X

    10 août 2016, par Brian J

    The issue :

    I recently made a video that I would like to embed in my website as html5 video. I have the video in .mp4 and .ogv format. Here is a test page that I have set up with the video :

    http://www.briancjenkins.com/video_test/

    Here is the relevant html code that I used to embed the video :

    <video width="75%" controls="controls" loop="loop" poster="US_Inflation_Unemployment_Monthly_BP_Filtered.png">
     <source src="US_Inflation_Unemployment_Monthly_BP_Filtered.mp4" type="video/mp4">
     <source src="US_Inflation_Unemployment_Monthly_BP_Filtered.ogv" type="video/ogg">
     Your browser does not support the video tag.
    </source></source></video>

    The video plays perfectly on Safari (iOS and OS X), Chrome (OS X), and Firefox (iOS).

    However, the video does not play properly in Firefox on OS X. On both my desktop and laptop, when I play the video, the time bar moves, but there is no video. However, if I copy and paste the video URL into the Firefox address bar, the video plays fine. Here a the direct link to the .ogv-format video :

    http://www.briancjenkins.com/video_test/US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    I would like to know why the video is not playing in Firefox on OS X and how to fix the problem.

    What I know about the issue :

    I know that plenty of people have had trouble with html5 video and Firefox. And I also know from reading other questions that in some cases, the server is sending an incorrect mime type. I ran :

    $ curl -I http://www.briancjenkins.com/video_test/US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    and found that this does not seem to be the case here :

    Server: GitHub.com
    Content-Type: video/ogg

    which isn’t too surprising since Firefox will play the video hosted by Github, just not when its embedded in a webpage. Note that I also tried converting to .webm as an alternative to .ogv but that didn’t solve the issue.

    About the video

    The video was created in Python and and Matplotlib. I used Matplotlib to save the video to .mp4 and then I used ffmpeg to convert the video to .ogv format. Here is the ffmpeg command I used :

    $ ffmpeg -i US_Inflation_Unemployment_Monthly_BP_Filtered.mp4 -acodec libvorbis -ac 2 -ab 128k -ar 44100 -b:v 1800k  US_Inflation_Unemployment_Monthly_BP_Filtered.ogv

    It’s possible that I am not doing the conversion correctly, but I have tried several different variations on the conversion command. The video in question is hosted by Github.