Recherche avancée

Médias (91)

Autres articles (76)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7562)

  • Initializing hwaccel_context in libavcodec

    3 janvier 2018, par dloman

    I am trying to get hardware accelerated video working using libavcodec. I am using the hw_decode.c example as a starting point and am unable to get it to work. both AVCodecContext->hwaccel and AVCodecContext->hwaccel_context are NULL

    I belive some part of the hwaccel is working as I see the output

    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0

    Which is the same as when I run

    ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input.mpg -f null -

    but immediately after that I get the following error message

    [h264 @ 0x1df2cc0] Hardware acceleration context (hwaccel_context) does not exist.
    Failed to get HW surface format.
    [h264 @ 0x1df2cc0] decode_slice_header error
    [h264 @ 0x1df2cc0] no frame!

    I looked at the similar question and the answer to this shows how to get a AVCodecContext->hwaccel. But even with the AVCodecContext->hwaccel being a valid VAApih264 decoder I still get the same error message.

    How do I initialize a AVCodecContext->hwaccel_context and after that what else do I need to do to get hardware accelerated video working in ffmpeg ?

  • FFMPEG Library MP3 Encoder

    13 mars 2013, par David Tay

    Does the ffmpeg library come with an MP3 encoder ?

    This :

    AVCodec *pCodec = avcodec_find_encoder(AV_CODEC_ID_MP3);

    always returns null. I also tried AV_CODEC_ID_MP3ADU and AV_CODEC_ID_MP3ON4, they too return null. The only encoding codec I've found is AV_CODEC_ID_MP2.

    Any help appreciated

  • Facebook Video on iOS

    23 mai 2012, par user1320885

    Right now I am making a Facebook application for iOS. When a make a Facebook request, it returns some videos. I need help and I can only find things online about uploading videos. So my question is how would I play those Videos ?? Is there any way to return the videos in a preferred video format for iOS. I understand that you need to use ffmpeg is that true and if so can someone help me implement this ??

    Thanks,
    Virindh Borra