Recherche avancée

Médias (91)

Autres articles (82)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5230)

  • avcodec/mips/h264dsp_mmi : Version 2 of the optimizations for loongson mmi

    13 mai 2016, par ZhouXiaoyong
    avcodec/mips/h264dsp_mmi : Version 2 of the optimizations for loongson mmi
    

    1. no longer use the register names directly and optimized code format
    2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
    3. optimize some unaligned loads and stores
    4. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h264dsp_mmi.c
  • How to use ffmpeg in JavaScript to decode H.264 frames into RGB frames

    17 juin 2020, par noel

    I'm trying to compile ffmpeg into javascript so that I can decode H.264 video streams using node. The streams are H.264 frames packed into RTP NALUs so any solution has to be able to accept H.264 frames rather than a whole file name. These frames can't be in a container like MP4 or AVI because then the demuxer needs to needs the timestamp of every frame before demuxing can occur, but I'm dealing with a real time stream, no containers.

    &#xA;&#xA;

    Streaming H.264 over RTP

    &#xA;&#xA;

    Below is the basic code I'm using to listen on a udp socket. Inside the 'message' callback the data packet is an RTP datagram. The data portion of the data gram is an H.264 frame (P-frames and I-frames).

    &#xA;&#xA;

    var PORT = 33333;&#xA;var HOST = &#x27;127.0.0.1&#x27;;&#xA;&#xA;var dgram = require(&#x27;dgram&#x27;);&#xA;var server = dgram.createSocket(&#x27;udp4&#x27;);&#xA;&#xA;server.on(&#x27;listening&#x27;, function () {&#xA;    var address = server.address();&#xA;    console.log(&#x27;UDP Server listening on &#x27; &#x2B; address.address &#x2B; ":" &#x2B; address.port);&#xA;});&#xA;&#xA;server.on(&#x27;message&#x27;, function (message, remote) {&#xA;    console.log(remote.address &#x2B; &#x27;:&#x27; &#x2B; remote.port &#x2B;&#x27; - &#x27; &#x2B; message);&#xA;    frame = parse_rtp(message);&#xA;&#xA;    rgb_frame = some_library.decode_h264(frame); // This is what I need.&#xA;&#xA;});&#xA;&#xA;server.bind(PORT, HOST);  &#xA;

    &#xA;&#xA;

    I found the Broadway.js library, but I couldn't get it working and it doesn't handle P-frames which I need. I also found ffmpeg.js, but could get that to work and it needs a whole file not a stream. Likewise, fluent-ffmpeg doesn't appear to support file streams ; all of the examples show a filename being passed to the constructor. So I decided to write my own API.

    &#xA;&#xA;

    My current solution attempt

    &#xA;&#xA;

    I have been able to compile ffmpeg into one big js file, but I can't use it like that. I want to write an API around ffmpeg and then expose those functions to JS. So it seems to me like I need to do the following :

    &#xA;&#xA;

      &#xA;
    1. Compile ffmpeg components (avcodec, avutil, etc.) into llvm bitcode.
    2. &#xA;

    3. Write a C wrapper that exposes the decoding functionality and uses EMSCRIPTEN_KEEPALIVE.
    4. &#xA;

    5. Use emcc to compile the wrapper and link it to the bitcode created in step 1.
    6. &#xA;

    &#xA;&#xA;

    I found WASM+ffmpeg, but it's in Chinese and some of the steps aren't clear. In particular there is this step :

    &#xA;&#xA;

    emcc web.c process.c ../lib/libavformat.bc ../lib/libavcodec.bc ../lib/libswscale.bc ../lib/libswresample.bc ../lib/libavutil.bc \&#xA;

    &#xA;&#xA;

     :( Where I think I'm stuck

    &#xA;&#xA;

    I don't understand how all the ffmpeg components get compiled into separate *.bc files. I followed the emmake commands in that article and I end up with one big .bc file.

    &#xA;&#xA;

    2 questions

    &#xA;&#xA;

    1. Does anyone know the steps to compile ffmpeg using emscripten so that I can expose some API to javascript ?
    &#xA; 2. Is there a better way (with decent documentation/examples) to decode h264 video streams using node ?

    &#xA;

  • avcodec/mips/h264qpel_mmi.c : Version 2 of the optimizations for loongson mmi

    25 mai 2016, par ZhouXiaoyong
    avcodec/mips/h264qpel_mmi.c : Version 2 of the optimizations for loongson mmi
    

    1. no longer use the register names directly and optimized code format
    2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
    3. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)
    4. h264qpel use hepldsp optimizations

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h264qpel_mmi.c