Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (55)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (9086)

  • Anomalie #3501 : Les forums supprimés restent en base

    24 juillet 2015, par cedric -

    Je ne suis pas certain que ce soit une bonne idée de purger les forums. Il faut réfléchir aux conséquences.
    Notamment je pense au cas :
    1/ un message de forum diffamant est publié (modération a posteriori)
    2/ tu le vois N jours après et le supprime
    3/ Il reste une trace dans Google ou dans un cache miroir, qui déclenche une action légale
    4/ tu te reçois une requête judiciaire pour avoir l’IP, la date et heure du POST
    5/ et là si tu as pas conservé les forums en base tu es mal.

    Normalement les logs de connexion devraient être conservés 1 an.
    Le fait qu’on masque l’IP par un md5 pour l’anonymiser n’est pas contradictoire, car avec les logs serveurs et l’heure tu peux récuperer les IPs qui ont POST sur ton site et retrouver l’IP avec le md5 si il y en a plusieurs.
    Mais si on supprime les forums on n’est plus en capacité de répondre à une requête judiciaire.

    La suppression des SPAMs est par ailleurs embetante car elle affaiblit la detection des nouveaux spams.

  • Recording application output to video using FFmpeg (or similar)

    15 décembre 2011, par John

    We have a requirement to lets users record a video of our 3D application. I can already grab the individual rendered frames so this question is specifically about how to write frames into a video file.

    I don't think writing each frame as a separate file and post-processing is a workable option.

    I can look at options to record to a simple video file for later optimising/encoding, or writing directly to a sensibly encoded format.

    FFmpeg was suggested in another post but it looks a bit daunting to me. Is it the best option, if not what can be suggested ? We can work with LGPL but not full GPL.

    We're working on Windows (Win32 not MFC) in C++. Sample/pseudo code with your recommended library is very much appreciated... basically after how to do 3 functions :

    • startRecording() does whatever initialization is needed
    • recordFrame() takes pointer to frame data and encodes it, ideally with timing data
    • endRecording() finalizes the video file, shuts down video system, etc
  • How to employ DXVA2 with ffmpeg to decode and get frame

    23 juin 2016, par bellekci

    I have searched for a simple example about how to decode H264 stream with hardware acceleration using ffmpeg in Windows but I could not find any.
    I know that I should employ dxva2 with ffmpeg to have hardware acceleration.

    I can decode H264 with ffmpeg on CPU, then convert NV12 format to RGBA and save frames as bmp files, thanks to example project provided in post.

    I have followed what is provided in the following post to get help about dxva2 : post

    I believe I can successfully decode with dxva2 ; however, when I want to get the decoded frame and convert it to RGBA format and save it as bmp file, I get an error about source pointers.

    I decode and retrieve frame as following :

    int videoFrameBytes = avcodec_decode_video2(pCodecCtx_hwaccel, pFrameYuv, &got_picture_ptr, avpkt);

    if (got_picture_ptr==1)
    {
       if(dxva2_retrieve_data_call(pCodecCtx_hwaccel, pFrameYuv) == 0)
       {
           fprintf(stderr, "Got frame successfully\n");
           result = true;
       }
    }

    and feed the output frame to :

    sws_scale(pImgConvertCtx, pFrameYuv->data, pFrameYuv->linesize, 0, height, frame->data, frame->linesize);  

    I get this error :

    [swscaler @ 030c5c20] bad src image pointers

    Obviously something is wrong with the pFrameYuv->data but I do not know what.

    How can we convert NV12 frame decoded with DXVA2 to RGBA with sws_scale ?