Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10155)

  • AndroidBitmap_lockPixels always failing

    20 septembre 2017, par Hadj Ali Oussama

    In my jni module I copy images to bitmaps, which were previously
    passed from my java application.

    I do this using AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels.
    Basically, it renders the image correctly, but there’re strange
    effects : sometimes the application gets stuck, or after some time
    AndroidBitmap_lockPixels always returns -3

    (ANDROID_BITMAP_RESULT_ALLOCATION_FAILED). I guess this is because I
    update these bitmaps not from the GUI thread, isn’t it ?

    If so, what would be correct way to "post" this operation to the GUI

    thread ? Is it possible in jni ?

    Thanks.

  • AndroidBitmap_lockPixels always failing

    25 avril 2013, par user1568549

    In my jni module I copy images to bitmaps, which were previously
    passed from my java application.

    I do this using AndroidBitmap_lockPixels/AndroidBitmap_unlockPixels.
    Basically, it renders the image correctly, but there're strange
    effects : sometimes the application gets stuck, or after some time
    AndroidBitmap_lockPixels always returns -3

    (ANDROID_BITMAP_RESULT_ALLOCATION_FAILED). I guess this is because I
    update these bitmaps not from the GUI thread, isn't it ?

    If so, what would be correct way to "post" this operation to the GUI

    thread ? Is it possible in jni ?

    Thanks.

  • Use FFmpeg or ffplay as a library, instead of calling exe

    13 septembre 2023, par San Zhang

    My ultimate goal is to be able to play a RTSP stream(h264) in a native window(Windows VC++) in my application, using FFmpeg, but without calling any exe, rather, use FFmpeg as a library that's linked with the application as part of it.

    


    This answer gave me some ideas :
https://stackoverflow.com/a/3167088/3842917

    


    My first approach was to build ffplay into a library and link it to my application. However I am running into problems with building ffplay. (I have posted a separate question for it. )

    


    My second, and less preferred approach, is to find out how to decode and play the stream using their API calls that are built into libraries(DLL's), so that I can avoid calling ffmpeg.exe. The problem with this approach is I'd have to understand the process of dealing with a raw video stream, something I'm not very familiar with.

    


    Is there any other approach I can achieve what I need ?