Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (61)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (13608)

  • lavc/mjpegdec : replace number with marker name

    27 juin 2019, par Zhong Li
    lavc/mjpegdec : replace number with marker name
    

    Make it easier to read.

    Signed-off-by : Zhong Li <zhong.li@intel.com>

    • [DH] libavcodec/mjpegdec.c
  • avcodec/hevcdec : Replace number with enum

    27 mars 2023, par Fei Wang
    avcodec/hevcdec : Replace number with enum
    

    Keep same style with IS_IDR()/IS_BLA().

    Signed-off-by : Fei Wang <fei.w.wang@intel.com>

    • [DH] libavcodec/hevcdec.h
  • Cross Fade Arbitrary Number of Videos ffmpeg Efficiently

    15 avril 2022, par jippyjoe4

    I have a series of videos named 'cut_xxx.mp4' where xxx represents a number 000 through 999. I want to do a cross fade on an arbitrary number of them to create a compilation, and each fade should last 4 seconds long. Currently, I'm doing this with Python, but I suspect this is not the most efficient way :

    &#xA;

    import subprocess    &#xA;def get_length(filename):&#xA;  result = subprocess.run(["ffprobe", "-v", "error", "-show_entries",&#xA;                          "format=duration", "-of",&#xA;                          "default=noprint_wrappers=1:nokey=1", filename],&#xA;    stdout=subprocess.PIPE,&#xA;    stderr=subprocess.STDOUT)&#xA;  return float(result.stdout)&#xA;&#xA;CROSS_FADE_DURATION = 4&#xA;&#xA;basevideo = &#x27;cut_000.mp4&#x27;&#xA;for ii in range(total_videos - 1):&#xA;  fade_start = math.floor(get_length(basevideo) - CROSS_FADE_DURATION) # new one&#xA;  outfile = f&#x27;cross_fade_{ii}.mp4&#x27;&#xA;  append_video = f&#x27;cut_{str(ii&#x2B;1).zfill(3)}.mp4&#x27;&#xA;  cfcmd = f&#x27;ffmpeg -y -i {basevideo} -i {append_video} -filter_complex "xfade=offset={fade_start}:duration={CROSS_FADE_DURATION}" -an {outfile}&#x27;&#xA;  basevideo = outfile&#xA;  subprocess.call(cfcmd)&#xA;  print(fade_start)&#xA;

    &#xA;

    I specifically remove the audio with -an because I'll add an audio track later. The issue I see here is that I'm compressing the video over and over again with each individual video file I add to the compilation because I'm only adding one video at a time and then re-encoding.

    &#xA;

    There should be a way to cross fade multiple videos together into a compilation, but I'm not sure what this would look like or how I would get it to work for an arbitrary number of video files of different durations. Any idea on what that monolithic ffmppeg command would look like or how I could automatically generate it given a list of videos and their durations ?

    &#xA;