Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9451)

  • How to "filter" a file through command line before apache sends it to client ?

    1er septembre 2020, par Timothe Jahan

    I have large collection of video files which are available on our website.
For each video we have multiple quality and language, so in order to save space we store only 1 file, which contains all audio and video tracks.

    


    Our streaming server can handle these multitrack files in order to serve only the useful part to each user, but we also make them available for download through the apache web server.
Currently, when a user request a file (certain quality, certain language), we first create a temporary file with only his needs, and give him for download.
I would like to remove this intermediate step and extract on the fly.
Extraction can be done by ffmpeg, but I need to have apache "pipe" the file through ffmpeg before sending the bytes out. Do you have any way of doing this.

    


    example :

    


    


    Filename_multi.mp4 [SD,HD,fr,en,ru]
User request : Filename_HD_fr.mp4 [HD,fr]
Apache fetch the file Filename_multi.mp4 and pipe it through an ffmpeg command and send the bytes as > they are encoded, not waiting for the end.

    


    


    Note this is on linux, and the ffmpeg part is not a problem.

    


    Thx
Timothé

    


  • MediaStream to C++ data type conversion

    20 juillet 2016, par Mohammad Abu Musa

    I am sending a video and audio stream to C++ from Google Chrome, I am not sure how to cast the data.

    What is the data type of this and how do I convert it to C++ ?

    videoStream.getVideoTracks()[0]

    I want to build ffmpeg encoder using C++ but I can not figure out how to cast this type ?

    I was also wondering if there is method to build a test case similar to this data type ?

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