Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (6580)

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

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

    


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