Recherche avancée

Médias (91)

Autres articles (94)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (12170)

  • avcodec/vmnc : Check available space against chunks before reget_buffer()

    17 mai 2019, par Michael Niedermayer
    avcodec/vmnc : Check available space against chunks before reget_buffer()
    

    Fixes : Timeout (16sec -> 60ms)
    Fixes : 14673/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VMNC_fuzzer-5640217517621248

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/vmnc.c
  • Direct3d Color space conversion in GPU

    12 juin 2019, par eruslu

    Creating direct3d surface inYV12 format and rendering video frames in yuv420 format causes a blur video. Seems like there is a smog on video. I think this is because yuv 420 color space format’s data range is in 16-235 for Y planes and 16-240 for U and V planes. They are not in range of 0-255.

    I changed color format to BGRA in CPU by using ffmpeg’s sws_scale() function and I created direct3d surface in BGRA format and then displayed video is OK. But cpu consumption is very high due to color space conversion. Is there any way to make color conversion in GPU or is there another way to have sharp video display ?

    This is how I create YV12 surface

    m_pDirect3DDevice->CreateOffscreenPlainSurface(_srcWidth, _srcHeight, (D3DFORMAT)MAKEFOURCC('Y', 'V', '1', '2'), D3DPOOL_DEFAULT, &amp;m_pDirect3DSurfaceRender, NULL);

    Here I copy yuv planes of camera’s video frames data to direct3d surface

           BYTE* pict = (BYTE*)d3d_rect.pBits;
           BYTE* Y = pY;
           BYTE* V = pV;
           BYTE* U = pU;

           for (int y = 0; y &lt; _srcHeight; y++)
           {
               memcpy(pict, Y, p1);
               pict += d3d_rect.Pitch;
               Y += p1;
           }
           for (int y = 0; y &lt; _srcHeight >> 1; y++)
           {
               memcpy(pict, V, p3);
               pict += d3d_rect.Pitch >> 1;
               V += p3;
           }
           for (int y = 0; y &lt; _srcHeight >> 1; y++)
           {
               memcpy(pict, U, p2);
               pict += d3d_rect.Pitch >> 1;
               U += p2;
           }

    I appreciate your help, thank you.

  • avcodec/wcmv : check remaining space vs. blocks

    2 juin 2019, par Michael Niedermayer
    avcodec/wcmv : check remaining space vs. blocks
    

    Fixes : Timeout (18sec -> 7sec)
    Fixes : 14835/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5646714897170432

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/wcmv.c