Recherche avancée

Médias (91)

Autres articles (31)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • 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

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

  • avcodec/h264 : Be more strict on rejecting pps/sps changes

    6 février 2015, par Michael Niedermayer
    avcodec/h264 : Be more strict on rejecting pps/sps changes
    

    Fixes race condition
    Fixes : signal_sigsegv_1472ac3_468_cov_2915641226_CABACI3_Sony_B.jsv

    Found-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/h264_slice.c
  • avcodec/h264 : Be more strict on rejecting pps_id changes

    6 février 2015, par Michael Niedermayer
    avcodec/h264 : Be more strict on rejecting pps_id changes
    

    Fixes race condition
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/h264.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.

    &#xA;

    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

    &#xA;

    This code works for one folder

    &#xA;

    import os&#xA;import ffmpeg&#xA;import time&#xA;&#xA;path = &#x27;./musicTest/&#x27;&#xA;&#xA;&#xA;os.chdir(path)&#xA;aud_files = os.listdir()&#xA;count = 0&#xA;count2 = 0&#xA;&#xA;&#xA;    ##convert mp4 to wav&#xA;for file in aud_files:&#xA;    os.system(&#x27;ffmpeg -i "{}" -acodec pcm_s16le -ac 1 -ar 16000 output-{}.wav&#x27;.format(file, count))&#xA;    count = count &#x2B; 1&#xA;    os.remove(file)&#xA;

    &#xA;

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

    &#xA;

    import os&#xA;from pydub import AudioSegment&#xA;import ffmpeg&#xA;&#xA;path = "./musicTest/"&#xA;count = 0&#xA;&#xA;for i, (root, dirs, files) in enumerate(os.walk(path)):&#xA;   if root is not path:&#xA;      for file in files:&#xA;           print(file)&#xA;           os.system(&#x27;ffmpeg -i "{}" -acodec pcm_s16le -ac 1 -ar 16000 output-{}.wav&#x27;.format(file, count))&#xA;           count = count &#x2B; 1&#xA;

    &#xA;