Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (69)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (6320)

  • How to combine/concatenate videos stored in AWS S3 bucket based on title of the file name

    9 juin 2020, par orangecube

    I am using a service that allows me to record videos that get automatically pushed to a folder (submissions) in an S3 bucket. There are multiple videos however they need to be grouped together and concatenated so the output is one video per group.

    



    So, basically, any tips on how I can take videos based on the title and stitch them together ?

    



    Example :

    



    Submissions folder will have :

    



    a-100-2.mp4
a-200-6.mp4
b-123-5.mp4


    



    Expected output in processed folder :

    



    a.mp4     - (both 'a' videos get stitched together)
b.mp4     - (only 'b' gets sent over since there is only one video.)


    



    Thanks in advance !

    



    Edit : Some additional and detailed information below if it helps.

    



    The files will be labeled with :
name-location-video_token-stream_token.mp4

    



    Need help creating a script or process that will concatenate the videos using the procedure outlined below :

    



    Processing rules (back end) :

    



      

    1. Check if videos have same video_token in ‘submissions folder’. If so, keep the newest one and delete old ones.

    2. 


    3. Take all videos in ‘submissions folder’ with same name and location in title and concatenate the videos. Save output video to a new folder in the bucket labeled as the location for the folder name. 
Output file name : 
name-location-year.mp4.

    4. 


    



    EXAMPLE :

    



    Submissions folder :
joey-toronto-001-354.mp4

    



    joey-toronto-001-241.mp4 - this will be deleted

    



    joey-toronto-103-452.mp4

    



    alex-montreal-352-232.mp4

    



    alex-montreal-452-223.mp4

    



    Resulting output :

    



    Toronto folder :

    



    Joey-toronto-2020.mp4

    



    Montreal folder :

    



    Alex-montreal-2020.mp4

    


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