Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (54)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (10805)

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

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