Recherche avancée

Médias (91)

Autres articles (60)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les sons

    15 mai 2013, par
  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (5129)

  • ffmpeg output file size grows faster than linearly with movie length

    14 janvier 2021, par Jakob Filser

    I'm using ffmpeg to string together some .bmp images into a movie. In total, there are 1001 frames, amounting to 0:40 length. The command I'm using is

    


    ffmpeg -f image2 -i render.%05d.bmp -c:v libx264 -s 512:268 render.mp4


    


    The output file is 33,2 MB large, which is about twice the size of a full HD (about 16 times the pixels !) video of the same length. Apart from the file size being unreasonably large, I realized it grows faster than linearly (can't tell exactly if it is quadratic, exponential etc.) with the number of frames. After 100 frames it is about 1536 KB large (which is already too large), after 500 frames it is already 15104 KB, and after 1001 it finally arrives at 34085 KB.

    


    My educated guess would be that for each frame it stores some information about all of the previous frames again, which makes absolutely no sense.

    


    What am I doing wrong ? Before you recommend libx265 to me : It turns the entire video green.

    


  • FFMPEG convert Black&White AVI into h264 that works inside a HTML5 Video tag

    7 mai 2014, par Eager to Learn

    I would like to convert an existing black and white AVI into h264 that works inside an Html5 video tag.

    I’m currently using this ffmpeg command :
    Ffmpeg -i 0 -y -c:v libx264 1

    where 0 is the avi file and 1 is the output h264 file.

    This command does not work for me, it does produce the h264 but it does not play anywhere else than inside a VCL player (go figure).

    Anybody out there, please please help !!!

  • ffmpeg make image and movie in one command

    22 juin 2012, par knishua

    this is the situation :
    given a thumbnail, i need to overlay it on top of an image.

    so, i need to scale image pass it as parameter to overlay pass that to drawtext.

    I have got so far, adding multiple text + overlay + thumbnail,

    1. ffmpeg -threads 8 -i D:/imagesequence/background.jpg -vf "movie='D\:/imagesequence/dpx/thumbnail.jpg' [watermark]; [in][watermark] overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/3[water];[water] drawtext=fontsize=32:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='shotName':x=(w)/2:y=(h)-50,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Notes \:':x=(w)/5:y=(h)-90,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Frame Range \:':x=(w)/5:y=(h)-130,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Lens \:':x=(w)/5:y=(h)-170,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Undistortion \:':x=(w)/5:y=(h)-210,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Image Sequence \:':x=(w)/5:y=(h)-250,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Date \:':x=(w)/5:y=(h)-290,drawtext=fontsize=28:fontcolor=White:fontfile=/Windows/Fonts/arial.ttf:text='Element Name \:':x=(w)/5:y=(h)-330,drawtext=fontfile=/Windows/Fonts/arial.ttf:text='FUTUREWORKS':x=130:y=200:fontsize=54:fontcolor=White[out]" D:\imagesequence\dpx\brn_055.0000.dpx

    2. ffmpeg -threads 8 -i D:\imagesequence\dpx\brn_055.%04d.dpx -vf "drawtext=fontfile=/Windows/Fonts/arial.ttf:text='shotcam':x=(w)/2:y=(h)-35:fontsize=24:fontcolor=Yellow,drawtext=fontfile=/Windows/Fonts/arial.ttf:text='Frame \:':x=(w)-600:y=(h)-35:fontsize=24:fontcolor=Yellow,drawtext=fontfile=/Windows/Fonts/arial.ttf:text='Focal Length \:':x=(w)-600:y=(h)-65:fontsize=24:fontcolor=Yellow" D:\imagesequence\dpx\test2.mov

    3. how do i scale an image and pass it to movie, in 1

    4. how do i make a blackscreen size that of an image say
      'D :\imagesequence\dpx\brn_055.0001.dpx' and pass it to input in 1

    5. is it possible do bother 1 and 2 in one command line ( ffmpeg ....)
      i.e. make an image from first point ( 1 ) and continue with making .mov ( of 1 image + input from point 2 )

    or in other words if it is not possible to do (1 + 2) in one command then is it possible to first execute 1 then execute 2 ( but with output from 1)
    do it