Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (69)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7396)

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

    


  • FFMPEG split video is not working properly

    12 juillet 2018, par user6250770

    I am trying to split video then into frames. I am passing starting time and ending time dynamically.

    for ex :

    ffmpeg -i /Users/mypc/Documents/Avatar/input.mp4 -ss 00:00:39.799 -t 00:00:42.039  /Users/mypc/Downloads/testing/output.mp4

    It should cut the video from 39th second to 42 second. Approximately 3 seconds. But, it’s splitting more than 3 seconds. I am stuck why it’s behaving like that.

    Am i missing something in my command or anything ?

    Please suggest

    Screen shot of my terminal attached :

    enter image description here