Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (80)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (4453)

  • WhatsApp video as Gif sharing on Android programatically

    2 novembre 2017, par Razec Luar

    How can i convert a mp4 video file to a WhatsApp gif file (it’s simple showed as gif inside app UI but internally is a specific mp4 format) to be use in android share intent, being recognized as this type of media by whatsapp chat app ???

    I search a lot but i can’t find any information from WhatsApp docs (they don’t have this kind of doc anyway) or any dev with the same problem as i.

    WHAT I HAVE :

    I have discovered that at beginning of whatsapp "gif" mp4 files is present a loop value if you read they on hex editor, all files have this. Remove this value make whatsapp receive as regular video (not sharing as gif).

    How can i add this value using ffmpeg encoding ? (editing my mp4 files manually with this value corrupt the files, maybe i have to fix some mp4 header index that i don’t know yet...)

    enter image description here

    FIRST 80 BYTES in hexadecimal (from beginning to start of "moov" atom from mp4 structure) :

    00 00 00 1C 66 74 79 70 6D 70 34 32 00 00 00 01 6D 70 34 31 6D 70 34 32 69 73 6F 6D 00 00 00 18 62 65 61 6D 01 00 00 00 01 00 00 00 00 00 00 00 05 00 00 00 00 00 00 0C 6C 6F 6F 70 00 00 00 00 00 00 00 08 77 69 64 65 00 00 04 9F 6D 6F 6F 76

    A short mp4 file generated by WhatsApp that internally (at app) was showed as a Gif (with different UI) :

    https://www.dropbox.com/s/kpynmx1bg3z76lz/VID-20171024-WA0009.mp4?dl=0

  • avutil : Duplicate ff_log2_tab instead of sharing it across libs

    4 octobre 2012, par Diego Biurrun

    avutil : Duplicate ff_log2_tab instead of sharing it across libs

  • Sharing FFMPEG video stream data between processes

    21 juin 2016, par lgaravaglia

    I’m trying to find a method for sharing FFMPEG library datatypes between two processes.

    The project that I’m working on requires one process to buffer the FFMPEG stream that is being received and another process needs to read from the buffer and perform some actions on the video stream. Unfortunately, I can’t use a multi-threaded approach for this project. Due to some limitations in my system I have to use separate processes.

    The data that I would like to share I have placed in a general struct as follows :

    struct FFMPEGData {
    AVFormatContext *pFormatCtx;
    AVCodecContext  *pCodecCtx;
    AVCodec         *pCodec;
    AVFrame         *pFrame, dst;
    AVPacket        *packet;
    AVPacket* pack = new AVPacket[packetNum];
    };

    The buffering process uses the format context and codec context to read the video stream and then it places packets in the AVPacket array pack. The other process should grab packets from the array and decode them, also using the format and codec contexts.

    I looked into the Boost Interprocess library, but that does not seem to be setup to handle this type of situation easily.

    Would anyone know a method for sharing my general struct between multiple processes ?