Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (61)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Record audio data to an existing media file using FFMPEG API

    3 février 2021, par bbdd

    My task is to record the received audio data in a media file. I have no problem with this, everything works fine. But, when closing the audio file, I will no longer be able to re-open it and write the audio data to the end of the audio file. How do I solve this problem ? And in general, is it possible to write new data to the end of an existing media file ?

    


    This is a piece of code where I record the trailer and close the media file :

    


    // Writing the stream trailer to an output
// media file and free the file private data.
av_write_trailer(p_oFrmCtx);
avformat_close_input(&p_oFrmCtx);



    


  • two data streams into one ffmpeg stream

    1er juin 2022, par user5285766

    I have two data streams, each representing a rabbitmq subscriber. Inside audio and video streams, data is in the form of bytes. Something like :

    


    vp = VideoProcess()
ap = AudioProcess()


async def receive_video_data(message: IncomingMessage):
    async with message.process():
        await vp.process(frame=message.body)


async def receive_audio_data(message: IncomingMessage):
    async with message.process():
        await ap.process(packet=message.body)




    


    I wanted to take this data from each stream and put it in the ffmpeg stream, which would open the port on the service. So that I can broadcast this data to other subsystems in the form of an ffmpeg stream (for example, to broadcast audio and video to my html page). Can you tell me what are the options for this task ?

    


    process = sp.Popen(
    shlex.split(
        f"ffmpeg -i ...."
    ))



    


  • FFMPEG : How input data is fed to the decoders

    12 février 2014, par sam

    In FFMPEG, there are many video decoders integrated. One of them is H264. Now, in FFMPEG, which part of the decoder is taking care of providing the decoder with necessary input data to the decoder, so that it can decode it ?

    I have gone through most of the code of the decoder, but am not able to find where fread of anything is happening.

    All i got to know is there is a file called file.c in libavutils directory of the FFMPEG source. In this file there is a read() function used. But, how is it that the h.264 decoder conveying this to the ffmpeg to send some data to decode.

    Any pointers regarding the same will be really helpful to me. Please do provide your valuable suggestions.

    Thanks in advance.