Recherche avancée

Médias (91)

Autres articles (59)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8175)

  • Retrieving and Saving media metadata using FFmpeg

    10 juin 2015, par Rahul Patwa

    I want to read the metadata in media files and then save that metadata in a text/xml file, so that I can later insert that data in my database. I would prefer to use ffmpeg.

    Also is the same thing possible with MediaInfo ?? I know I can get the metadata for individual tracks using MediaInfo, but I would want to automate it ; as in whenever a new media file is found, read its metadata and then store it in a txt/xml file.

    Or, is there any other tool/utility/API that I can use for this ?

  • stop or kill node media server

    9 juillet 2019, par user_66663333

    I am trying to implement stop feature for live video streaming using node-media-server.

    Basically I want to stop node-media-server completely, restart it later.

    const NodeMediaServer = require("node-media-server");
       let config = {
         logType: 3,
         rtmp: {
           port: rtmpPort,
           chunk_size: 60000,
           gop_cache: true,
           ping: 60,
           ping_timeout: 30,
         },
         http: {
           port: httpPort,
           allow_origin: "*",
         },
         relay: {
           ffmpeg: "/usr/bin/ffmpeg",
           tasks: [
             {
               app: "cctv",
               mode: "static",
               edge: "rtsp://" + cameraUrl + "/h264_ulaw.sdp",
               name: "uterum",
               rtsp_transport: "udp",
             },
           ],
         },
       };

       let nms = new NodeMediaServer(config);
       nms.run();
  • Media Type Unrecognized with FFMPEG file generated

    2 août 2016, par pirmax

    I have an upload problem with the Twitter API.
    The problem is caused by codecs I think.

    I use FFMPEG to concatenate an audio file and an image, so to build a 30-second video to a file not exceeding in the 1MB.

    Here is the code that allows me to build this file and then upload the video via the Twitter API :

       var convert = function(image, audio, output) {
       var proc = ffmpeg(image)
       .loop(30)
       .addInput(audio)
       .format('mp4')
       .videoBitrate('1024k')
       .videoCodec('mpeg4')
       .size('640x640')
       .audioBitrate('128k')
       .audioChannels(2)
       .audioCodec('libfaac')
       .on('end', function() {
           console.log(output);
           fs.readFile(output, function(err, base64data) {
               client.post('media/upload', { media: base64data }, function (error, media, response) {
                   console.log(media);
               });
           });
       })
       .on('error', function(err) {
           console.log('an error happened: ' + err.message);
       })
       .save(output);
    };

    Each upload, I get the following message : unrecognized media type

    { request: '/1.1/media/upload.json',
     error: 'media type unrecognized.' }

    Could you help me please ? Thanks !