Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (65)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (6353)

  • Thread safety of FFmpeg when using av_lockmgr_register

    12 août 2013, par Stocastico

    My application uses FFmpeg to read video streams. So far, I ensured thread safety by defining my own global lock and looking for all the methods inside FFmpeg libraries which are not thread safe.
    This makes the code a bit messy, so while looking for better ideas I found this answer, but apparently I couldn't make use of the suggestions.
    I tried testing it in my own environment, but I always get critical heap error. Here's the test code

    class TestReader
    {
    public:
    TestReader( std::string sVid )
    {
      m_sVid = sVid;
      m_cVidPtr.reset( new VideoReader() );
    }

    ~TestReader()
    {}

    void operator() ()
    {
       readVideoThread();
    }

    private:
    int readVideoThread()
    {
      m_cVidPtr->init( m_sVid.c_str() );
      MPEGFrame::pointer cFramePtr;

      for ( int i=0; i< 500; i++ )
      {
        cFramePtr = m_cVidPtr->getNextFrame();
      }

      return 0;
    }
    boost::shared_ptr<videoreader> m_cVidPtr;
    std::string m_sVid;
    };

    /*****************************************************************************/
    int lockMgrCallback(void** cMutex, enum AVLockOp op)
    {
    if (nullptr == cMutex)
      return -1;

    switch(op)
    {
    case AV_LOCK_CREATE:
      {
        *cMutex = nullptr;
        boost::mutex* m = new boost::mutex();
        *cMutex = static_cast(m);
        break;
      }
    case AV_LOCK_OBTAIN:
      {
        boost::mutex* m =  static_cast(*cMutex);
        m->lock();
        break;
      }
    case AV_LOCK_RELEASE:
      {
        boost::mutex * m = static_cast(*cMutex);
        m->unlock();
        break;
      }
    case AV_LOCK_DESTROY:
      {
        boost::mutex * m = static_cast(*cMutex);
        delete m;
        break;
      }
    default:
      break;
    }
    return 0;
    }

    int testFFmpegMultiThread( std::string sVideo )
    {
    if ( ::av_lockmgr_register( &amp;lockMgrCallback ) )
    {
      std::cout &lt;&lt; "Could not initialize lock manager!" &lt;&lt; std::endl;
      return -1;
    }
    TestReader c1(sVideo);
    TestReader c2(sVideo);
    boost::thread t1( c1 );
    boost::thread t2( c2 );

    t1.join();
    t2.join();

    return 0;
    }
    </videoreader>

    The classes VideoReader and MPEGFrame are just wrappers and have always worked perfectly in single threaded scenarios, or in multi-threaded scenario managed using my own global lock.
    Am I missing something obvious ? Can anybody point me to some working code ? Thanks in advance

  • Revision 10d5e09c87 : Fix issues in 32bit PIC enabled build This patch was to fix issue 924 : https://

    27 janvier 2015, par Yunqing Wang

    Changed Paths :
     Modify /third_party/x86inc/x86inc.asm


     Modify /vp9/encoder/x86/vp9_variance_sse2.c



    Fix issues in 32bit PIC enabled build

    This patch was to fix issue 924 :
    https://code.google.com/p/webm/issues/detail?id=924

    The SECTION_RODATA macro was modified to support macho32 format.
    The sub-pixel functions were modified to pass in 2 more parameters
    to handle the global offsets for PIC build.

    Change-Id : I3bfcd336bcae945edf300bca4ab40376a2628cd4

  • FFMPEG create 30 fps webcam snapshot [on hold]

    3 octobre 2015, par MM PP

    I am trying to make 30 pictures per second of webcam using FFMPEG.

    I tried :

    ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -vf fps=30/1 images/$(date +\%Y\%m\%d\%H\%M\%s\%N).jpeg

    bu I am getting this error :

    Could not get frame filename number 2 from pattern ’images/2015100310171443856624641693705.jpeg’ (either set updatefirst or use a pattern like %03d within the filename pattern)

    av_interleaved_write_frame() : Invalid argument

    frame= 2 fps=0.0 q=3.4 Lsize=N/A time=00:00:00.06 bitrate=N/A
    video:73kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB

    muxing overhead : unknown

    Conversion failed !

    What can I do ?