Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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" (...)

Sur d’autres sites (21004)

  • Tainted canvas may not be exported. When trying to send it via ajax to php file

    6 décembre 2015, par romikette F

    I am trying to capture an image from a local video so I can make a thumb out of it. I am trying to avoid using video conversions (like ffmpeg) to save server resources and keep my videos in theyr original format.
    I’we been reading about tainted canvases and I understand I am trying to breach the browsers security protocols. But this article https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas said that I could pull an image if it were from a different source (something something).
    So far I have this :

    <video src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" controls="controls"></video><br />
    <button>Capture</button> <br /><br />
    <div></div>
    <canvas></canvas> <br /><br />

    and :

    function capture(){
    var canvas = document.getElementById('mYcanvas');
    var video = document.getElementById('video');
    canvas.getContext('2d').drawImage(video, 0, 0, video.videoWidth, video.videoHeight);

    function getBase64() {
    var img = document.getElementById("mYcanvas");
    var canvas = document.createElement("canvas");
    canvas.width = img.width;
    canvas.height = img.width;
    var ctx = canvas.getContext("2d");
    ctx.drawImage(img, 0, 0);
    var dataURL = canvas.toDataURL("image/png");
    alert(dataURL.replace(/^data:image\/(png|jpg);base64,/, ""));

    $.ajax({
       url: 'submit_image.php',
       type: 'POST',
       data: {
           imgdata: dataURL
       },
       success: function (res) {
               document.getElementById("response").innerHTML = res;
           }
    });
    }
    getBase64();

    }

    Never mind the php. It dose not receive anything.

  • How to install flutter_ffmpeg in flutter and create videos videos filter ?

    6 juillet 2023, par Manish Kumar

    When I run my Flutter Application after installing flutter_ffmpeg , its give me error like that.

    &#xA;

    &#xA;

    &#xA;

    FAILURE : Build failed with an exception.

    &#xA;

      &#xA;
    • What went wrong :&#xA;Execution failed for task ':app:mergeDebugNativeLibs'.
    • &#xA;

    &#xA;

    &#xA;

    A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction&#xA;2 files found with path 'lib/arm64-v8a/libavdevice.so' from inputs :&#xA;- C :\Users\ms471.gradle\caches\transforms-3\7451ee8c12b5ab807d22ca1bb7285419\transformed\jetified-mobile-ffmpeg-https-4.4\jni\arm64-v8a\libavdevice.so&#xA;- C :\Users\ms471.gradle\caches\transforms-3\5693c1c30f39d5c80a43f75ccb4d5110\transformed\jetified-ffmpeg-kit-https-5.1.LTS\jni\arm64-v8a\libavdevice.so&#xA;If you are using jniLibs and CMake IMPORTED targets, see&#xA;https://developer.android.com/r/tools/jniLibs-vs-imported-targets

    &#xA;

    &#xA;

      &#xA;
    • Try :
    • &#xA;

    &#xA;

    &#xA;

    Run with —stacktrace option to get the stack trace.&#xA;Run with —info or —debug option to get more log output.&#xA;Run with —scan to get full insights.

    &#xA;

    &#xA;

    &#xA;

    BUILD FAILED in 1m 16s&#xA;Exception : Gradle task assembleDebug failed with exit code 1

    &#xA;

    I don't know what is the error, can someone help !!

    &#xA;

    I am trying to build videos filter or effects in flutter.

    &#xA;

  • Compile the GPU version of FFMPEG on OpenCV

    22 juin 2018, par Dyex719

    When I try to use GPU
    FFMPEG on opencv by using a command like :

    VideoCapture cap("rtsp link");

    for(;;)
    {
    mat frame;
    cap>>frame;
    }

    I don’t see any output on nvidia-smi despite compiling the GPU version of FFMPEG.

    I am trying to get FFMPEG to use GPU to improve the speed of my program. I got FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git and followed the steps here https://developer.nvidia.com/ffmpeg to get it working.

    I have validated the results using nvidia-smi dmon -i 0 and have seen that dec% increases when I run the command ffmpeg -c:v h264_cuvid -i test_video.mp4 test_output.mkv.

    I then compiled Opencv to use the GPU enabled FFMPEG, I check this by running getBuildInformation from opencv :

    Video I/O:
    DC1394 1.x: NO
    DC1394 2.x: YES (ver 2.2.4)
    FFMPEG: YES
    codec: YES (ver 58.20.103)
    format: YES (ver 58.17.100)
    util: YES (ver 56.18.102)
    swscale: YES (ver 5.2.100)
    resample: NO
    gentoo-style: YES
    GStreamer: NO
    OpenNI: NO
    OpenNI PrimeSensor Modules: NO
    OpenNI2: NO
    PvAPI: NO
    GigEVisionSDK: NO
    UniCap: NO
    UniCap ucil: NO
    V4L/V4L2: NO/YES
    XIMEA: NO
    Xine: NO
    gPhoto2: NO

    I cross-verify that I’m using the same ffmpeg (by checking the version numbers) :

    ffmpeg version N-91273-g67747c8 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
     configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 20.101 / 58. 20.101
     libavformat    58. 17.100 / 58. 17.100
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 25.100 /  7. 25.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100

    Please advise me on how I should compile OpenCV to use the GPU version of FFMPEG. Thank you !