Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (94)

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

  • ffmpeg real-time buffer too full or near too full frame dropped, I even tried increasing rtbufsize. What could be going wrong ?

    21 mai 2024, par Ali Azlan

    We have a software where we capture the stream from the camera connected to the laptop or device using ffmpeg python,

    


                     ffmpeg
                .input(video, s='640x480', **self.args) //tried with rtbufsize=1000M (enough I suupose/ also sometimes the error does not occur even on default rtbufsize which is around 3MB)
                .output('pipe:', format='rawvideo', pix_fmt='rgb24')
                .overwrite_output()
                .run_async(pipe_stdout=True) 


    


    majority of the times when I start the software like the software is still initiating we receive the following error, I have also received this error when the software has initiated fully and completely and it is running from a long time like after 12hrs or more.

    


    


    Error : [dshow @ 000002248916e240] real-time buffer [Integrated
Camera] [video input] too full or near too full (80% of size : 3041280
[rtbufsize parameter]) ! frame dropped !
Last message repeated 1 times [dshow @ 000002248916e240] real-time buffer [Integrated Camera] [video input] too full or near too full
(101% of size : 3041280 [rtbufsize parameter]) ! frame dropped !

    


    


    What are the things we possibly might be doing wrong ?

    


    Edit 1 :

    


    below is the code to consume the frame captured in the video using ffmpeg

    


        def frame_reader(self):
    while True:
        in_bytes = self.process.stdout.read(self.width * self.height * 3)
        if not in_bytes:
            break
        try:
            in_frame = (
                np
                    .frombuffer(in_bytes, np.uint8)
                    .reshape([self.height, self.width, 3])
            )
            frame = cv2.resize(in_frame, (640, 480))
            frame = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)
        except Exception as e:
            logger.error(e, exc_info=True)
            in_frame = (
                np
                    .frombuffer(in_bytes, np.uint8)
            )

        if not self.q.empty():
            try:
                self.q.get_nowait()
            except queue.Empty:
                pass
        self.q.put(frame)


    


  • Real Time indoor streaming and music mixing

    9 novembre 2015, par Saneet

    I am working on this project where we are doing a live performance with about 6 musicians placed away from each other in a big space. The audience will be wearing their headphones and as they move around we want them to hear different kinds of effects in different areas of the place. For calculating the position of users we are using bluetooth beacons. We’re expecting around a 100 users and we can’t have a latency of more than 2 seconds.

    Is such kind of a setup possible ?

    The current way we’re thinking of implementing this is that we’ll divide the place into about 30 different sections.
    For the server we’ll take the input from all the musicians and mix a different stream for every section and stream it on a local WLAN using the RTP protocol.
    We’ll have Android and iOS apps that will locate the users using Bluetooth beacons and switch the live streams accordingly.

    Presonus Studio One music mixer - Can have multiple channels that can be output to devices. 30 channels.
    Virtual Audio Cable - Used to create virtual devices that will get the output from the channels. 30 devices.
    FFMpeg streaming - Used to create an RTP stream for each of the devices. 30 streams.

    Is this a good idea ? Are there other ways of doing this ?
    Any help will be appreciated.

  • Live streaming Rmtp node-media-server real server not creating video files but wont fail (OBS)

    3 octobre 2020, par Orgil

    I have made a live streaming server with node-media-server and it works well in local but when i put it on a real server (ubuntu, nginx) its just creating the folder but not creating video files and no errors given OBS the streaming sofware not failing. is it something to do with ffmpeg ? maybe needed packages didnt install or ? idk whats going on :D

    


    Cofig of node-media-server :

    


    rtmp_server: {
    rtmp: {
        port: 1935,
        chunk_size: 60000,
        gop_cache: false,
        ping: 60,
        ping_timeout: 30
    },
    http: {
        port: 8088,
        mediaroot: '/home/ubuntu/projects/amjilt_media/media',
        allow_origin: '*'
    },
    trans: {
        ffmpeg: '/usr/bin/ffmpeg',
        // ffmpeg: 'C:/Users/User/Desktop/ffmpeg/bin/ffmpeg.exe',
        tasks: [
            {
                app: 'live',
                hls: true,
                hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',
                dash: true,
                dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
            }
        ]
    }
}