Recherche avancée

Médias (91)

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Les formats acceptés

    28 janvier 2010, par

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

Sur d’autres sites (7285)

  • ffmpeg - wrong length of video

    29 mars 2012, par Victor

    I use ffmpeg to convert a video from mp4 to flv and mpg formats. Just rough conversion with few params :

    ffmpeg -i my_file.mp4 -an -f flv my_new_file.flv

    (I don't need sound so I specified -an)

    When I convert file with 2:23 length I get 0:23 length of flv(or mpg) files. Why does that happen ?

  • http: Improve handling of Content-Range with Transfer-Encoding:chunked

    2 février 2022, par Justin Ruggles
    http: Improve handling of Content-Range with Transfer-Encoding:chunked
    

    When Transfer-Encoding:chunked is used, the client must ignore a
    Content-Length header, if present. However, it should not ignore a
    Content-Range header, which also includes the full size of the
    entity.

    • [DH] libavformat/http.c
  • Getting length of video

    23 février 2017, par MZimmerman6

    I am having trouble finding a simple example of how to get the video length of a file programmatically. Many people say, oh use this library/wrapper or whatever, but do not say how. I have downloaded ffmpeg, but have no clue how to actually use it and there does not seem to be any example of how to use it to get the video duration. I see how you can use it to convert videos, but I simply just want to know the duration of a video. All of the other information does not matter.

    Is there any way of doing this simply, whether it be in C#, python, java, whatever, that will just return a string that indicates the length of a video file.

    Please provide examples if possible. Thanks in advance !

    Assume standard file formats, such as wmv, avi, mp4, mpeg. Stuff that has metadata.