Recherche avancée

Médias (91)

Autres articles (111)

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

  • Anomalie #3566 : Restaurer une révision ne restaure pas toujours tous les champs modifiés

    10 octobre 2016, par marcimat ☺☮☯♫

    Je confirme que ça remarche (et parfaitement avec la nouvelle fonction) en remettant l’appel à auteur_associer() après le pipeline post_edition.
    Le problème se situe donc bien à ce niveau. Il va falloir trouver comment permettre de dire à Révisions de lever le flag plus tôt que post_insertion… avant donc le passage à pre_insertion_liens ;

    ou réussir à lui faire lever ce flag dans pre_insertion_liens en transmettant un paramètre indiquant que c’est le premier lien ici (mais ça ferait passer ce paramètre de auteur_associer() jusqu’au pipeline dans un grand nombre de fonction. Pas idéal non plus.

    Un pipeline trig_insertion() juste après l’obtention de l’identifiant ? …

  • iOS, FFmpeg render video with UIimage vs OpenGL

    23 janvier 2013, par finlir

    I have an IP camera that streams h264 video over RTSP. On iOS I use FFmpeg to capture the RTSP stream and decode the frames then render with an UIimage and UIimageview.

    I have seen examples of of rendering video from FFmpeg, they all seem to use OpenGL ES or the SDL library.

    My question is what are the benefits for using OpenGL ? since rendering with UIimage is easy and seem to work fine.

  • How to add a dependency for a package ?

    25 septembre 2021, par Meh.

    I just built and installed FFmpeg (./configure --disable-asm).
    
And I need to use libavformat in my C++ project.

    


    I use FindFFmpeg.cmake, and when I build, I get a bunch of undefined symbol errors so I have to find libraries :

    


        find_package(FFmpeg COMPONENTS avcodec avformat avutil swresample swscale)
    find_library(COREMEDIA_LIBRARY CoreMedia)
    find_library(VIDEOTOOLBOX_LIBRARY VideoToolbox)
    find_library(COREVIDEO_LIBRARY CoreVideo)
    find_library(AUDIOTOOLBOX_LIBRARY AudioToolbox)
    find_library(SECURITY_LIBRARY Security)

## In another file:

  target_link_libraries(videocommon PRIVATE
    FFmpeg::avcodec
    FFmpeg::avformat
    FFmpeg::avutil
    FFmpeg::swscale
    FFmpeg::swresample
    ${COREMEDIA_LIBRARY}
    ${VIDEOTOOLBOX_LIBRARY}
    ${COREVIDEO_LIBRARY}
    ${AUDIOTOOLBOX_LIBRARY}
    ${SECURITY_LIBRARY}
  )



    


    However, I still get errors from libavformat.a(tls_securetransport.o) :

    


      "_SSLRead", referenced from:
      _tls_read in libavformat.a(tls_securetransport.o)
  "_SSLCreateContext", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLSetCertificate", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLSetIOFuncs", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLSetSessionOption", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLSetPeerDomainName", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SecIdentityCreate", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SecTrustEvaluate", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SecTrustSetAnchorCertificates", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLClose", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
      _tls_close in libavformat.a(tls_securetransport.o)
  "_SSLHandshake", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLSetConnection", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)
  "_SSLCopyPeerTrust", referenced from:
      _tls_open in libavformat.a(tls_securetransport.o)


    


    This is the #include part from the file in question tls_securetransport.c :

    


    #include &#xA;&#xA;#include "avformat.h"&#xA;#include "avio_internal.h"&#xA;#include "internal.h"&#xA;#include "network.h"&#xA;#include "os_support.h"&#xA;#include "url.h"&#xA;#include "tls.h"&#xA;#include "libavcodec/internal.h"&#xA;#include "libavutil/avstring.h"&#xA;#include "libavutil/opt.h"&#xA;#include "libavutil/parseutils.h"&#xA;&#xA;#include <security></security>Security.h>&#xA;#include <security></security>SecureTransport.h>&#xA;#include <corefoundation></corefoundation>CoreFoundation.h>&#xA;

    &#xA;

    Why is this happening ?

    &#xA;

    I also get the same result if I were to build with OpenSSL or LibreSSL. What is causing the problem ? My project or incorrectly building FFmpeg ?

    &#xA;

    If I were to use LibreSSL :

    &#xA;

    #cmakelists.txt:&#xA;find_package(LibreSSL)&#xA;&#xA;#linker&#xA;  target_link_libraries(videocommon PRIVATE&#xA;    FFmpeg::avcodec&#xA;    FFmpeg::avformat&#xA;    FFmpeg::avutil&#xA;    FFmpeg::swscale&#xA;    FFmpeg::swresample&#xA;    ${LIBRESSL_LIBRARIES} &#xA;    ${COREMEDIA_LIBRARY}&#xA;    ${VIDEOTOOLBOX_LIBRARY}&#xA;    ${COREVIDEO_LIBRARY}&#xA;    ${AUDIOTOOLBOX_LIBRARY}&#xA;  )&#xA;&#xA;#full error&#xA;Undefined symbols for architecture x86_64:&#xA;  "_tls_config_error", referenced from:&#xA;      _ff_tls_open in libavformat.a(tls_libtls.o)&#xA;  "_tls_config_insecure_noverifytime", referenced from:&#xA;      _ff_tls_open in libavformat.a(tls_libtls.o)&#xA;  "_tls_accept_cbs", referenced from:&#xA;      _ff_tls_open in libavformat.a(tls_libtls.o)&#xA;  "_tls_connect_cbs", referenced from:&#xA;      _ff_tls_open in libavformat.a(tls_libtls.o)&#xA;

    &#xA;