Recherche avancée

Médias (91)

Autres articles (112)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

Sur d’autres sites (13469)

  • FFmpeg add complex filter image and audio to video

    5 mars 2019, par fitzmode

    I’m working with fluent-ffmpeg for Node and would like to add a gif image and an audio to an mp4 video. The gif added with complexFilter works as expected, but the audio does not work with the complexFilter applied. Without the complexFilter, the audio works as expected.

       ffmpeg('/Users/xxx/functions/src/initialvideo.mp4')
       .setFfmpegPath(ffmpeg_static.path)
       .input('/Users/xxx/functions/src/somegif.gif')
       .complexFilter(
         [
           {
             "filter": "overlay",
             "options": {
               "enable": "between(t,0,4)",
               "x": "810",
               "y": "465"
             },
             "inputs": "[0:v][1:v]",
             "outputs": "tmp"
           }

         ], ['tmp'])
       .addInput('/Users/xxx/functions/src/somemusic.mp3')

       .outputOptions(['-pix_fmt yuv420p'])
      .on('end',() => {

        return response.status(200).send(`Error getting collection: `)

     })
      .on('error',() => {
        return response.status(500).send(`Internal Server Error: `)

      })
      .save('/Users/xxx/functions/src/finalvideo.mp4')

    Any ideas on how I can solve this ?

  • Use ffmpeg from an electron app

    8 février 2017, par Sharath Huddar

    I intend to build a basic video editor desktop app. I have built a working prototype in python ( using kivy ). In this prototype I directly call the command line ffmpeg tool.

    How can I incorporate ffmpeg into my electron app ?

  • Class 'FFMpeg\FFMpeg\Coordinate\Dimension' not found

    14 juillet 2016, par Vaibhavraj S. Roham

    I am trying to execute basic example of php-ffmpeg library in Laravel 5. I have already installed ffmeg on ubuntu and working fine from command line. I am getting following error while running the example.


    Error

    FatalErrorException in WelcomeController.php line 26 : Class
    ’FFMpeg\FFMpeg\Coordinate\Dimension’ not found


    My Code

    use FFMpeg\FFMpeg;

    class WelcomeController extends Controller {

       public function __construct()
       {
           $this->middleware('guest');
       }

       public function index()
       {
           return view('welcome');
       }

       public function video()
       {

           $ffmpeg = FFMpeg::create();

           $video = $ffmpeg->open('test1.mp4');

           $video
               ->filters()
               ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
               ->synchronize();
           $video
               ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
               ->save('frame.jpg');
           $video
               ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
               ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
               ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
       }
    }

    What would be the error ?