Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (76)

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

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6465)

  • Anomalie #3620 : Token de prévisualisation inconsistant selon que l’article est en cours de rédact...

    17 décembre 2015, par realet RealET

    C’est dans ecrire/base/objets.php ligne 182 que l’on trouve :
    ’previsu’ => ’publie,prop,prepa/auteur’

    Et dans ecrire/inc/autoriser.php ligne 375 que l’on trouve :
    if (in_array($opt[$champ] . "/auteur", $previsu))

    Donc, on se retrouve à n’autoriser la prévisualisation que par l’auteur qui prépare l’article.

  • YUV420p to other formats, color shift problems

    1er juin 2013, par Sam

    So I'm writing a color detection application using an AR Drone. The drone sends my python/opencv socket server an image from its camera in YUV420p format.

    What I do to access the image as an opencv IPLImage is the following (and yes this is inefficient but I didn't / don't want to have to write new conversion tools myself) :

    1. Save the yuv image to a file (some_image.yuv)
    2. subprocess.call(insert ffmpeg call here)
    3. Read the resultant file (bmp, png, it doesn't matter) back in using cv.LoadImage

    My problem right now is a very noticable color shift. I'm waving a red felt sheet in these pictures. The first one shows a heavy yellow tint. The second isn't as bad but is very rare — mostly when I have the red sheet it's heavily tinted.

    I'm wondering both of these things :

    1. if there's either a better way to do this
    2. If the color tinting issue can be resolved

    My ffmpeg conversion line looks something like

    ffmpeg -s 640x480 -vcodec rawvideo -f rawvideo -pix_fmt yuv420p -i image.yuv -vcodec bmp -f image2 output.bmp

    I've also tried :

    ffmpeg -f rawvideo -s 640x480 -pix_fmt yuv420p -vf colormatrix=bt709:bt601 -i image.yuv -f image -vcodec png output.png

    The color shift is always there, unfortunately !

    The color shift is my big problem right now as I later convert the image to HSV and use thresholding to choose a color range that works for me.

  • Using libav (ffmpeg), how to decode a video file directly to a GPU texture ?

    15 janvier 2023, par GaryO

    I'm using ffmpeg's libav to decode video files on Mac. For supported codecs, it says it can use the Mac VideoToolbox framework to hardware-accelerate the decoding.&#xA;Can I get the result of that decode directly as a Metal or CoreVideo buffer or texture, in GPU memory ? My plan is to process it with compute shaders before sending it to the screen and I'd like to maximize framerate by removing CPU<->GPU transfers.

    &#xA;

    Is there an example of doing this anywhere ?

    &#xA;