Recherche avancée

Médias (91)

Autres articles (54)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 (8376)

  • avdevice/decklink_enc : Add support for compressed AC-3 output over SDI

    7 avril 2023, par Devin Heitmueller
    avdevice/decklink_enc : Add support for compressed AC-3 output over SDI
    

    Extend the decklink output to include support for compressed AC-3,
    encapsulated using the SMPTE ST 377:2015 standard.

    This functionality can be exercised by using the "copy" codec when
    the input audio stream is AC-3. For example :

    ./ffmpeg -i /foo.ts -codec:a copy -f decklink 'UltraStudio Mini Monitor'

    Note that the default behavior continues to be to do PCM output,
    which means without specifying the copy codec a stream containing
    AC-3 will be decoded and downmixed to stereo audio before output.

    Thanks to Marton Balint for providing feedback.

    Signed-off-by : Devin Heitmueller <dheitmueller@ltnglobal.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavdevice/decklink_enc.cpp
  • Convert wav to mp3 using Meteor FS Collections on Startup

    28 juillet 2015, par TheBetterJORT

    I’m trying to transcode all wav files into a mp3 using Meteor and Meteor FS Collections. My code works when I upload a wav file to the uploader — That is it will convert the wav to a mp3 and allow me to play the file. But, I’m looking for a Meteor Solution that will transcode and add the file to the DB if the file is a wav and exist in a certain directory. According to the Meteor FSCollection it should be possible if the files have already been stored. Here is their example code : *GM is for ImageMagik, I’ve replaced gm with ffmpeg and installed ffmpeg from atmosphereJS.

    Images.find().forEach(function (fileObj) {
     var readStream = fileObj.createReadStream('images');
     var writeStream = fileObj.createWriteStream('images');
     gm(readStream).swirl(180).stream().pipe(writeStream);
    });

    I’m using Meteor-CollectionFS [https://github.com/CollectionFS/Meteor-CollectionFS]-

    if (Meteor.isServer) {
     Meteor.startup(function () {
           Wavs.find().forEach(function (fileObj) {
         var readStream = fileObj.createReadStream('.wavs/mp3');
         var writeStream = fileObj.createWriteStream('.wavs/mp3');
         this.ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
         Wavs.insert(fileObj, function(err) {
         console.log(err);
       });
         });
         });
    }

    And here is my FS.Collection and FS.Store information. Currently everything resides in one JS file.

    Wavs = new FS.Collection("wavs", {
     stores: [new FS.Store.FileSystem("wav"),
       new FS.Store.FileSystem("mp3",

       {
         path: '~/wavs/mp3',
         beforeWrite: function(fileObj) {
           return {
             extension: 'mp3',
             fileType: 'audio/mp3'
           };
         },
         transformWrite: function(fileObj, readStream, writeStream) {
           ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
         }
       })]
    });

    When I try and insert the file into the db on the server side I get this error : MongoError : E11000 duplicate key error index :

    Otherwise, If I drop a wav file into the directory and restart the server, nothing happens. I’m new to meteor, please help. Thank you.

  • Converting videos to flv using ffmpeg

    6 janvier 2012, par user703526

    In my c# application, i am writing code for converting any video format to flv format. For this FFMPEG is used.

    Some times an exceptions is occuring like :

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt

    Below is my code from where the exception throwing,

       IntPtr pFormatContext;
       FFmpeg.av_register_all();

       int ret;
       ret = FFmpeg.av_open_input_file(out pFormatContext, this.Filename, IntPtr.Zero, 0, IntPtr.Zero);

       if (ret &lt; 0)
       {
           Trace.WriteLine("couldn&#39;t open input file");

           FFmpeg.av_free_static();
           return;
       }


       try
       {
           ret = FFmpeg.av_find_stream_info(pFormatContext);

           if (ret &lt; 0)
           {
               Trace.WriteLine("couldnt find stream informaion");
               FFmpeg.av_close_input_file(pFormatContext);
               FFmpeg.av_free_static();
               return;
           }


           FFmpeg.AVFormatContext formatContext = (FFmpeg.AVFormatContext)Marshal.PtrToStructure(pFormatContext, typeof(FFmpeg.AVFormatContext));

           Duration = formatContext.duration / FFmpeg.AV_TIME_BASE;

           for (int i = 0; i &lt; formatContext.nb_streams; ++i)
           {
               FFmpeg.AVStream stream = (FFmpeg.AVStream)Marshal.PtrToStructure(formatContext.streams[i], typeof(FFmpeg.AVStream));
               FFmpeg.AVCodecContext codec = (FFmpeg.AVCodecContext)Marshal.PtrToStructure(stream.codec, typeof(FFmpeg.AVCodecContext));

               if (codec.codec_type == FFmpeg.CodecType.CODEC_TYPE_VIDEO)
               {
                   Height = codec.height;
                   Width = codec.width;

                           Type = FileType.flv;
                           MimeType = "video/x-flv";

               }

           }
       }
       catch (Exception ex)
       {
           Trace.WriteLine("FFMpeg failed to understand the file");
       }

       FFmpeg.av_close_input_file(pFormatContext);
       FFmpeg.av_free_static();
    }

    And from the above code this ret = FFmpeg.av_find_stream_info(pFormatContext); line throws memory corrupt exception.
    Please help me to solve this issue.