Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (39)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5525)

  • avfilter/vf_pseudocolor : add solar preset

    24 juillet 2021, par Paul B Mahol
    avfilter/vf_pseudocolor : add solar preset
    

    Useful to emphasize bandings in video.

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_pseudocolor.c
  • os.walk returns file names but when trying to modify the files it says directory not found

    13 avril 2021, par epWILL

    Im trying to walk through music folder and find all sub folders in it and convert the mp4's in all folders to wav. It prints out the correct file name but when it trys to convert it says directory not found.

    


    I would like to us os.walk to go through all folders instead going through 1 folder and changing the name in the code for the other folders

    


    This code works for one folder

    


    import os
import ffmpeg
import time

path = './musicTest/'


os.chdir(path)
aud_files = os.listdir()
count = 0
count2 = 0


    ##convert mp4 to wav
for file in aud_files:
    os.system('ffmpeg -i "{}" -acodec pcm_s16le -ac 1 -ar 16000 output-{}.wav'.format(file, count))
    count = count + 1
    os.remove(file)


    


    this is the code that gives me no directory found when using os.walk but it prints the file name

    


    import os
from pydub import AudioSegment
import ffmpeg

path = "./musicTest/"
count = 0

for i, (root, dirs, files) in enumerate(os.walk(path)):
   if root is not path:
      for file in files:
           print(file)
           os.system('ffmpeg -i "{}" -acodec pcm_s16le -ac 1 -ar 16000 output-{}.wav'.format(file, count))
           count = count + 1


    


  • doc/writing_filters : use a more portable sed command in the walk-through

    18 novembre 2014, par Clément Bœsch
    doc/writing_filters : use a more portable sed command in the walk-through
    
    • [DH] doc/writing_filters.txt