Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (74)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • 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

Sur d’autres sites (7261)

  • Force ffmpeg to exit with error code whenever thumbnail isn't successfully created

    12 janvier 2017, par user779159

    To get a thumbnail from an image at 100 seconds I can do ffmpeg -ss 100 -i /tmp/video.mp4 -frames:v 1 -s 200x100 image.jpg. However, if the video is less than 100 seconds, ffmpeg doesn’t create a thumbnail but also doesn’t exit with any error code, which is quite unexpected.

    The command exits with no error code (exit status of 0). It only outputs a message on stderr saying Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used).

    I would like ffmpeg to exit with an error code under any situation where a thumbnail hasn’t been created. Otherwise I’ll always have to do another check from my application code after the ffmpeg command to ensure that the expected number of thumbnails has been output to the filesystem.

    Is there a way around having to do this application-level check, and force ffmpeg to fail whenever it doesn’t successfully write a thumbnail to the filesystem ?

  • swscale/utils : return better error code from initFilter()

    13 juin 2020, par Limin Wang
    swscale/utils : return better error code from initFilter()
    

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] libswscale/utils.c
  • avformat_open_input sometimes running correct, but sometimes return error code -5

    15 juin 2020, par Jianhua Zhu

    When I in C# use ffmpeg.AutoGen call ffmpeg dll files, the function avformat_open_input open audio device, sometimes it's correct, it can open the audio device, but sometimes it return error, the error code is -5. and ffmpeg log error message : Could not enumerate audio only devices (or none found).&#xA;How can I do ? The ffmpeg version is 4.2.3

    &#xA;&#xA;

    ret = ffmpeg.avformat_open_input(&amp;aCtx, System.Text.Encoding.UTF8.GetString(encodeAudio), ifmt, &amp;parm);&#xA;

    &#xA;