Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (66)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (8812)

  • How to retrieve FFMPEG (called from OpenCV) Python decoding error

    15 décembre 2020, par user9784065

    While trying to read a video stream form an IP camera using :

    



    stream = cv2.VideoCapture(src)
(grabbed, frame) = stream.read()


    



    The grabbed returns True while sometimes the frames are corrupted (probably due to high CPU load). An internal Opencv error like the following is showing on the terminal :

    



    [h264 @ 0x25e99400] error while decoding MB 87 29, bytestream -5


    



    Is there a way to catch this error ? Please note that I tried the obvious try:except with cv2.error etc. In such case of corrupted frame it would be preferable to restart the connection to the camera.

    


  • seekFunction in avio_alloc_context

    3 février 2018, par Javier Ramírez

    I am trying to make my video file restart from the beginning. The data of my file, are being obtained from a stream, through an istream object.

    This is my seekFunction :

    int64_t seekFunction(void *opaque,int64_t offset,int whence){
     istream *me = reinterpret_cast (opaque);
     if(key == 'R')me->seekg(0);
     return me->tellg();
    }

    But it does not work. In fact, I do not know how to use this function, and there is very little information. How should this function be used, so that my video restarts ?

    If only I use

    av_seek_frame(pFormatCtx,0,0,AVSEEK_FLAG_ANY);
    avcodec_flush_buffers(pFormatCtx);

    in my terminal it indicates :

    [avi @ 0x1963e80] Seek failed.

    What should I do to restart my video that I opened from a stream ?

  • How to stop ffmpeg remotely ?

    30 novembre 2016, par Adam

    I’m running ffmpeg on another machine for screen capture. I’d like to be able to stop it recording remotely. FFMPEG requires that q is pressed to stop encoding as it has to do some finalization to finish the file cleanly. I know I could kill it with kill/killall however this can lead to corrupt videos.

    Press [q] to stop encoding

    I can’t find anything on google specifically for this, but some there is suggestion that echoing into /proc//fd/0 will work.

    I’ve tried this but it does not stop ffmpeg. The q is however shown in the terminal in which ffmpeg is running.

    echo -n q > /proc/16837/fd/0

    So how can I send a character to another existing process in such a way it is as if it were typed locally ? Or is there another way of remotely stopping ffmpeg cleanly.