Recherche avancée

Médias (1)

Mot : - Tags -/musée

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

  • Evolution #3916 : perf mysql : ne pas surcharger les recherches

    8 janvier 2018, par jluc -

    Le patch proposé se veut respectueux au maximum de l’historique, puisque le comportement final est toujours identique, et pour cela il garde la recherche de l’expression complète quand il y a des petits mots. Mais pour éviter les slow queries, j’ai dû en fait totalement désactiver la recherche de l’expression complète, même quand il y a des petits mots. Les résultats sont les mêmes puisque si on cherche chacun des mots individuellement, qu’il y ait ou non des petits mots, l’expression complète sera trouvée. Et ça se confirme en pratique. Par contre, s’il n’y a QUE des petits mots, c’est la seule expression originelle qu’il faut rechercher au final.
    Ça ne serait utile de chercher l’expression complète en plus des mots isolés que si il y avait une pondération des résultats (mais ce n’est pas le cas).

  • How do I properly use Flutter FFmpegKit to convert video file formats to H.264 ?

    21 août 2024, par Spencer

    I've been using GPT and publications from Medium to help with my how I'm supposed to use the FFmpeg kit for Flutter but they have been no help. Perhaps I need clarification on what the tool is supposed to do because links like these below have not been of any help and are very outdated :

    


    https://dev.to/usp/flutter-live-streaming-a-complete-guide-2634

    


    https://medium.com/itnext/how-to-make-a-serverless-flutter-video-sharing-app-with-firebase-storage-including-hls-and-411e4fff68fa

    


    https://github.com/arthenica/ffmpeg-kit/blob/main/flutter/flutter/README.md

    


    This is the code i've been trying to run to convert a video file before I upload to Firestore Database.

    


    Future convertToH264(Uint8List bytes) async {
  try {
    final filename = const Uuid().v4();
    final tempDir = await getTemporaryDirectory();
    final tempVideoFile = File('${tempDir.path}/$filename.mp4');
    await tempVideoFile.writeAsBytes(bytes);
    final outputPath = '${tempDir.path}/$filename-aac.mp4';

    await FFmpegKit.execute(
      '-i ${tempVideoFile.path} -c:v libx264 -c:a aac $outputPath',
    );
    return await File(outputPath).readAsBytes();
  } catch (e) {
    rethrow;
  }
} 


    


  • ffmpeg create thumbnail image of multiple images from video

    21 janvier 2018, par Michael Yousef

    So I want to create a thumbnail image that consists of multiple images from a single video. I’m looking to make them 4x8, and I want to spread out the images uniformly throughout the video.

    Ideally the final product should show 32 image captures, all downscaled to a reasonable size so they can fit on screen at the same time. Also, I’d like to have the final product have some overhead text like the video title, and I’d like to put the timestamp in the images as well.

    This is a good example of what I want t do

    This is an example of what I want to do. The text at the top and the timestamp in the images. This one’s 6x4 and I want 4x8 but other than that it looks about what I want.

    I think ffmpeg probably has something to do this but I can’t seem to figure it out. I can generate individual screens but not collapse them into one. It’s also slower than programs I’ve used to do this in the past, not sure how they can do it as fast as they do. If I can’t get ffmpeg to do this, I’m open to using Python to accomplish this.