Recherche avancée

Médias (91)

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • FFmpeg uses too much memory when repeating split, select, overlay

    13 novembre 2020, par finefoot

    I'm running

    


    ffmpeg -i input.mp4 -filter_complex_script script.txt output.mp4


    


    with the following minimal example script :

    


    split[tmp],
select='between(t,1,2)',
select='between(n,0,1)',
[tmp]overlay=enable='between(t,1,2)':eof_action=repeat,
split[tmp],
select='between(t,3,4)',
select='between(n,0,1)',
[tmp]overlay=enable='between(t,3,4)':eof_action=repeat


    


    What I want to do is to take 1 frame at a certain position and repeat it for a certain duration, basically "pausing" the video, while overwriting to keep the same output length. In the example, I'm doing this twice : I'm using split[tmp] to get a second input stream to work on, select the time at position 00:01 with select='between(t,1,2)', select the first frame from that position with select='between(n,0,1)' and finally overlay that frame over the input. This repeats for a second time at position 00:03. I have tested this and it does exactly what I'm looking for.

    


    However, in my real script, I'm repeating this about 1000 times for different positions in the stream (and for shorter durations than 1 second) which results in running out of memory. What am I doing wrong ? What can I do to optimize ?

    


  • How to split a video into multiple n-second GIFs ?

    26 mai 2021, par ftgp

    I read a lot of tutorials and I could do this command :

    


    ffmpeg -t 3 -i video.mp4 -vf "fps=15,scale=360:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif


    


    But it won't work to do what I want. I need to read a video.mp4 and create multiple GIFs with two or three seconds for each two or three seconds of the video, until the end.

    


  • Split video in specific number of frame with ffmpeg in c#

    30 avril 2017, par Loic Bch

    I want to split a video into a specific number of image :
    I’m using ffmpeg/EmguCV in C#.

    I capture a video from a webcam and i need to split the video into 59 images. i’m using -i command with ffmpeg to split my video into a number of images.

    The problem is that the number of images i get at the end is different at each capture because the duration of the video is not exactly the same due to fps drop.

    So if anyone know if it’s possible to specify that i want the video to be equally cut into 59 images. (Or any other idea to get what i want)

    (at the moment i’m taking the number of images i get from the cut and divide it by 59 then i’m taking one image in "the result" but i’ts not precise at all because if i get a decimal number im losing or adding images)