Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (104)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (13384)

  • Concat with short inpoint and outpoint differences leads to long still image in the final video

    11 mai 2017, par P. Dee

    I create a list.txt with inpoint and outpoint markers, that are sometimes close - down to 0.5s in difference with GoPro MP4-files.

    Then I use -y -f concat -safe 0 -i list.txt -c:v libx264 -c:a aac -af aresample=async=1 -pix_fmt yuv420p "filename.mp4".

    What happens is that the smaller the differences between inpoint and outpoint are, the longer a still image of the first video image is shown. Recently I had a 60 seconds long video and 30 seconds of it at the beginning were just the same image.

    How do I need to change my command ?

  • FFMPEG works in command line but not in exec(), it returns 127

    26 février 2015, par Felipe Schenone

    The command is

    ffmpeg -i path/to/video.avi path/to/video.mpg

    and it works fine from the command line. However, when I call it with PHPs exec(), the return value is 127, it doesn’t seem to detect FFMPEG. What am I doing wrong ? I’m in localhost and the safe mode is off, but I’m new to both FFMPEG and exec(), so it may be a noob mistake. Thanks in advance.

  • Async Javascript function returns undefined

    14 avril 2018, par Leon Wright

    I am trying to run this function but the it keeps returning undefined when I explicitly hardcode the return value.

    const splitVideo = async (sid, video, part) => {
       let framesLocation =`${process.cwd()}/${dirs.videoFrames}/${sid}_${part}`;

       console.log(fs.existsSync(framesLocation));

       if(!fs.existsSync(framesLocation)) {
           console.log("making dir");
           f.s.mkdirSync(framesLocation);
       }

       ffmpeg(video)
           .on('end', () => {
                return "done";
            })
            .on('error', (err) => {
                throw err;
            })
            .screenshots({
                 timestamps: [1,2],
                 filename: `${sid}_${part}/frame-%s.png`,
                 folder: `${process.cwd()}/${dirs.videoFrames}`
            });
    };

    Please help this is very frustrating.