Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8967)

  • lavf : add WebVTT muxer.

    12 juin 2013, par Matthew Heaney
    lavf : add WebVTT muxer.
    

    This revision creates a WebVTT muxer, that outputs files having the
    format described in the following specification :

    http://dev.w3.org/html5/webvtt/

    • [DH] doc/general.texi
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/version.h
    • [DH] libavformat/webvttenc.c
  • avcodec/mpeg12dec : Don't adapt (last|next)_pic.linesize for field pics

    23 juin 2024, par Andreas Rheinhardt
    avcodec/mpeg12dec : Don't adapt (last|next)_pic.linesize for field pics
    

    These values are not read anywhere. Furthermore, since commit
    fe6037fd04db8837dcdb9013f9c4ad4e7eb0592e the linesize values
    of the MPVWorkPictures were wrong for subsequent fields
    in a chain of B-pictures (as they are always doubled and no longer
    based upon the frame-linesizes) which can eventually lead to overflow.

    Finally, it makes no real sense to ever double the linesize
    of the reference pictures at all : Even when the current picture
    is a field, it can still reference both fields of reference
    pictures and therefore the linesize should allow to address
    both fields (for the same reason, data is not offset for
    reference pictures).

    libavcodec/mpeg12dec.c:1304:41 : runtime error : signed integer overflow : 4611686018427387904 * 2 cannot be represented in type 'long'

    issue : 69732/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEGVIDEO_fuzzer-5123551179374592

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/mpeg12dec.c
  • Converting a video and capturing a thumbnail through ffmpeg-php

    14 mai 2014, par HackerManiac

    Can anyone give a code on how do i upload and covert a video using ffmpeg.

    As thought currently i have only uploading system.

    vu.php

    define('UPLOAD','../../videos/');
       $fileName = time().$file['name'];
       $target = UPLOAD.$fileName;

     if(move_uploaded_file($file['tmp_name'],$target)){                
         exec("ffmpeg -i ".UPLOAD." ".UPLOAD.$filename.".flv");
     }

    This pice of code block just uploads the video on video folder but does not converts it to .flv.
    I am not sure how to use ffmpeg.

    My diretory looks like this

    www[localhost]->videos[videos folder]
    www[localhost]->pictures[pictures folder]
    www[localhost]->resources[folder]->php[folder]->vu.php

    I also want to return a .jpg image of any frame of video through json by converting via ffmpeg and uploading it to pictures folder.

    return json_encode(array("thumbnail"=>$image_src));