Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (57)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6224)

  • Add a side data type for audio service type.

    14 novembre 2014, par Anton Khirnov
    Add a side data type for audio service type.
    

    Currently, audio service type is a field in AVCodecContext. However,
    side data is more appropriate for this kind of information.

    • [DBH] doc/APIchanges
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/utils.c
    • [DBH] libavcodec/version.h
    • [DBH] libavfilter/af_ashowinfo.c
    • [DBH] libavutil/frame.h
    • [DBH] libavutil/version.h
  • Is it possible to use something other than a circular buffer when using ffmpeg to pass RTSP video to a WebRTC client ?

    3 novembre 2024, par Doctico

    I have a Node application that uses ffmpeg to receive the RTSP stream of an ip camera (h264), and then pass send it using node-webrtc to a remote client. However, in my current implementation, ffmpeg only outputs 8192 byte chunks, which must be buffered in order to create the full frame that my current node-webrtc flow expects. This circular buffer results in a 1-2 second delay when the client is viewing the video. Is there any way to pass the stream through node-webrtc as the chunks come in, or at least extract complete frames so that circular buffering is not necessary ?

    


    So far, I have tried this, which works but has a 1-2 second delay, and even higher delay with higher resolution cameras :

    


        async startStream() {

        const rtspUrl = 'rtsp://my-rtsp-url';

        const videoSource = new wrtc.nonstandard.RTCVideoSource();
        const videoTrack = videoSource.createTrack();

        const width = 640;
        const height = 480;
        const frameSize = width * height * 1.5; // YUV420p format

        //circular buffer:
        let frameBuffer = Buffer.alloc(0);
        const frameStream = new Writable({
            write: (chunk, encoding, callback) => {
                frameBuffer = Buffer.concat([frameBuffer, chunk]);

                while (frameBuffer.length >= frameSize) {
                    const frame = frameBuffer.slice(0, frameSize);
                    frameBuffer = frameBuffer.slice(frameSize);

                    videoSource.onFrame({
                        width: width,
                        height: height,
                        data: new Uint8ClampedArray(frame)
                    });
                }
                callback();
            }
        });

        const ffmpegProcess = ffmpeg(rtspUrl)
            .inputOptions([
                `-fflags nobuffer`,
                `-flags low_delay`,
                `-rtsp_transport tcp`,
                `-strict experimental`,
                `-analyzeduration 0`,
                `-threads 0`,
                `-hwaccel auto`
            ])
            .outputOptions([
                `-f rawvideo`,
                `-c:v rawvideo`,
                '-b:v', streamId === 1 ? '2000k' : '1000k',
                '-bf', '0',
                `-s ${width}x${height}`,
                `-pix_fmt yuv420p`,
                `-tune zerolatency`
            ])
            .on('start', (cmd) => console.log('FFmpeg started:', cmd))
            .on('error', error => {
                console.error('FFmpeg error:', error);
                this.stopStream();
            })
            .on('end', () => {
                console.log('FFmpeg stream ended');
                this.stopStream();
            })

        ffmpegProcess
            .pipe(frameStream);

        return videoTrack;
    }


    


  • Start .bat after files get download in torrent client

    16 mai 2018, par AniEncoder

    I tried to start a .bat file which is located in a particular folder but it doesn’t start even if I write the file location.

    The files get downloaded

    C:\Users\Dhrubo\Desktop\torrent.bat

    TorrentScreenshot