Recherche avancée

Médias (91)

Autres articles (50)

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

  • ffmpeg multiple overlays at different times

    14 octobre 2017, par TheOctagon

    I have written a bash script which cycles through various RTMP live streams and switches every thirty seconds.
    I have a PNG sequence which plays at the start of the video (blindRev-%d.png). A blind is pulled up, revealing the stream.

    28 seconds later, I would like it to come back down to cover the stream so that when the next stream is loaded, it retracts to reveal the next stream in sequence once again (blind-%d.png). I’ve tried using itsoffset to accomplish this. No audio is required.

    However, only the first PNG sequence is played, the second never seems to happen.

    The command I am using is :

    ffmpeg -i rtmp://localhost/live/$stream -i blind/blindRev-%d.png -itsoffset 28 -i blind/blind-%d.png -filter_complex overlay -an -f flv rtmp://localhost/live/All

    What am I doing incorrectly ?
    Many thanks.

  • FFMPEG, last message repeated 1 times

    30 octobre 2023, par byeolki
    def play_queue(self, id:str, title:str):
    music_data = Music_Data(self.inter.guild)
    FFMPEG_OPTIONS = {'options': '-vn'}
    ydl_opts = {'format': 'bestaudio'}
    if not music_data.check_guild() or not music_data.is_playing():
        with yt_dlp.YoutubeDL(ydl_opts) as ydl:
            info = ydl.extract_info(f'https://www.youtube.com/watch?v={id}', download=False)
        URL = info['url']
        music_data.start_music(id, title, self.inter, self.voice_channel)
        self.voice_client.play(source=nextcord.FFmpegPCMAudio(URL, **FFMPEG_OPTIONS), after=lambda e: asyncio.run_coroutine_threadsafe(self.next_play(), self.client.loop))
        return True
    else:
        music_data.add_queue(id, title, self.inter)
        return False


    


    It's My source
my module : yt-dlp

    


    It originally worked well.
How fix ?

    


  • Setting HLS segment times

    16 février 2016, par James Townsend

    I am passing a processed video from openCV to ffmpeg via a pipe here is the code

    ./OpenCV & \
    tail -n +0 -f out.avi  | ffmpeg -i pipe:0  -hls_time 1 -hls_list_size 0 -hls_wrap 10 -hls_segment_filename '%03d.ts' stream.m3u8

    My issue is the output .ts files are not in a uniformed duration they change from file to file.

    These are mostly long say 60 seconds. This means the connecting client has to wait for the first stream to finish before the playlist file (.m3u8) file is created. Therefor in this example they are 60 seconds or so behind live video and if the next .ts file is larger the streaming stops until this is finished. If the client tries to play before the next .ts file is created they are played the first .ts file.

    The frame rate from openCV is 1 frame per second.

    tail changes the output file of openCV called (out.avi) to a stdout.

    Any help would be great.