Advanced search

Medias (91)

Other articles (8)

  • 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 (...)

  • Supporting all media types

    13 April 2011, by

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats: images: png, gif, jpg, bmp and more audio: MP3, Ogg, Wav and more video: AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data: OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • 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 (...)

On other websites (1742)

  • Still can't install pygame on ubuntu

    1 October 2016, by brotheroflogan

    I’ve tried three different ways. The most recent was following instructions here: http://www.pygame.org/wiki/CompileUbuntu

    But when I type in the first line

    sudo apt-get install mercurial python-dev python-numpy ffmpeg \

    I am told that

    E: Package 'ffmpeg' has no installation candidate.

    I continue on with the instructions and I am later told that some of the dependencies are missing (even though those are the ones I had attempted to install moments ago).

    Then when I put in

    sudo python3 setup.py install

    it tells me

    src/_pygame.h:80:20: fatal error: Python.h: No such file or directory
    #include
                       ^
    compilation terminated.
    error: command 'i686-linux-gnu-gcc' failed with exit status 1
  • ffmpeg Error: Pattern type 'glob' was selected but globbing is not support ed by this libavformat build

    14 September 2017, by Aryan Naim

    I’m trying to convert group of ".jpg" files acting as individual frames into 1 single mpeg video ".mp4"

    Example parameters i used:

    frame duration  = 2 secs
    frame rate      = 30  fps
    encoder         = libx264 (mpeg)
    input pattern   = "*.jpg"
    output pattern  = video.mp4

    Based on ffmpeg wiki instructions at (https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images), I issued this command:

    ffmpeg -framerate 1/2 -pattern_type glob -i "*.jpg" -c:v libx264 -r 30 -pix_fmt yuv420p video.mp4

    But I’m getting this error:

    [image2 @ 049ab120] Pattern type 'glob' was selected but globbing is not
    supported by this libavformat build *.jpg: Function not implemented

    Which probably means the API pattern matching commands for my build/version have changed. By the way this my windows 32bit ffmpeg download build (ffmpeg-20150702-git-03b2b40-win32-static).

    How can I choose a group of files using pattern matching using ffmpeg?

  • ffmpeg: concat videos and images

    23 May 2016, by Yosko

    I have 2 videos (same resolution, same encoding) files that I want to concat and I want to insert some text for 3 seconds between them, as a splitter. I’m doing this with ffmpeg on Windows.

    Optional ideas that I would be interested in:

    • avoid reencoding the video in the process
    • having a fade in / fade out at the intersection of each part

    For now, I made the text as an image (but I am open to other suggestions). Let’s say I have:

    • video1.mp4: 6:33
    • splitter.png (same resolution as video1.mp4)
    • video2.mp4: 16:44

    I have tried a few things, but I always end up with the same problem: the video is 23:20 (video1 + 3 seconds + video2), but the 3 seconds gap is just the last video1 frame frozen instead of my image/text...

    Any Idea what I did wrong or how I should achieve this?

    Here is what I tried so far:

    Method 1: image to video

    Turn the image into a 3 seconds mp4 film, then concat (demuxer) it with the others:

    ffmpeg -loop 1 -f image2 -i splitter.png -r 30 -t 3 splitter.mp4
    ffmpeg -f concat -i input.txt -codec copy output.mp4

    Where the input.txt looks like:

    file 'E:\video1.mp4'
    file 'E:\splitter.mp4'
    file 'E:\video2.mp4'

    The content of splitter.png is visible in the splitter.mp4, but not in the output.mp4. Also I’m not entirely sure the splitter.mp4 respects the exact same encoding as the 2 videos, and I don’t know how to verify that.

    Method 2: insert image frames

    Directly run the concat (demuxer) 90 times (30fps -> 3 seconds) on the image

    ffmpeg -f concat -i input.txt -codec copy output.mp4

    Where the input.txt looks like:

    file 'E:\video1.mp4'
    file 'E:\splitter.png'
    ...
    file 'E:\splitter.png'
    file 'E:\video2.mp4'

    Edit: possible solution?

    Since all I’m doing is screencasting, I might as well screencast my splitter image. This way I would be sure of the audio & video encoding and wouldn’t have any problem merging and it wouldn’t need any reencoding... I know it might sound dumb, but it would probably do the trick...

    Note: I didn’t have try it, since I already worked through Openshot.