Recherche avancée

Médias (91)

Autres articles (68)

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (10274)

  • How to save locally rtmp stream on react native ?

    22 mars 2021, par RanST

    I'm using React Native to display a live stream from RTMP server - and it works great using NodePlayerVideo component from react-native-nodemediaclient.

    



    However, I also need to save that same stream to a local file on the device. How can I do it ?

    



    My idea is to use react-native-ffmpeg but it doesn't work.

    



    What is the right ffmpeg command to use ? What is the recommended solution ?

    


  • video to audio file convert & save through FFMPEG in node js

    17 juin 2015, par Nourin Hamid

    I am working on an FFMPEG on node js. I’d like to retrieve the audio track from a video file using node js. I would also like to save such file but I can’t figure out how.

    I though this line of code would help me :

    ffmpeg('/path/to/file.avi').noVideo();

    I have got this in npm package. I don’t quite understand how to work with this and how to actually save the audio file.

    Some other line of code that come in play :

    try {
       var process = new ffmpeg('/path/to/your_movie.avi');
       process.then(function (video) {
           // Callback mode
           video.fnExtractSoundToMP3('/path/to/your_audio_file.mp3', function (error, file) {
               if (!error)
                   console.log('Audio file: ' + file);
           });
       }, function (err) {
           console.log('Error: ' + err);
       });
    } catch (e) {
       console.log(e.code);
       console.log(e.msg);
    }

    My question is :

    How do I retrieve the audio from a FFMPEG video ? How do I save it ?

  • avcodec/mqc : Hardcode tables to save space

    7 mai 2021, par Andreas Rheinhardt
    avcodec/mqc : Hardcode tables to save space
    

    mqc currently initializes three arrays at runtime ; each of them
    has 2 * 47 elements, one is uint16_t, two are uint8_t, so that their
    combined size is 8 * 47. The source data for these initializations
    is contained in an array of 47 elements of size six. Said array is
    only used in order to initialize the other arrays, so the savings
    are just 2 * 47B. Yet this is dwarfed by the size of the code for
    performing the initializations : It is 109B (GCC 10.2, x64, -O3 albeit
    in an av_cold function) ; this does not even include the size of the
    code in the callers. So just hardcode these tables.

    This also fixes a data race, because the encoder always initialized
    these tables during init, although they might already be used at the
    same time by already running encoder/decoder instances.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/j2kenc.c
    • [DH] libavcodec/jpeg2000dec.c
    • [DH] libavcodec/mqc.c
    • [DH] libavcodec/mqc.h