Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

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 (11513)

  • libx264 : Pass the reordered_opaque field through the encoder

    11 octobre 2018, par Martin Storsjö
    libx264 : Pass the reordered_opaque field through the encoder
    

    libx264 does have a field for opaque data to pass along with frames
    through the encoder, but it is a pointer, while the libavcodec
    reordered_opaque field is an int64_t. Therefore, allocate an array
    within the libx264 wrapper, where reordered_opaque values in flight
    are stored, and pass a pointer to this array to libx264.

    Update the public libavcodec documentation for the AVCodecContext
    field to explain this usage, and add a codec capability that allows
    detecting whether an encoder handles this field.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/libx264.c
    • [DBH] libavcodec/version.h
  • ffv1 : Pass correct pointers to av_free()

    20 avril 2015, par Diego Biurrun
    ffv1 : Pass correct pointers to av_free()
    

    Bug-Id : CID 1295124

    • [DH] libavcodec/ffv1.c
  • Android - How can I pass camera stream to ffmpeg, using Camera2 library ?

    29 mars 2021, par Juan José Cetraro

    I am trying to create an app that shows the camera of the device on the screen, and also streams the camera by srt. To do this, I am using Camera2 library, and ffmpeg (in partucular I am using https://github.com/tanersener/mobile-ffmpeg, that is a ffmpeg wrapper for Android).

    &#xA;

    My plan is to get the camera stream using Camera2 (using the method onImageAvailable on ImageReader.OnImageAvailableListener class), and send this stream to udp ://localhost:1234. Then, I can use ffmpeg to get that stream by udp, and send it by srt.

    &#xA;

    I've already solved the part of sending the stream by srt using ffmpeg, and it works fine. In fact, if I set "android_camera" as the input of my ffmpeg command, my app works ok. The problem with this approach, is that if I do that, I block the access to the camera, so I can't show the camera on the screen with another library.

    &#xA;

    I also found a code that uses Camera2 to stream the camera by udp, and it works, but the problem with this code is that converts each frame to bitmap before sending it by udp, and it makes that it is not performant.

    &#xA;

    So, I need to know which is the best way to pass the data by udp to ffmpeg, so ffmpeg could process it and send it by srt ?

    &#xA;

    Camera2 let me to configure which format I want to receive the frames on my listener :

    &#xA;

    ImageReader.newInstance(1280, 720, ImageFormat.JPEG, /*maxImages*/2);&#xA;

    &#xA;

    In this example I am setting JPEG as ImageFormat, but here I let you all the available formats I could use :

    &#xA;

    UNKNOWN, RGB_565, YV12, Y8, Y16, NV16, NV21, YUY2, JPEG, DEPTH_JPEG, YUV_420_888, YUV_422_888, YUV_444_888, FLEX_RGB_888, FLEX_RGBA_8888, RAW_SENSOR, RAW_PRIVATE, RAW10, RAW12, DEPTH16, DEPTH_POINT_CLOUD, RAW_DEPTH, PRIVATE, HEIC

    &#xA;

    This is the method where I am going to receive each frame, and what I need to know is what kind of transformation I have to do before sending the frame by udp to ffmpeg ? :

    &#xA;

    @Override&#xA;public void onImageAvailable(ImageReader reader) {&#xA;&#xA;}&#xA;

    &#xA;

    Thanks in advance for reading the question :)

    &#xA;