Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (69)

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

  • I have been trying to figure out how to make video of selected images with FFmpeg

    3 décembre 2016, par Manish Godhani

    I am working with Android videos and I know how to determine the series of images using gallary View. But I’m stuck on FFmpeg now.

    With the below code I am getting some images from gallery :

    btnSelect.setOnClickListener(new View.OnClickListener() {

     public void onClick(View v) {
       final int len = thumbnailsselection.length;
       int cnt = 0;
       String selectImages = "";

       for (int i = 0; i < len; i++) {
         if (thumbnailsselection[i]) {
           cnt++;
           selectImages = selectImages + arrPath[i] + "|";
         }
       }

       if (cnt == 0) {
         Toast.makeText(getApplicationContext(), "Please select at least one image", Toast.LENGTH_LONG).show();
       } else {

         Log.d("SelectedImages", selectImages);
         Intent i = new Intent();
         i.putExtra("data", selectImages);
         setResult(Activity.RESULT_OK, i);
         finish();
       }
     }
    });

    Any clues ?

    Thanks.

  • configure : use check_lib2 for cuda and cuvid

    12 novembre 2016, par Hendrik Leppkes
    configure : use check_lib2 for cuda and cuvid
    

    Fixes building for Windows x86 with MSVC using the link libraries distributed with the CUDA SDK.

    check_lib2 is required here because it includes the header to get the full signature of the
    function, including the stdcall calling convention and all of its arguments, which enables
    the linker to determine the fully qualified object name and resolve it through the import
    library, since the CUDA SDK libraries do not include un-qualified aliases.

    • [DH] configure
  • Cleaning up after av_frame_get_buffer

    4 novembre 2016, par Jason C

    There are two aspects of my question. I’m using libav, ffmpeg, 3.1.


    First, how do you appropriately dispose of a frame whose buffer has been allocated with av_frame_get_buffer ? E.g. :

    AVFrame *frame = av_frame_alloc();
    frame->width = ...;
    frame->height = ...;
    frame->format = ...;
    av_frame_get_buffer(frame, ...);

    Do any buffers have to be freed manually, beyond the call to av_frame_free(frame) ? The documentation doesn’t mention anything special, but in my experience the ffmpeg documentation often leaves out important details, or at least hides them in places far away from the obvious spots. I took a look at the code for av_frame_free and av_frame_unref but it branched out quite a bit and I couldn’t quite determine if it covered everything.


    Second, if something beyond av_frame_free needs to be done, then is there any catch-all way to clean up a frame if you don’t know how its data has been allocated ? For example, assuming someBuffer is already allocated with the appropriate size :

    AVFrame *frame2 = av_frame_alloc();
    frame2->width = ...;
    frame2->height = ...;
    frame2->format = ...;
    av_image_fill_arrays(frame2->data, frame2->linesize, someBuffer,
                        frame2->format, frame2->width, frame2->height, 1);

    Is there a way to free both frame and frame2 in the above examples using the exact same code ? That is frame and its data should be freed, and frame2 should be freed, but not someBuffer, since libav did not allocate it.