Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (46)

  • 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

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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (11962)

  • avformat/hlsenc : Fix leak of options when initializing muxing fails

    16 décembre 2019, par Andreas Rheinhardt
    avformat/hlsenc : Fix leak of options when initializing muxing fails
    

    hls_mux_init() currently leaks an AVDictionary if opening a dynamic
    buffer fails or if avformat_init_output fails. This has been fixed by
    moving the initialization resp. the freeing of the dictionary around :
    In the former case to a place after opening the dynamic buffer, in the
    latter to a place before the check for initialization failure so that it
    is done unconditionally.

    Furthermore, the dictionary is now only copied and freed if the options
    in it are actually used (namely when in SEGMENT_TYPE_FMP4 mode).

    Finally, a similar situation in hls_start() has been fixed, too.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Reviewed-by : Steven Liu <lq@onvideo.cn>

    • [DH] libavformat/hlsenc.c
  • avformat/dashdec : Fix leak of string on error when parsing representation

    19 septembre 2020, par Andreas Rheinhardt
    avformat/dashdec : Fix leak of string on error when parsing representation
    

    The DASH demuxer currently extracts several strings at once from an xml
    document before processing them one by one ; these strings are allocated,
    stored in local variables and need to be freed by the demuxer itself.
    So if an error happens when processing one of them, all strings need to
    be freed before returning. This has simply not been done, leading to
    leaks.

    A simple fix would be to add the necessary code for freeing ; yet there is
    a better solution : Avoid having several strings at the same time by
    extracting a string, processing it and immediately freeing it. That way
    one only has to free at most one string on error.

    Reviewed-by : Steven Liu <lq@chinaffmpeg.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/dashdec.c
  • Displaying ffmpeg conversion progress

    29 mars 2014, par Hiigaran

    I'm trying to get an admin function made, in which I want to show a basic status of any file conversion(s) that may or may not be happening upon page load. I'm not entirely sure how to proceed with this, so here is what I have at the moment :

    exec("ffprobe -v quiet -print_format json -show_format &#39;".$fileNameIn.".".$ext."&#39; > /var/www/resources/ffmpegFormat.log");
    exec("/ffmpeg/ffmpeg -loglevel &#39;verbose&#39; -i &#39;".$fileNameIn.".".$ext."&#39; &#39;".$fileNameOut.".flac&#39; null >/dev/null 2>/var/www/resources/ffmpeg.log &amp;",$ffmpegOutput);

    My idea is to use ffprobe to output some information about the file to be converted, then use PHP in some way to read the output file (ffmpegFormat.log) for the total file duration. Once read, ffmpeg begins, while outputting to its own file (ffmpeg.log).

    I'm not looking for anything fancy, like live updates on the progress, so I'm content with simply having a script read the current duration from the last line of the ffmpeg.log file, compare it to the total duration from the ffmpegFormat.log file, and display a percentage only after a page load/refresh.

    I've placed a restriction on conversion to only one file at a time, for the sake of simplifying this progress indicator (and due to a lack of processing power on this computer).

    Assuming there's no simpler way than my idea, how can I do this ?