Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (57)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (7701)

  • Mix 2 audios using FFMPEG based on main audio duration

    23 décembre 2022, par bovietvidai

    I want to mix 2 audios into one audio using FFmpeg. There concept is one main audio running while the other keep repeating util its duration equals to main audio's duration

    


  • SDL and iOS main() methods conflict

    15 novembre 2016, par 谢小进

    I have learnt that SDL project need main() method to run loop, code like this :

    #include "SDL.h"

    int main(int argc, char *argv[])
    {
       if (SDL_Init(SDL_INIT_VIDEO) < 0) {
           printf("%s\n", SDL_GetError());
       }

       SDL_Window *window = SDL_CreateWindow(NULL, 0, 0, 320, 640, SDL_WINDOW_OPENGL | SDL_WINDOW_FULLSCREEN);
       SDL_Renderer *renderer = SDL_CreateRenderer(window, 0, 0);

       SDL_Surface *bmp_surface = SDL_LoadBMP("space.bmp");
       SDL_Texture *space = SDL_CreateTextureFromSurface(renderer, bmp_surface);
       SDL_FreeSurface(bmp_surface);

       SDL_RenderCopy(renderer, space, NULL, NULL);
       SDL_RenderPresent(renderer);

       int done = 0;
       while (!done) {
           Uint32 startFrame = SDL_GetTicks();
           SDL_Event event;
           while (SDL_PollEvent(&event)) {
               if (event.type == SDL_QUIT) {
                   done = 1;
               }
           }
           Uint32 endFrame = SDL_GetTicks();

           Sint32 delay = MILLESECONDS_PER_FRAME - (endFrame - startFrame);
           if (delay < 0) {
               delay = 0;
           } else if (delay > MILLESECONDS_PER_FRAME) {
               delay = MILLESECONDS_PER_FRAME;
           }
           SDL_Delay(delay);
       }

       SDL_DestroyTexture(space);
       SDL_Quit();

       return 0;
    }

    And iOS project also need main() method, code like this :

    #import <uikit></uikit>UIKit.h>

    #import "AppDelegate.h"

    int main(int argc, char * argv[])
    {
       @autoreleasepool {
           return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
       }
    }

    Now I need integrate SDL library to an iOS project, but there need two main() methods. How ? If yes, can anybody show some more codes ? Thanks.

  • how to add watermark in multiple areas using ffmpeg and scale watermarks in relation to main video ?

    1er août 2022, par Agdg

    I am currently using these command :

    &#xA;

    $command = &lt;&lt;usr/local/bin/ffmpeg -i $source -stream_loop -1 -i $gifPath \&#xA;            -i $gifPath -i $gifPath -i $gifPath \&#xA;            -filter_complex " \&#xA;            [0][1]overlay=x=W-w:y=0:shortest=1[tr]; \&#xA;            [tr][2]overlay=x=0:y=0:shortest=1[tl]; \&#xA;            [tl][3]overlay=x=W-w:y=H-h:shortest=1[br];&#xA;            [br][4]overlay=x=0:y=H-h:shortest=1" \&#xA;            -c:v h264 \&#xA;            $destination&#xA;            COMMAND;&#xA;

    &#xA;

    But i want to make watermarks 10% the size of the main video

    &#xA;