Recherche avancée

Médias (91)

Autres articles (74)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (7933)

  • 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]'
            }
        ]
    }
}