Recherche avancée

Médias (91)

Autres articles (62)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (10707)

  • I am calling ffmpeg from Python. Getting thread.error and repeated attempts to connect to audio stream

    16 février 2016, par user2192778

    I have some code which calls ffmpeg at a particular time of the day to record a web stream. First, the function that calls ffmpeg...

    def record_stream():
       ffmpegEXE = "C:/pathtoffmpeg/ffmpeg.exe"
       subprocess.call([ffmpegEXE, '-i', http://streamurl.mp3, output.mp3], shell=True)

    Then, the function which schedules record_stream according to the clock...

    def sched ():
       i = 0
       while True:

       x = datetime.today()
       y=x.replace(day=x.day+1, hour=i, minute= start_minute, second=0, microsecond=0)
       delta_t=y-x
       secs=delta_t.seconds+1
       t = Timer(secs,stream_record)
       t.start()
       i = (i + 1) % 24

    When I launch the .py program an error reads :

    Traceback <most recent="recent" call="call" last="last">
    ... line X, in <module>
    sched ()
    ... line Y, in sched ()
    t.start()
    ... line Z, in start
    _start_new_thread(self.__bootstrap,())
    thread.error: can't start new thread
    </module></most>

    Despite the error, the program runs.

    When it runs, however, ffmpeg initializes over and over again. It connects to the stream, then connects to the stream again (this time saying "output.mp3 already exists. Overwrite ? Y/N" It will do this ten or so times until it finally just records the stream in a normal way.

    How do I fix these errors ? How do I stop this issue with ffmpeg connecting repeatedly ?

  • vaapi_encode_h264 : Move options and common structures into context

    23 août 2018, par Mark Thompson
    vaapi_encode_h264 : Move options and common structures into context
    

    This will make it easier to support options in common between different
    encoders. It also cleans up some of the field naming.

    • [DH] libavcodec/vaapi_encode_h264.c
  • Revision 1cda057261 : Refactor common code into a function Change-Id : Id156af5662ebe6fbe1cab636564f5f

    15 avril 2014, par Yaowu Xu

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Refactor common code into a function

    Change-Id : Id156af5662ebe6fbe1cab636564f5f4bedb85ab0