Recherche avancée

Médias (91)

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (8500)

  • Generating movie from python without saving individual frames to files

    8 avril 2015, par 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 avril 2015, par 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

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

    2 janvier 2021, par 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)