Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (54)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9337)

  • Dynamic subtitles by ffmpeg

    8 septembre 2019, par Saeron Meng

    I would like to add some commentary texts into my video but I do not know how to use ffmpeg to realize this. The comments are like screen bullets through the screen, appearing in the right margin, moving and scrolling, and disappearing from the left.

    My thought is to count the length of the comments and define speeds for them to move and I have already gotten the comments saved as an xml file. But even though I can transfer it into srt file, the tricky problem is, it is hard to write the speeds of the subtitles, or something like that, in an srt file, and apply them to ffmpeg commands or APIs. Here is an example of comments (xml file) :

    <chat timestamp="671.195">
       <ems utctime="1562584080" sender="Bill">
           <richtext></richtext>
       </ems>
    </chat>
    <chat timestamp="677.798">
       <ems utctime="1562584086" sender="Jack">
           <richtext></richtext>
       </ems>
    </chat>

    The final result is like this (I did not find an example in websites in English. In China, such moving subtitles are called "danmu" or "screen bullets"), these colorful characters can move horizontally from right to left :

    example

    1. I have searched some solutions on the Internet, most of which talk about how to write ass/srt files and add motionless subtitles. Like this :

    ffmpeg -i infile.mp4 -i infile.srt -c copy -c:s mov_text outfile.mp4

    3
    00:00:39,770 --> 00:00:41,880
    When I was lying there in the VA hospital ...

    4
    00:00:42,550 --> 00:00:44,690
    ... with a big hole blown through the middle of my life,

    5
    00:00:45,590 --> 00:00:48,120
    ... I started having these dreams of flying.

    But I need another kind of "subtitles" which can move.

    1. When it comes to scrolling subtitles, there are still some solutions : Scrolling from RIGHT to LEFT in ffmpeg / drawtext

    So my question is, how to combine the solutions above to arrange subtitles from top to bottom and let them move concerning the timestamps of the comments ?

  • Transition effects between images using ImageMagick and FFMPEG [closed]

    7 mai 2013, par user1599914

    I'm trying to generate a video using still images. I'm using Image Magick's convert command to duplicate the images.

    convert screen6.png -duplicate 10 -background black -gravity center -extent 1024x576 4%06d.screen.transition.png

    I then use ffmpeg to encode the images.

    Problem 1 : How can I achieve good transition effects between the images ; effects such as circle in, box out, wheel, as well as kenburns effect.

    Problem 2 : How can I overlay the images with text, and make that text to animate or appear with some effects such as fade in, zoom out.

    Your help will be greatly appreciated.

  • How to use values from array for scaling an image in FFMPEG expression ?

    27 juillet 2022, par Babagota

    I have an array containing 10 values, and I'm making a 5 seconds video at 2 frames per seconds.

    &#xA;

    myArray = [110.2, 110.5, 113.5, 112.4, 112.4, 114.5, 110.3, 111.1, 115.3, 117.2]&#xA;#each value correspond to a scale, default is 100 so 110.2 is equal to a 10.2% zoom in&#xA;

    &#xA;

    How can I use those values to scale an image frame by frame ?

    &#xA;

    ffmpeg -r 2 -loop 1 -i background.jpg -filter_complex "[0]scale=1:1[something here]" -t 5 out.mp4&#xA;

    &#xA;

    I've seen this question which is the same but for equalizers, but I can't reproduce the same thing for scaling. If I want to chain scales like this, I got an Invalid Expression.

    &#xA;

    Thanks

    &#xA;