Recherche avancée

Médias (91)

Autres articles (31)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5545)

  • Streaming Web cam real-time buffer [Toshiba Webcam] [video input] too full or near too full

    21 avril 2015, par esprittn

    I am trying to stream my webcam with audio from microphone of laptop(OS : windows 7 ) to nginx server (Compiled with rtmp module in CentOS 6.6 final) in same local network.
    From my laptop, I execute this command in CMD :

    ffmpeg -f dshow -i video="Toshiba Webcam" -f dshow -i audio="Microphone (Périphérique High D" -vf scale=1280:720 -vcodec libx264 -r 60.97 -acodec libvo_aacenc -ac 2 -ar 44100 -ab 128 -pix_fmt yuv420p -tune zerolatency -preset ultrafast -f flv "rtmp://172.16.40.162/dash/test"

    But I got this message :
    enter image description here

    And I had about retard delay of 23 second when I open http://localhost:8080 ( I made the indx.html file of nginx with JWPlayer)

    So my questions are :

    How can I improve the ffmpeg cmd to avoid the errors of buffer too full ?

    How eliminate or reduce the latency ?

    Thanks for your help.

  • FFMPEG AVCodec : How can I create a FULL copy of a decoder ?

    21 avril 2015, par damicolo

    I’m writing a video decoder (using FFMPEG/AVCodec) for a custom implementation of an mpeg4 video stream. The peculiarity of this video stream is that it could split into many "son" streams creating many P frames based on the same parent. The video stream I’m trying to decode is actually a sort of "video tree". Something like this :

    I <--P <--P <---------------------P <-------------- P <------------ P
              \ <--P <--P <--P        \ <--P <--P       \ <--P <--P

    I’ve already wrote a basic decoder which works fine when I decide to follow one path, the problem is when I try to follow more than one path in the video tree. At this point I need to "fork" my decoder to follow two different video streams. the split could occur not only after a key frame, but even after a P frame, so I need to duplicate the AVCodecContext (I use avcodec_copy_context) but it seems to create new decoder from a clean status.. it seems to ignore the previous video status, so the decoded P frames are "applied" to an empty video frame.
    Probably copying the context using avcodec_copy_context is not enough... Any suggestion ? How can I duplicate the context and the complete status of the decoder ?
    Or, is there any other way to decode my stream using references ?
    Thanks !

  • How can I create a FULL copy of a decoder ?

    28 avril 2015, par damicolo

    I’m writing a video decoder (using FFMPEG/AVCodec) for a custom implementation of an mpeg4 video stream. The peculiarity of this video stream is that it could split into many "son" streams creating many P frames based on the same parent. The video stream I’m trying to decode is actually a sort of "video tree". Something like this :

    I <--P <--P <---------------------P <-------------- P <------------ P
              \ <--P <--P <--P        \ <--P <--P       \ <--P <--P

    I’ve already wrote a basic decoder which works fine when I decide to follow one path, the problem is when I try to follow more than one path in the video tree. At this point I need to "fork" my decoder to follow two different video streams. the split could occur not only after a key frame, but even after a P frame, so I need to duplicate the AVCodecContext (I use avcodec_copy_context) but it seems to create new decoder from a clean status.. it seems to ignore the previous video status, so the decoded P frames are "applied" to an empty video frame.
    Probably copying the context using avcodec_copy_context is not enough... Any suggestion ? How can I duplicate the context and the complete status of the decoder ?
    Or, is there any other way to decode my stream using references ?
    Thanks !