Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (103)

  • 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 ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11419)

  • 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.

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


    


  • ffmpeg Windows stream desktop real time to web

    14 avril 2019, par ilapasle

    Hello i want to stream my Windows desktop in realtime with ffmpeg

    for capture desktop i use this code :

    ffmpeg.exe -f gdigrab -framerate 60 -i desktop output.mkv

    it’s work

    Now i not want to record video of my desktop but stream my desktop and view this in web browser.
    i need to export stream video in m3u8 file

    i have use this code :

    ffmpeg.exe -f gdigrab -framerate 60 -i desktop -c:v libx264 -crf 18 -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -hls_time 10 -hls_wrap 6 output.m3u8

    in my current dir i have 6 ts file and output.m3u8 but i can not open output.m3u8 file, the file is empty why ?

    i want to read this file in web browser like this code :

       



    <div>
    <video autoplay="true" controls="controls" width="640" height="480">
    <source src="output.m3u8" type="application/x-mpegURL"></source>
    Your browser does not support HTML5 streaming!
    </video>
    </div>

    thanks for advance for your help