Recherche avancée

Médias (91)

Autres articles (75)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 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 (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (11897)

  • Can´t convert .mp4 file to .mjpeg file with ffmpeg

    19 février 2018, par Herr HupfDohle

    I use ffmpeg to convert a .mp4 file to a .mjpeg file and I fail doing so.
    What i tried so far :
    Converting directly from .mp4 to .mjpeg with one of these :

       "ffmpeg -i input.mp4 output.mjpeg"
       "ffmpeg -i input.mp4 -framerate 25 output.mjpeg"

    Getting all the individual images of my video (which worked fine) and put them together to a .mjpeg file did not work as well.

       "ffmpeg -i input.mp4 image%d.jpeg"
       "ffmpeg -f image2 -i image%d.jpeg output.mjpeg", or
       "ffmpeg -f image2 -i image%d.jpeg -framerate 25 output.mjpeg"

    "Solutions" like the following one did not work, cause I need a file extension .mjpeg so -c:v mjpeg is not enough cause I end up with sth. like .mov !

    "ffmpeg -i input.mov -c:v mjpeg -q:v 3 -huffman optimal -an output.mov"

    To view my files I use vlc player.

    I always end up with a .mjpeg file which has the length of 10 seconds and only shows the very first image of my 4000 pictures.

  • Revision 32595 : avec le numero de version des plugins

    1er novembre 2009, par fil@… — Log

    avec le numero de version des plugins

  • Continously read file in Ruby and save into pipe

    7 juillet 2016, par stiller_leser

    I am trying to continously read a file and save the output into a IO.pipe. The motivation being that ffmpeg which has been spawned before and given the r-end of the pipe as STDIN will then convert the video.
    This is what I have so far :

       r,w = IO.pipe
       ffmpeg_args = ' -i pipe:0 "test.mp4"'
       pid = Process.spawn('ffmpeg'+ffmpeg_args, {STDIN => r, STDERR => STDOUT})
       Process.detach pid
       File.open(@options['filename'], 'rb') do |file|
         while line = file.gets
           w.write line.read
         end
       end

    I had success with declaring the input file directly as STDIN for the process, but this lead to an early termination of ffmpeg since it had reached the end of the file. With the code above ffmpeg complains about invalid data.

    Is there any way this could be achieved ?