Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (21)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (2127)

  • Opencv ffmpeg : Video capture ("Filename.avi") crashes on a non development machine - MAC 10.8.2

    8 mars 2013, par Jerry

    I was trying to deploy a simple Qt Opencv Application, the following is the code :

    Qt : .pro file :

    QT       += core gui
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    TARGET = opencvVideoTest
    TEMPLATE = app

    SOURCES += main.cpp\
       mainwindow.cpp

    HEADERS  += mainwindow.h

    FORMS    += mainwindow.ui

    INCLUDEPATH = -I/usr/local/include

    LIBS += -lm -lopencv_core -lopencv_highgui -lopencv_imgproc

    Mainwindow.cpp :

    #include "mainwindow.h"
    #include "ui_mainwindow.h"
    #include <opencv2></opencv2>core/core.hpp>
    #include <opencv></opencv>cv.h>
    #include <opencv2></opencv2>highgui/highgui.hpp>
    #include <opencv2></opencv2>imgproc/imgproc.hpp>


    MainWindow::MainWindow(QWidget *parent) :
       QMainWindow(parent),
       ui(new Ui::MainWindow)
    {
       ui->setupUi(this);

       cv::Mat img;

      cv::VideoCapture cap("BMWM5.avi");

      if(cap.isOpened()){

      for(;;){
          cap.read(img);
          cv::resize(img,img,cv::Size(604,480));
          cv::imshow("Opencv", img);
          cv::waitKey(33);
      }
      }
      else{

      }


    }

    MainWindow::~MainWindow()
    {
       delete ui;
    }

    The above snippet works fine on the development machine, which by the has Opencv 2.4.3, ffmpeg 1.1.2 & Qt 5.0.1. This what happens when I try to deploy, running the otool before using macdeployqt and the output :

    >   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
    version 169.3.0)   /usr/local/opt/opencv/lib/libopencv_core.2.4.3.dylib
    (compatibility version 2.4.0, current version 2.4.3)
    >  /usr/local/opt/opencv/lib/libopencv_highgui.2.4.3.dylib
    (compatibility version 2.4.0, current version 2.4.3)
    >   /usr/local/opt/opencv/lib/libopencv_imgproc.2.4.3.dylib
      (compatibility version 2.4.0, current version 2.4.3)
    >   /usr/local/Qt5.0.1/5.0.1/clang_64/lib/QtWidgets.framework/Versions/5/QtWidgets
     (compatibility version 5.0.0, current version 5.0.1)
    >   /usr/local/Qt5.0.1/5.0.1/clang_64/lib/QtGui.framework/Versions/5/QtGui
     (compatibility version 5.0.0, current version 5.0.1)
    >   /usr/local/Qt5.0.1/5.0.1/clang_64/lib/QtCore.framework/Versions/5/QtCore
     (compatibility version 5.0.0, current version 5.0.1)
    >   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
     (compatibility version 1.0.0, current version 1.0.0)
    >   /System/Library/Frameworks/AGL.framework/Versions/A/AGL
     (compatibility version 1.0.0, current version 1.0.0)
    >   /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
     version 56.0.0)

    otool after macdeployqt output :

    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
       @executable_path/../Frameworks/libopencv_core.2.4.3.dylib (compatibility version 2.4.0, current version 2.4.3)
     @executable_path/../Frameworks/libopencv_highgui.2.4.3.dylib (compatibility version 2.4.0, current version 2.4.3)
     @executable_path/../Frameworks/libopencv_imgproc.2.4.3.dylib (compatibility version 2.4.0, current version 2.4.3)
     @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets

    (compatibility version 5.0.0, current version 5.0.1)
    @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui (compatibility version 5.0.0, current version 5.0.1)
    @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore (compatibility version 5.0.0, current version 5.0.1)
    /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
    /System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 56.0.0)

    But after deploying it, when I try and run the app on the user's machine it crashes, no error reported either, the exact samething used to happen in Windows but when I copied the opencv_ffmpeg.dll into the exe folder it worked fine. I tried to use the same logic here and failed, then I manually addded each lib files of all the ffmpeg and its dependency into the project folder and still failed. Any other solution, please help ? I'm a newbie to mac dpeloyment. Am i missing or overlooked something ?

  • Revert "build : disable iconv by default."

    9 mars 2013, par Carl Eugen Hoyos

    Revert "build : disable iconv by default."

  • Revision cb7acbc0e1 : Merge "Add vp9_idct4_1d_sse2" into experimental

    9 mars 2013, par Yunqing Wang

    Merge "Add vp9_idct4_1d_sse2" into experimental