Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (29)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (3663)

  • LibAV dealing with 'moov' atom at the end of the file

    12 septembre 2018, par thepros

    I am trying to figure out how to use libav to receive streaming mp4 that contains moov atom at the end of a file. I found that, libav has problems decoding such files from https://d.tube. To identify this problem, I have used AtomicParsley to see the position of moovatom. Furthermore, I have tested with qt-faststart. The problematic files processed with qt-faststart have no problem with libav at all.

    I also looked into how browsers handle this kind of file as mentioned in how HTML5 video handle video with moov atom at the end. I tried download the first and the last chunk of a file to check first before streaming, but avformat_open_input() cannot open only the last chunk of the file. I think it needs some information from other atoms as well.

    So, I would like to ask if anyone knows that libav can somehow handle this problem.

  • Python, how use threading to run multiple FFmpeg processes in same time [duplicate]

    3 septembre 2022, par Marcin Kamienski

    I'm new to threading, I'm building icecast2 radio station which will restream existing stations in lower quality

    


    import ffmpeg, csv
from threading import Thread

def run(name, mount, source):
    icecast = "icecast://"+ICECAST2_USER+":"+ICECAST2_PASS+"@localhost:"+ICECAST2_PORT+"/"+mount
    stream = (
            ffmpeg
            .input(source)
            .output(
                icecast,
                audio_bitrate=BITRATE, sample_rate=SAMPLE_RATE, format=FORMAT, acodec=CODEC,
                reconnect="1", reconnect_streamed="1", reconnect_at_eof="1", reconnect_delay_max="120",
                ice_name=name, ice_genre=source,
                loglevel="verbose"
                )
            )
    return stream

with open('stations.csv', mode='r') as data:
    for station in csv.DictReader(data):
        stream = run(station['name'], station['mount'], station['url'])
        thread = Thread(target=stream.run())
        thread.start()


    


      

    1. In stations.csv are 2 stations, this code start only first station from the list, probably waiting for proccess to finish before it will start 2nd. When I change the way FFmpeg is running stream.run_async() then both stations are playing, but I'm losing control over them and stopping python didn't stop FFmpeg processes.
    2. 


    3. How can I redirect output of each thread separately in a way that gives me live view on what's going on right now ?
    4. 


    


    Edit
python threading blocks
answer question 1 but i'm still looking for solution on question 2

    


  • Revision 79003 : Pipeline "afficher_contenu_objet" : prendre en compte le cas où ...

    30 novembre 2013, par tcharlss@… — Log

    Pipeline "afficher_contenu_objet" : prendre en compte le cas où l’identifiant de l’objet n’est pas donné par $fluxargs ?id_objet ? mais par $fluxargs ?contexte ?id ?.
    Problème constaté sur la fiche d’une commande.
    ps : De plus, l’exemple du site http://programmer.spip.net/afficher_contenu_objet,434 récupère l’identifiant avec $fluxargs ?id ?