Recherche avancée

Médias (91)

Autres articles (62)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (11989)

  • Evaluate function within ffmpeg drawtext

    22 juin 2022, par Dan Steingart

    I am looking to display a counter that is a multiple of the frame number on a video created with ffmpeg. Previous answers on SO taught me that a command of the form

    


    ffmpeg -y -r 25  -pattern_type glob -i '*.jpg' -vf "text='%{n}': start_number=0: x=0: y=0: fontcolor=black: fontsize=30: box=1: boxcolor=white: boxborderw=5" -c:a copy movie.mp4


    


    Will display the frame number, and this works nicely. But if I try to evaluate an expression within the %{}, e.g.

    


    ffmpeg -y -r 25  -pattern_type glob -i '*.jpg' -vf "text='%{n*50}': start_number=0: x=0: y=0: fontcolor=black: fontsize=30: box=1: boxcolor=white: boxborderw=5" -c:a copy movie.mp4


    


    Then I get the following error

    


    [Parsed_drawtext_0 @ 0x55683f9b00] %{n*50} is not known    


    


    on each frame. What is the proper syntax to evaluate n*50 and display in drawtext ? TIA.

    


  • Android FFMPEG + SDL2 Full screen issue (Video)

    15 janvier 2018, par byungkyu

    I make video player, use ffmpeg, SDL2.
    when I compile ffmpeg, I add —disable-filters, and I scale video using SDL.

    VideoPicture *vp;

    vp = &is->pictq[is->pictq_windex];
    Uint32 flags(SDL_GetWindowFlags(vp->screen));
    flags ^= SDL_WINDOW_FULLSCREEN_DESKTOP;
    SDL_SetWindowFullscreen(vp->screen, flags);
    int w = 640, h = 480; // TODO: UPDATE ME! ;)
    if ((flags & SDL_WINDOW_FULLSCREEN_DESKTOP) != 0)
    {
       LOGI("toggleFullscreen 1189");
       SDL_SetHint(SDL_HINT_RENDER_LOGICAL_SIZE_MODE, "overscan");
       SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
       SDL_RenderSetLogicalSize(vp->renderer, w, h);
    }
    else
    {
       LOGI("toggleFullscreen 1195");
       SDL_SetWindowSize(vp->screen, w, h);
    }

    but this code show black bar, upper side and down side.
    how to make full screen, no black, and expand video height ?

    enter image description here

  • ffplay shows no video from Grass Valley KMX in HDMI input even though HDMI from scope bars displays just fine

    14 juin 2023, par Scott Wilkerson

    I'm trying to replace an unsupported video input player that uses a Decklink card to superimpose video on an iControl widget. I was able to get this to work with a Decklink Mini Recorder 4K card with ffplay using this command :

    


    ffplay -f dshow -video_size 1280x720 -left 631 -top 19 -rtbufsize 702000k -framerate 59.94 -i video="Decklink Video Capture":audio="Decklink Audio Capture" -noborder -hide_banner -alwaysontop

    


    I used bars and tone from a handheld scope to test the video window and it worked great. When I put it into production with input from a Grass Valley KMX it only displays black. I can see the video, chroma, audio etc in the video window stats. The KMX video can display just fine with the Black Magic Media Express app. Any ideas what might be tripping it up ?

    


    I tried -videoinput HDMI, which did not work.