Recherche avancée

Médias (91)

Autres articles (75)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7683)

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

  • creating thumbnails from multiple videos

    28 septembre 2020, par blue

    I have multiple videos, and i want to create a thumbnail image for each video.i also want the image thumbnails to have the same names as the videos and have specific width/height.

    
Is it also possible to have ffmpeg create thumbnails with a specific aspect ratio and instead of stretching the video it could add black bars ?

    
Now i don't know a thing about how ffmpeg works so i looked up a tutorial online and configured it,tested out a simple script and it worked.

    
i found what the script i was looking for but i don't know a thing about bash scripts so it just throws an error and i don't how to figure it out.

    


    for f in *.mp4; do ffmpeg -i "$f" -ss 00:00:03 -vframes 1 -s 480x320 "${f%.mp4}.jpg"; done