Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (87)

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

  • Les images

    15 mai 2013
  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (2416)

  • timelapse images into a movie, 500 at a time

    2 mars 2017, par molly78

    I am trying to make a script to turn a bunch of timelapse images into a movie, using ffmpeg.

    The latest problem is how to loop thru the images in, say, batches of 500.

    There could be 100 images from the day, or there could be 5000 images.

    The reason for breaking this apart is due to running out of memory.

    Afterwards I would need to cat them using MP4Box to join all together...

    I am entirely new to bash, but not entirely programming.

    What I think needs to happen is this

    1) read in the folders contents as the images may not be consecutively named

    2) send ffmpeg a list of 500 at a time to process (https://trac.ffmpeg.org/wiki/Concatenate)

    2b) while you’re looping thru this, set a counter to determine how many loops you’ve done

    3) use the number of loops to create the MP4Box cat command line to join them all at the end.

    the basic script that works if there’s only say 500 images is :

    #!/bin/bash

    dy=$(date '+%Y-%m-%d')

    ffmpeg -framerate 24 -s hd1080 -pattern_type glob -i "/mnt/cams/Camera1/$dy/*.jpg" -vcodec libx264 -pix_fmt yuv420p Cam1-"$dy".mp4

    MP4Box’s cat command looks like :

    MP4Box -cat Cam1-$dy7.mp4 -cat Cam1-$dy6.mp4 -cat Cam1-$dy5.mp4 -cat Cam1-$dy4.mp4 -cat Cam1-$dy3.mp4 -cat Cam1-$dy2.mp4 -cat Cam1-$dy1.mp4 "Cam1 - $dy1 to $dy7.mp4"

    Needless to say help is immensely appreciated for my project

  • ffmpeg alpha channel of images lost

    4 mai 2021, par gilad s

    Using the following command I make images appear partially transparent. This seems to work as expected.

    


     convert original.jpg -alpha set -background none -channel A -evaluate multiply 0.2 +channel image_01.png
 convert original.jpg -alpha set -background none -channel A -evaluate multiply 0.2 +channel image_02.png


    


    After the images are created I use ffmpeg to turn them into a video :

    


     ffmpeg -i image_%02d.png -pix_fmt yuv420p -c:v libx264 result.mp4


    


    The resulting video doesn't include the partial transparency. The images appear just like the original. It seems the alpha channel of the images is lost.

    


  • Images to video in PHP ? [duplicate]

    24 juin 2013, par jesper

    This question already has an answer here :

    I have tried to make a images to video converter, and this works.

    ffmpeg  -i /home/psafari/public_html/common/images/icon3.png -vcodec mpeg4 /home/psafari/public_html/" . time().".avi

    But how can i set the duration of the movie ? So it's maybe 7 minutes long ?

    Another question :

    I have 2 pictures, now the command only make the video from image "icon3.png", but i need it to run maybe picture2.png the first 5 seconds, and the rest (6.55 seconds) it has to view icon3.png ex.