Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (103)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13895)

  • TypeError : 'function' object is not subscriptable Python with ffmpeg

    25 novembre 2019, par S1mple
    clips = []

    def clipFinder(CurrentDir, fileType):
       clips.clear()
       for r,d,f in os.walk(CurrentDir):
           for file in f:
               if fileType in file:
                   clips.append(r+file)
       random.shuffle(clips)

    def removeVods(r):
       for f in clips:
           if 'vod' in clips:
               os.remove(r+f)

    def clipString():
       string = 'intermediate'
       clipList = []
       clipNum = 1
       for f in clips:
           clipList.append(string+str(clipNum)+'.ts'+'|')
           clipNum+=1
       string1 = ''.join(clipList)
       string2 = string1[0:len(string1)-1]
       return string2

    def concatFiles():
       clipFinder('***', '.mp4')
       removeVods('***')
       i = 0
       intermediates = []
       for f in clips:
           subprocess.call(['***', '-i', clips[i], '-c', 'copy', '-bsf:v', 'h264_mp4toannexb', '-f', 'mpegts', 'intermediate'+ str(i+1) +'.ts'])
           i += 1
       clipsLength = len(clips)
       subprocess.call['***', '-i', '"concat:' + clipString() + '"', '-c', 'copy', '-bsf:a
       aac_adtstoasc', 'output.mp4']

    I am trying to make a clip concatenator, but the last subprocess call won’t run and gives me the error shown in the question.

    Problematic code :

    subprocess.call(['***', '-i', '"concat:' + clipString() + '"', '-c', 'copy', '-bsf:a aac_adtstoasc', 'output.mp4'])

    all places with * were paths such as :
    /davidscomputer/bin/ffmpeg/

  • Convert audo from 2.0 to 5.1 for TVHeadend IPTV from m3ub stream using ffmpeg pipe

    17 mai 2020, par Brad T

    Right now, I have TVHeadend successfully setup to stream an m3ub as an IPTV channel with :

    



    pipe:///usr/bin/ffmpeg -i https://STREAM.m3u8 -c copy -f mpegts pipe:1

    



    but I want to convert the audio from 2.0 to 5.1 where the left and right audio is just copied to all the 5.1 channels. For example, instead of only hearing voice dialog on the center channel I want to hear it on all channels. If you're wondering why, this 5.1 system isn't really for making a surround sound experience so much as it is to bring the voice "closer" to the person.

    



    I'm using a raspberry pi 4 with raspian buster lite.

    


  • Anomalie #4133 (Nouveau) : detecter_liens_blocs ne sait pas ignorer les attributs comme data-xyz

    1er mai 2018, par cam.lafit -

    Soit dans une zone de texte le lien suivant :

     www.spip.net

    Il sera encapsulé dans un paragraphe car le div sera traité par detecter_liens_blocs et donc considéré comme à encapsuler dans un paragraphe.

    detecter_liens_blocs devrait ignorer le contenu de la balise et ne considérer que le contenu textuel du lien.