Advanced search

Medias (91)

Other articles (26)

  • Les formats acceptés

    28 January 2010, by

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 February 2011, by

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Amélioration de la version de base

    13 September 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

On other websites (7451)

  • ffmpeg - convert video into individual frame image files? [closed]

    2 January 2021, by MrFunreal

    i am trying to turn every single frame of a video file into png files using ffmpeg.
i have found several guides on how to do that, most of which look the same, by doing this:

    


    


    ffmpeg -i vid.mp4 frames/out%03d.png

    


    


    However, this does not work. FFmpeg for some reason just replaces the "%0" of the output file with the entire path of the bat file and then tells me that's wrong, like so:

    


    


    [image2 @ 000002c6aa87f680] Could not open file :
frames/outG:\Videos\vid_to_frames\3_video_to_frames.bat3d.jpg
av_interleaved_write_frame(): I/O error

    


    


    If i remove the "%0" of the output file it creates a single frame and gives me an error, telling me i need to put the "%03d" into the name, which doesn't work.

    


    


    [image2 @ 000001dc9a09fd40] Could not get frame filename number 2 from
pattern '$filename3d.png'. Use '-frames:v 1' for a single image, or
'-update' option, or use a pattern such as %03d within the filename.
av_interleaved_write_frame(): Invalid argument

    


    


    Is this just broken?
I found about 20 guides on how to do it, all of which use this exact same method and it just doesn't work.

    


    Does anyone know another way to do this via ffmpeg? (it must be via ffmpeg)

    


  • Generating movie from python without saving individual frames to files

    8 April 2015, by Paul

    I would like to create an h264 or divx movie from frames that I generate in a python script in matplotlib. There are about 100k frames in this movie.

    In examples on the web [eg. 1], I have only seen the method of saving each frame as a png and then running mencoder or ffmpeg on these files. In my case, saving each frame is impractical. Is there a way to take a plot generated from matplotlib and pipe it directly to ffmpeg, generating no intermediate files?

    Programming with ffmpeg’s C-api is too difficult for me [eg. 2]. Also, I need an encoding that has good compression such as x264 as the movie file will otherwise be too large for a subsequent step. So it would be great to stick with mencoder/ffmpeg/x264.

    Is there something that can be done with pipes [3]?

    [1] http://matplotlib.sourceforge.net/examples/animation/movie_demo.html

    [2] http://stackoverflow.com/questions/2940671

    [3] http://www.ffmpeg.org/ffmpeg-doc.html#SEC41

  • Generating movie from python without saving individual frames to files

    8 April 2015, by Paul

    I would like to create an h264 or divx movie from frames that I generate in a python script in matplotlib. There are about 100k frames in this movie.

    In examples on the web [eg. 1], I have only seen the method of saving each frame as a png and then running mencoder or ffmpeg on these files. In my case, saving each frame is impractical. Is there a way to take a plot generated from matplotlib and pipe it directly to ffmpeg, generating no intermediate files?

    Programming with ffmpeg’s C-api is too difficult for me [eg. 2]. Also, I need an encoding that has good compression such as x264 as the movie file will otherwise be too large for a subsequent step. So it would be great to stick with mencoder/ffmpeg/x264.

    Is there something that can be done with pipes [3]?

    [1] http://matplotlib.sourceforge.net/examples/animation/movie_demo.html

    [2] http://stackoverflow.com/questions/2940671

    [3] http://www.ffmpeg.org/ffmpeg-doc.html#SEC41