Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (44)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

Sur d’autres sites (8213)

  • fate : split off lossless video and audio FATE tests into their own files

    14 décembre 2011, par Diego Biurrun

    fate : split off lossless video and audio FATE tests into their own files

  • fate : split off Ut Video codec FATE tests into their own file

    14 décembre 2011, par Diego Biurrun

    fate : split off Ut Video codec FATE tests into their own file

  • Querying an audio/video file for information

    4 juin 2013, par TRiG

    I want a PHP function which receives the path to a file and returns an array of information about it. The PHP file can call FFmpeg.

    Returned data should be something like

    Array(
       [mime]          => video/ogg
       [container]     => Ogg
       [video]         => Theora
       [audio]         => Vorbis
       [duration]      => 20.3 // in seconds
    )

    Array(
       [mime]          => audio/ogg
       [container]     => Ogg
       [video]         =>
       [audio]         => FLAC
       [duration]      => 3
    )

    Array(
       [mime]          => image/gif
       [container]     => GIF
       [video]         => Animated GIF
       [audio]         =>
       [duration]      => 2
    )

    Array(
       [mime]          => video/webm
       [container]     => WebM
       [video]         => VP8
       [audio]         => Vorbis
       [duration]      => 900.7
    )

    false // not a media file

    I've never worked with FFmpeg or with PHP's shell_exec() function, but it seems that FFmpeg will give information about videos (or audio files) in a fairly hard-to-parse format. I assume that something like this is possible, though.