Recherche avancée

Médias (91)

Autres articles (14)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (2289)

  • Opencv VideoCapture : Error opening file

    28 février 2016, par Bhoke

    I am triyng to capture IP camera video stream by using OpenCV Java. But I got this warning :

    warning : Error opening file
    (../../modules/highgui/src/cap_ffmpeg_impl.hpp:537)

    I tried this solution.But it did not work.

    I am using openCV 2.4.11 on Windows 10.
    My settings are :

    I loaded the library : C :\opencv2411\opencv\build\java\opencv-2411.jar

    Java library path :
    -Djava.library.path="C :\opencv2411\opencv\build\java\x64"
    C :\opencv2411\opencv\build\x64\vc12\bin and
    C :\opencv2411\opencv\sources\3rdparty\ffmpeg are added to PATH

    package opencvApp;

    import org.opencv.core.Core;
    import org.opencv.core.Mat;
    import org.opencv.highgui.Highgui;
    import org.opencv.highgui.VideoCapture;

    public class OpencvApp{

       public static void main(String[] args) {
           System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
           VideoCapture cap=new VideoCapture();
           cap.set(Highgui.CV_CAP_PROP_FRAME_WIDTH,640);
           cap.set(Highgui.CV_CAP_PROP_FRAME_HEIGHT,360);
           cap.open("‪C:\\Users\\Berkan\\Videos\\vidm1453499924.mp4");
           //cap.open(0);
           Mat foto = new Mat();
           if (cap.isOpened())
           {
               System.out.println("Video is opened");
               cap.read(foto);
               Highgui.imwrite("C:\\Users\\Berkan\\Desktop\\ada\\foto.png", foto);
               cap.release();
           }

           else
           {
               System.out.println("Fail");
           }

       }

    }
  • Evolution #2100 : Nom de répertoire de lib externe

    30 mai 2011, par cedric -

    Il faudrait améliorer cela, en effet. Mais le stockage en base me parait peut possible. Il faut éviter que le dezippage de deux archives differentes ne tombe dans le même dossier. A ce titre le md5 devrait porter sur toute l’url du zip plutot que sur le basename, et on pourrait fournir une (...)

  • FFMpeg undefined reference to get_buffer

    14 juin 2012, par Kevin

    I'm trying to upgrade the FFMpeg source used with one of our projects but get_buffer has gone away. I'm not 100% sure on which method to replace it with. Here are two contexts in which its used, any help is appreciated.

    I look forward to hearing from you soon,

    Thanks,
    Kevin

       cur_offset = avio_tell(pb);
       if (!para->playctrl_info.read_end_flag && (0 == pkt->data_size)) {
           rev_byte = get_buffer(pb, pbuf, para->max_raw_size);
           if ((rev_byte > 0) && (cur_offset <= para->pFormatCtx->data_offset)) {
               try_count = 0;
               pkt->data_size = rev_byte;
               para->read_size.total_bytes += rev_byte;
               pkt->avpkt_newflag = 1;
               pkt->avpkt_isvalid = 1;

     do {
                   read_length = get_buffer(s->pb, data + 12, read_size);
                   if ((read_length <= 0) || (sync_flag == 1024)) {
                       if (read_length == AVERROR(EAGAIN)) {
                           continue;
                       } else {
                           FREE(data);
                           log_error("[%s]get data failed. ret=%d\n", __FUNCTION__, read_length);
                           return 0;
                       }
                   } else {
                       break;
                   }
               } while (retry_get_data < am_p->playctrl_info.read_max_retry_cnt);
               pkt = data;