Recherche avancée

Médias (91)

Autres articles (107)

  • 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

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (14303)

  • lavfi/vf_*_cuda : do not access hw contexts before checking they exist

    5 août 2024, par Anton Khirnov
    lavfi/vf_*_cuda : do not access hw contexts before checking they exist
    

    The checks are performed in init_processing_chain().

    • [DH] libavfilter/vf_bilateral_cuda.c
    • [DH] libavfilter/vf_chromakey_cuda.c
    • [DH] libavfilter/vf_colorspace_cuda.c
    • [DH] libavfilter/vf_scale_cuda.c
  • ffprobe fake file safety/mime content checking

    15 février 2016, par Mark S

    Anyone know if ffprobe is safe to use as a method to check the content of a video ? I want to determine if someone renames an exe to mp4 or some other video mime and I run ffprobe on it, would the file execute or fail safely without executing the content ?

  • C++/CLI FFmpeg av_read_frame returns a size but no data ?

    26 novembre 2013, par tommed

    I have written some C code to access ffmpeg and wrapped it in a C++/CLI (.NET managed) class. The program fetches a live video stream and extracts frames and converts them to PNG files.

    Unfortunately the images that are saved to disk are always black (opening them in Notepad++ shows that they are full of nulls).

    I am using the assemblies aformat/codec-55.dll and the development headers and libs for compilation from ffmpeg-20131120-git-e502783-win64-dev. The whole project is compiled using Managed C++ (Cpp/cli) .NET 4.0 for 64-bit.

    After some investigation the problem appears to be that av_read_frame fills the AVPacket->size value correctly, but the AVPAcket->data is always null. When the frame is finished (got==1) then the data for the AVFrame is just a matrix of nulls. :(

    Here is the code :
    Example code (sorry, but it didnt paste well into SO)

    I think the problem is at line 34 when the packet is returned like so :
    size is set but data is empty

    Please, how can I get this to work ? What have I done wrong ?