Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (43)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (6849)

  • How to create thumbnails of videos with Meteor, CollectionFS, & FFMPEG

    29 juin 2017, par Jared Martin

    I’m using Meteor with CollectionFS to store videos. I need a transform to create thumbnails of my videos.

    Videos = new FS.Collection("videos", {
     stores: [
       new FS.Store.FileSystem("thumbs", {
         transformWrite: function(fileObj, readStream, writeStream) {
           // What goes here?
         }
       }),
       new FS.Store.FileSystem("videos"),
     ],
    });

    I’ve worked out how to do this with ffmpeg :

    ffmpeg -i video.mp4 -vf  "thumbnail,scale=640:360" -frames:v 1 thumb.png

    But I’m not sure how to do this with the readStream I’m given and output the writeStream.

    Here’s an example of how it is done with images using GraphicsMagick :

    Images = new FS.Collection("images", {
     stores: [
       new FS.Store.FileSystem("thumbs", {
         transformWrite: function(fileObj, readStream, writeStream) {
           // Transform the image into a 10x10px thumbnail
           gm(readStream, fileObj.name()).resize('10', '10').stream().pipe(writeStream);
         }
       }),
       new FS.Store.FileSystem("images"),
     ],
    });

    Although the samples use the local filesystem, Ill be using cvs:dropbox, so you can’t rely on the file being there locally.

  • How to create thumbnails of videos with Meteor, CollectionFS, & FFMPEG

    24 juin 2015, par Jared Martin

    I’m using Meteor with CollectionFS to store videos. I need a transform to create thumbnails of my videos.

    Videos = new FS.Collection("videos", {
     stores: [
       new FS.Store.FileSystem("thumbs", {
         transformWrite: function(fileObj, readStream, writeStream) {
           // What goes here?
         }
       }),
       new FS.Store.FileSystem("videos"),
     ],
    });

    I’ve worked out how to do this with ffmpeg :

    ffmpeg -i video.mp4 -vf  "thumbnail,scale=640:360" -frames:v 1 thumb.png

    But I’m not sure how to do this with the readStream I’m given and output the writeStream.

    Here’s an example of how it is done with images using GraphicsMagick :

    Images = new FS.Collection("images", {
     stores: [
       new FS.Store.FileSystem("thumbs", {
         transformWrite: function(fileObj, readStream, writeStream) {
           // Transform the image into a 10x10px thumbnail
           gm(readStream, fileObj.name()).resize('10', '10').stream().pipe(writeStream);
         }
       }),
       new FS.Store.FileSystem("images"),
     ],
    });

    Although the samples use the local filesystem, Ill be using cvs:dropbox, so you can’t rely on the file being there locally.

  • concatenate mp4 videos with ffmpeg concat demuxer in android

    6 mai 2016, par Ara Badalyan

    I want to concatenate mp4 videos with ffmpeg, the problem is when I want to merge videos taken with Iphone and Android it throws problem

    " Non-monotonous DTS in output stream 0:1 ; previous : 150528, current : 139268 ; changing to 150529. This may result in incorrect timestamps in the output file."

    This is my code

    merge.txt

    file 'iphone.mp4'
    file 'android.mp4'

    ffmpeg command

    ffmpeg -f concat -i marge.txt -c copy -y merge.mp4

    If I can’t merge this videos how can i make them with same parameters (frame rate, bitrate...) and merge them ?

    P.S I use ffmpeg version 2.4.2 , because I can’t find android ffmpeg library higher then 2.4.2.