Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (62)

  • 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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • 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;
  }
} 


    


  • 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 to add transition effects like fade in, fade out, slide in, etc, to a video [on hold]

    31 mai 2018, par Janhavi Savla

    I am trying to add crossfade effect to a series of images ina folder and then create a video but I am getting an error :’tuple’ object has no attribute ’crossfadein’.
    How should I resolve it ?
    Here’s the code :

    from moviepy.editor import *
    import os

    delay =1
    H = 720
    W = 1280
    output = "out.mp4"
    path = "/Users/test/Desktop/Image_test_data/testdata2"
    dirs = os.listdir( path )
    ext = '.jpg'
    clips=[]
    images = [img for img in os.listdir(path) if img.endswith(ext)]

    for image in images:
       img=ImageClip(path+'/'+image).set_duration(2).resize(height=H,width=W)
       clips.append(img)

    final = concatenate([clip.crossfadein(delay) for clip in enumerate(clips)],
        padding=-delay, method="compose")

    final.write_videofile(output,fps=24, audio_codec="aac")