Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (52)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (9932)

  • Having ffmpeg add a repeating text overlay on a video

    30 mai 2020, par Caius Jard

    I'm looking to create an overlay that cycles through the characters in a string over and over. I've succeeded in using a sendcmd file to put A, B, C, D, E on the first 5 seconds of a video

    



    0  drawtext reinit 'text=A';
1  drawtext reinit 'text=B';
2  drawtext reinit 'text=C';
3  drawtext reinit 'text=D';
4  drawtext reinit 'text=E';


    



    But it doesn't cycle and I haven't been able to find a way to make it, because sendcmd looks like it just takes a simple timecode. I could make a command file 3600 lines long for my hour video, with those commands in over and over (the command file would be generated programmatically so not onerous)

    




    



    After some considerable experimenting I was able to do it with 5 separate drawtext :

    



    drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='A':x=if(trunc(mod(t\,5))\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='B':x=if(trunc(mod(t\,5))-1\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='C':x=if(trunc(mod(t\,5))-2\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='D':x=if(trunc(mod(t\,5))-3\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='E':x=if(trunc(mod(t\,5))-4\,-2000\,(w-tw)/2)


    



    But as can be seen, I have to repeat a lot of stuff here. Is there any slicker way ? It does seem to have a noticeable effect on encoding speed the more chars are added

    



    I was hoping that text expressions would help but it seems I can only return numerics from the values, so this expression didn't work out :

    



    %{e:if(trunc(mod(t,5)),'A', '')%{e:if(trunc(mod(t,5))-1,'B', '') ...


    


  • FFmpeg cut a 16:9 video to a 9:16 ratio and put subtitle only in ratio [closed]

    8 septembre 2023, par LordzSpectron

    I want to cut a 16:9 video to take only the central part of it, vertical and what's left, fill it with black borders, example :

    


    Video Example

    


    I want only the part highlighted in red.

    


    How to make this using ffmpeg ?

    


    I've been trying using crop, some answers that taught how to blur what's left, but they all leave the full video and just cut it down to 9:16.

    


    I want to have only the middle part highlighted and the rest be black border.

    


  • FFmpeg. How to set image preview metadata to .mp4 and mux subtitles [closed]

    15 mars 2013, par user2172066

    I found this guide which explains how metadata to any video file using FFmpeg free-form command line :
    http://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata#QuickTime.2FMOV.2FMP4.2FM4A.2Fet_al.

    however i want to add subtitles and an image preview to movies (.mp4) files. anybody know how to get this done ?
    thanks.