Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (51)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8090)

  • String is showing undefined

    30 octobre 2022, par Lol

    I am trying to create video using ffmpeg and returning its path to index.js but path is showing undefined.

    


    index.js

    


    app.get('/content/:myfact', async (req, res) => {
  let myfactdata = req.params.myfact;
  let myfact = myfactdata.replace("_", " ");
  const video = await generateVideo(myfact);
  console.log(video)
});


    


    This is my contentVideo.js

    


    const generateImage = require('./contentimage.js');
const { spawn } = require('child_process');

const generateVideo = async (myfact) => {
  await generateImage(myfact);
  const child = spawn('ffmpeg', [
    '-i', 'pictures/download/image.png', 'pictures/download/video.mp4'
  ]);
  child.on('close', function (code, signal) {
    const video = 'pictures/download/video.mp4'
    return video
  });
}

module.exports = generateVideo


    


  • How can I change an animation into .mp4 video in android ?

    15 août 2016, par littlebird

    Here is the problem. First I have some pictures and I have built an animation in ImageView so that pictures can fade in and fade out, with rotating, scaling...
    Question is how to save it (or how to change this animation into .mp4 or other format). I have searched this problem in SO, some say using ffmpeg, or javaCV, or jcodec. But all these way save images to video one frame by one frame, I don’t understand how to completely save the rotating, scaling during each fading in and fading out. Or is there any way else to do so ?
    Thanks in advance.

  • Converting a video and capturing a thumbnail through ffmpeg-php

    14 mai 2014, par HackerManiac

    Can anyone give a code on how do i upload and covert a video using ffmpeg.

    As thought currently i have only uploading system.

    vu.php

    define('UPLOAD','../../videos/');
       $fileName = time().$file['name'];
       $target = UPLOAD.$fileName;

     if(move_uploaded_file($file['tmp_name'],$target)){                
         exec("ffmpeg -i ".UPLOAD." ".UPLOAD.$filename.".flv");
     }

    This pice of code block just uploads the video on video folder but does not converts it to .flv.
    I am not sure how to use ffmpeg.

    My diretory looks like this

    www[localhost]->videos[videos folder]
    www[localhost]->pictures[pictures folder]
    www[localhost]->resources[folder]->php[folder]->vu.php

    I also want to return a .jpg image of any frame of video through json by converting via ffmpeg and uploading it to pictures folder.

    return json_encode(array("thumbnail"=>$image_src));