Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

Sur d’autres sites (15828)

  • Split a movie so that each GIF is under a certain file size

    9 novembre 2014, par Terence Eden

    Problem

    I want to convert a long movie into a series on animated GIFs.

    Each GIF needs to be <5MB.

    Is there any way to determine how large a GIF will be while it is being encoded ?

    Progress So Far

    I can split the movie into individual frames :

    ffmpeg -i movie.ogv -r 25 frameTemp.%05d.gif

    I can then use convert from ImageMagick to create GIFs. However, I can’t find a way to determine the likely file size before running the command.

    Alternatively, I can split the movie into chunks :

    ffmpeg -i movie.ogv -vcodec copy -ss 00:00:00 -t 00:20:00 output1.ogv

    But I’ve no way of knowing if, when I convert the file to a GIF it will be under 5MB.

    A 10 second scene with a lot of action may be over 5MB (bad !) and a static scene could be under 5MB (not a problem, but not very efficient).

    Ideas

    I think that what I want to do is convert the entire movie into a GIF, then find a way to split it by file size.

    Looking at ImageMagick, I can split a GIF into frames, but I don’t see a way to split it into animated GIFs of a certain size / length.

    So, is this possible ?

  • Revision 103224 : version 1.9.13 de la lib https://github.com/JamesHeinrich/getID3/releases

    10 mars 2017, par kent1@… — Log
  • Movie with png images in ffmpeg

    7 août 2018, par Madara Uchiha

    I have png images as alpha_water_10.png, alpha_water_20.png, upto alpha_water_2780.png. Now I want to make a movie with ffmpeg using this, but the ffmpeg -r 30 -start_number 10 -i alpha_water_%04d.png -c:v libx264 volfrac1.mp4 seems to give the video but it is not in the ascending order. The images at lets stay 270 will be right after the 20th image.
    Would anyone know its fix.