Recherche avancée

Médias (91)

Autres articles (89)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (8205)

  • aaccoder : remove previous PNS implementation from twoloop

    2 juillet 2015, par Rostislav Pehlivanov
    aaccoder : remove previous PNS implementation from twoloop
    

    This commit undoes commit c5d4f87e81111427c0952278ec247fa8ab1e6e52
    and removes PNS band marking from the twoloop coder, which has
    been reimplemented in a better way in this series of patches.

    Reviewed-by : Claudio Freire <klaussfreire@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/aaccoder.c
  • Strict Experimental Flag for Converting ts files to mp4 files in node using ffmpeg

    13 août 2015, par Recurrence

    I’m trying to convert a series of .ts files into one mp4 file in using ffmpeg via a node execute :

    var combineVideo = function (videoFiles, fileName, callback) {
    var videoDone = _.after(videoFiles.length, function () {
       var ffmpegcommand = 'ffmpeg -i "concat:';
       ffmpegcommand += _.inject(videoFiles, function (command, name, i) {
           return command + process.env.UPLOAD_PATH + fileName + '-' + i + '.ts|';
       }, '');

       ffmpegcommand = ffmpegcommand.substring(0, ffmpegcommand.length - 1);
       ffmpegcommand += '"  -c copy -bsf:a aac_adtstoasc -strict -2 ' +  process.env.UPLOAD_PATH + fileName + 'combined-video.mp4';

       exec(ffmpegcommand, function (error, stdout, stderr) {
           if (error) {
               logger.error(error);
           }
               _.each(videoFiles, function (v, i) {
               fs.unlink(process.env.UPLOAD_PATH + fileName + '-' + i + '.ts');
           });
           callback();
       });
    });
    _.each(videoFiles, function (file, i) {
       convertWebmToMp4(fileName + '-' + i, videoDone);
    });

    I’ve logged the command before executing it as such :

    combining video
    /usr/bin/ffmpeg -i "concat :./uploads/db42ab00-4140-11e5-83dd-936f6cb4a63a-0.ts|./uploads/db42ab00-4140-11e5-83dd-936f6cb4a63a-1.ts" -c copy -bsf:a aac_adtstoasc -strict -2 ./uploads/db42ab00-4140-11e5-83dd-936f6cb4a63acombined-video.mp4

    The error message I receive is :

    [Error : Command failed : ffmpeg version 2.5.7-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

    [aac @ 0x8ae8c0] The encoder ’aac’ is experimental but experimental codecs are not enabled, add ’-strict -2’ if you want to use it.
    ] killed : false, code : 1, signal : null

    However, the exact ffmpeg command already has the -strict -2 flags and it runs just fine either on the command line or via a separate .js file. I am very stumped.

  • Shotdetect : compiling error ("undefined reference")

    8 juillet 2015, par Voprosnik

    I am using Cygwin and I trying to install the program Shotdetect. I downloaded the source with git and also downloaded, compiled and installed ffmpeg through git.

    Installation of shotdetect doesn’t follow the ./configure && make && make install routine, but a cmake system of which I have no experience. Nonetheless there is a script that automates compiling and installation.

    Near the final stages of the compiling, I get a long series of errors concerning some ffmpeg modules :

    Linking CXX executable shotdetect-cmd.exe
    /usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
    /git/ffmpeg/libavformat/matroskadec.c:1321: undefined reference to `BZ2_bzDecompressInit'
    /git/ffmpeg/libavformat/matroskadec.c:1336: undefined reference to `BZ2_bzDecompress'
    /git/ffmpeg/libavformat/matroskadec.c:1329: undefined reference to `BZ2_bzDecompressEnd'
    /git/ffmpeg/libavformat/matroskadec.c:1339: undefined reference to `BZ2_bzDecompressEnd'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
    /git/ffmpeg/libavcodec/opusdec.c:374: undefined reference to `swr_is_initialized'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
    /git/ffmpeg/libavcodec/opusdec.c:220: undefined reference to `swr_is_initialized'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_init_resample':
    /git/ffmpeg/libavcodec/opusdec.c:161: undefined reference to `swr_init'
    /git/ffmpeg/libavcodec/opusdec.c:167: undefined reference to `swr_convert'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
    /git/ffmpeg/libavcodec/opusdec.c:234: undefined reference to `swr_convert'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_flush_resample':
    /git/ffmpeg/libavcodec/opusdec.c:115: undefined reference to `swr_convert'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
    /git/ffmpeg/libavcodec/opusdec.c:406: undefined reference to `swr_close'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_flush':
    /git/ffmpeg/libavcodec/opusdec.c:567: undefined reference to `swr_close'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_close':
    /git/ffmpeg/libavcodec/opusdec.c:589: undefined reference to `swr_free'
    /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_init':
    /git/ffmpeg/libavcodec/opusdec.c:642: undefined reference to `swr_alloc'
    /usr/local/lib/libavcodec.a(tiff.o): In function `tiff_uncompress_lzma':
    /git/ffmpeg/libavcodec/tiff.c:396: undefined reference to `lzma_stream_decoder'
    /git/ffmpeg/libavcodec/tiff.c:401: undefined reference to `lzma_code'
    /git/ffmpeg/libavcodec/tiff.c:402: undefined reference to `lzma_end'
    /usr/local/lib/libavcodec.a(utils.o): In function `recode_subtitle':
    /git/ffmpeg/libavcodec/utils.c:2672: undefined reference to `libiconv_open'
    /git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
    /git/ffmpeg/libavcodec/utils.c:2693: undefined reference to `libiconv'
    /git/ffmpeg/libavcodec/utils.c:2694: undefined reference to `libiconv'
    /git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
    /git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
    /git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
    /usr/local/lib/libavcodec.a(utils.o): In function `avcodec_open2':
    /git/ffmpeg/libavcodec/utils.c:1698: undefined reference to `libiconv_open'
    /git/ffmpeg/libavcodec/utils.c:1705: undefined reference to `libiconv_close'
    collect2: error: ld returned 1 exit status
    clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
    CMakeFiles/shotdetect-cmd.dir/build.make:122: recipe for target 'shotdetect-cmd.exe' failed
    make[2]: *** [shotdetect-cmd.exe] Error 1
    CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/shotdetect-cmd.dir/all' failed
    make[1]: *** [CMakeFiles/shotdetect-cmd.dir/all] Error 2
    Makefile:117: recipe for target 'all' failed
    make: *** [all] Error 2

    Searching online for similar errors, I found the following proposed solutions

    1) fix pkg-config setup so configure will find out all dependencies ;

    2) build ffmpeg (libavcodec) without external dependencies ;

    3) add external dependencies manually with configure —extra-ldflags

    I guess the problem lies on how i compiled ffmpeg (just configure with no options) but other than that have no idea what to do with either of the above suggestions. Should I recompile ffmpeg with different options ?