Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (69)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

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

Sur d’autres sites (7865)

  • How to write command in android when I m using FFmpeg Native with C++ file ?

    16 octobre 2019, par axita.savani

    Using FFmpeg lastest version ("Ada") with native code and write command in android .cpp file below it’s very simple function VideogetDuration() :

    #include
    #include <string>
    #include <iostream>
    #include <android></android>log.h>
    #include

    extern "C" {
    #include <libavutil></libavutil>timestamp.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libavutil></libavutil>display.h>
    }

       /***
        *
        * @param input - the absolute path to file
        * @returns the duration of file in seconds
        *
        */
       extern "C"
       JNIEXPORT jint JNICALL
       Java_com_ffmpegjni_videoprocessinglibrary_VideoProcessing_getDuration(JNIEnv *env,
                                                                             jobject instance,
                                                                             jstring input_) {
           av_register_all();
           AVFormatContext *pFormatCtx = NULL;
           if (avformat_open_input(&amp;pFormatCtx, jStr2str(env, input_), NULL, NULL) &lt; 0) {
               throwException(env, "Could not open input file");
               return 0;
           }


           if (avformat_find_stream_info(pFormatCtx, NULL) &lt; 0) {
               throwException(env, "Failed to retrieve input stream information");
               return 0;
           }

           int64_t duration = pFormatCtx->duration;


           avformat_close_input(&amp;pFormatCtx);
           avformat_free_context(pFormatCtx);
           return (jint) (duration / AV_TIME_BASE);
       }
    </iostream></string>

    when this value returns 0 value either the wrong value.
    also i have read the below docs for more information.

    1)http://dranger.com/ffmpeg/data.html
    2)https://static.packt-cdn.com/downloads/Developing_Multimedia_Applications_with_NDK.pdf
    3)https://github.com/KucherenkoIhor/VideoProcessingLibrary (also see this project)
    4)https://github.com/leandromoreira/ffmpeg-libav-tutorial#video---what-you-see

    i have also add the same problem with below link :
    how to use libavcodec/ffmpeg to find duration of video file

  • Why MediaArea_MediaInfo, AlturosDestinations_Alturos.VideoInfo and Xabe.FFmpeg work in C# console and winforms applications but not in UWP apps ?

    15 octobre 2020, par Morteza

    I want to get video files metadata. I used MediaInfo, AlturosVideoInfo and Xabe.FFmpeg. AlturosVideoInfo and MediaInfo return null but Xabe.FFmpeg returns an exception that says Invalid File (Can't open the file).

    &#xA;

    I think the problem is limitations in accessing files in UWP, but I added the folder that contains video files to FutureAccessList and even used FileOpenPicker.

    &#xA;

    How can I use these tools to get video metadata in UWP ?

    &#xA;

    Thank you

    &#xA;

  • dxva2 : Retry IDirectXVideoDecoder_BeginFrame()

    9 janvier 2014, par Sam Lantinga
    dxva2 : Retry IDirectXVideoDecoder_BeginFrame()
    

    If the function returns E_PENDING retry for a fixed number of times.

    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DH] libavcodec/dxva2.c