Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (84)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (10843)

  • Debugging in Visual Studio without Pdb files (C++ Access Voilation)

    2 décembre 2016, par Prakash M

    I built OpenCV binaries(.dll) using Cmake & visual studio which generated .pdb file which helped me to find the issue in code (Partially !)

    How this Crash is being caused. .
    I’m using a software with which we can set internet download speed limit (transfer rate) for any particular program.

    Now if i connect IP camera to the code below, i noticed that my app needs around 100Kb/s of internet usage (transfer rate) - only then i can watch live stream seamlessly.
    Lets say i cut down (set) my application internet usage to 10Kb/s [This is the reason behind crash]
    in this case, i should be able to see a new frame once in 4+ seconds.

    I’m getting access violation error probably because (cap>>img;) cap is trying to reach a location in ram & get the frame but there is no frame YET because its still being downloaded due to low internet speed.
    Clearly the pointer is reaching some location in ram to grab a frame which is not yet present.

    Some interesting behaviour . . .

    Void OpenCamera()
    {
       VideoCapture cap("http://192.168.1.3:8080/video?x.xmjpeg");
       Mat img;
       while(true)
       {
         try
         {
           if(cap.isOpened()) //also tried grab + retrieve, crashes at grab
           cap>>img; //code crashes here
         }
         catch(...)
         {
           cout<<"Camera Disconnected"<code>

    If i use the entire code in same class (within same header file), there is no problem at all(new frame is displayed after 4+ seconds without crashing the program) but if i put the code into a separate class(different header file), then call the function to open camera from a class object, then it crashes if internet speed is cut down.
    weird behavior - if i debug step by step, it never crashes !

    when i build opencv library with ffmpeg , i get .pdb file only for opencv (opencv_world310.pdb)- so no issue debugging using call stack
    but i do not get pdb for ffmpeg (because Opencv_ffmpeg.dll is precompiled and that is where its crashing)

    hence its getting hard to debug, building ffmpeg doesn’t produce pdb file cause its built using MSYS
    so is it possible to debug with what we have ?

    I’m including snapshot from visual studio debugging,
    some of the variables that will help in understanding :

    typedef int (*CvGrabFrame_Plugin)( void* capture_handle );      [cap_ffmpeg_api.cpp]
    protected: void* ffmpegCapture;                                 [cap_ffmpeg.cpp]
    static CvGrabFrame_Plugin icvGrabFrame_FFMPEG_p = 0;            [cap_ffmpeg.cpp]

    enter image description here

    Exception thrown at 0x0A0AF6F0 (opencv_ffmpeg310.dll) in Sample.exe :
    0xC0000005 : Access violation reading location 0x00000020. If there is
    a handler for this exception, the program may be safely continued.

    in source code i included below line & compiled & used it in project - didn’t work, crashed again !
    if(ffmpegCapture) - null pointer check

    can we make some changes at line 214 in [cap_ffmpeg.cpp] to avoid crash ?
    other header files are just one folder up.

    Update : I noticed that program crashes immediately when i limit internet consumption speed. I’m using C++/Cli(winforms, target dot net Framework = 4.6), i have CameraClass (in separate header file) & main function in (separate header file)
    Main function has below code

    CameraClass ^CC = gcnew CameraClass();
    CC->OpenCamera();

    Some clash between .net memory handling & C++ memory handling ?

  • How to compile commands in android studio ?

    23 août 2020, par Junaid Khan

    I have added ffmpeg dependency in my project

    


    implementation 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'


    


    When I run the prject I am getting error.

    


    java.io.IOException: Cannot run program "/data/user/0/com.muhana.videomerger/files/ffmpeg": error=2, 
No such file or directory


    


    The instructions for using ffmpeg are :

    


    Set environment variable

    


    export ANDROID_NDK=Android NDK Base Path

    


    Run following commands to compile ffmpeg

    


    sudo apt-get —quiet —yes install build-essential git autoconf libtool pkg-config gperf gettext yasm python-lxml

    


    ./init_update_libs.sh

    


    ./android_build.sh

    


    To update submodules and libraries you can use ./init_update_libs.sh command
Find the executable binary in build directory.
If you want to use FONTCONFIG then you need to specify your custom fontconfig config file (e.g - "FONTCONFIG_FILE=/sdcard/fonts.conf ./ffmpeg —version", where /sdcard/fonts.conf is location of your FONTCONFIG configuration file)

    


    I need help for executing these commands. How to run these commands properly ?

    


  • How to add dagger in my android studio project

    14 janvier 2016, par Vijay

    I am trying to compress the video using ffmpeg in android. I found one good example and I downloaded the project from https://github.com/WritingMinds/ffmpeg-android-java. It’s working fine. When I try to add that ffmpeg library in my project I am facing error. After make many changes I resolved many issues. But I can not clear the following issue :

    Error:(34, 13) Failed to resolve: com.squareup.dagger:dagger-compiler:1.2.2

    Error:(35, 13) Failed to resolve: com.squareup.dagger:dagger:1.2.2

    I decided to download the dagger.jar and dagger-compiler.jar. I download the jar and I added into my project. But I am facing another error.

    Error:Execution failed for task ':ContainerCentralen:compileDebugJava'.
    > java.lang.NoClassDefFoundError: javax/inject/Scope

    I can not solve this two issues. Please let me any idea to resolve this issue.