Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (64)

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

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9840)

  • Why pixels color are different before and after encoding ? , How to set the same ?

    11 mars 2015, par mitli

    I want to change some pixels of some frames, I do this steps :

    1 - Extract frames from FLV video to PNG

    2 - Change frame pixels color ,For example I set color of Pixel(0,0) to ARGB (0,0,0,0)

    3 - Encode frames to a video by below code :

    -i Frame%04d.png -filter_complex "[0:0] scale= [wm]; [wm][1:0] overlay=1:1 [out]" -map "[out]" -map 0:a  -c:v libx264 -vprofile low outfile.flv

    But when I check "outfile.flv" frames , pixel 0,0 is 255,7,2,3 instead of 0,0,0,0 , why ? Please tell me that how can I get same pixels color after encode ?

  • JavaCV generate video from images Crashes

    2 décembre 2014, par Mohammad Khatri

    I am doing javacv with android since yesterday and getting error while generating video from image (IplImage) using FFmpegFrameRecorder or FrameRecorder while getting succes in imagefiltering using cvCvtColor and cvCvtColor.

    grayscale

    As shown in picture , Grayscale and flip filter is done by clicking second Button (Apply Effect).

    But when clicking (Make Video) it crashes.

    Here is my code for making video from image.

    String path = Environment.getExternalStorageDirectory().getPath() + "/test.mp4";
    Log.i("path", path);
    FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path, 256, 256);
    try {

       recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
       // recorder.setCodecID(avcodec.AV_CODEC_ID_H263);
       recorder.setFormat("mp4");
       recorder.setPixelFormat(avutil.AV_PIX_FMT_YUV420P);
       recorder.start();
       for (int i = 0; i < 10; i++) {

           recorder.record(image);
       }
       recorder.stop();
    } catch (Exception e) {

       e.printStackTrace();
    }

    image is of type IplImage

    getting error on recorder object creation.

    I am using 2 devices

    1)Asus zenfone 5

    Stacktrace

    Caused by: java.lang.NoClassDefFoundError: java.lang.ClassNotFoundException: org.bytedeco.javacpp.avcodec
               at org.bytedeco.javacpp.Loader.load(Loader.java:387)
               at org.bytedeco.javacpp.Loader.load(Loader.java:353)
               at org.bytedeco.javacpp.avformat.<clinit>(avformat.java:13)
               at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
               at android.os.AsyncTask$2.call(AsyncTask.java:288)
               at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:841)
        Caused by: java.lang.ClassNotFoundException: org.bytedeco.javacpp.avcodec
               at java.lang.Class.classForName(Native Method)
               at java.lang.Class.forName(Class.java:251)
               at org.bytedeco.javacpp.Loader.load(Loader.java:385)
                at org.bytedeco.javacpp.Loader.load(Loader.java:353)
                at org.bytedeco.javacpp.avformat.<clinit>(avformat.java:13)
                at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
                at android.os.AsyncTask$2.call(AsyncTask.java:288)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:841)
        Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.example.javacvex1-1/libjniavcodec.so" has unexpected e_machine: 40
               at java.lang.Runtime.loadLibrary(Runtime.java:364)
               at java.lang.System.loadLibrary(System.java:526)
               at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:535)
               at org.bytedeco.javacpp.Loader.load(Loader.java:410)
               at org.bytedeco.javacpp.Loader.load(Loader.java:353)
               at org.bytedeco.javacpp.avcodec.<clinit>(avcodec.java:12)
                at java.lang.Class.classForName(Native Method)
                at java.lang.Class.forName(Class.java:251)
                at org.bytedeco.javacpp.Loader.load(Loader.java:385)
                at org.bytedeco.javacpp.Loader.load(Loader.java:353)
                at org.bytedeco.javacpp.avformat.<clinit>(avformat.java:13)
                at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
                at android.os.AsyncTask$2.call(AsyncTask.java:288)
                at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                at java.lang.Thread.run(Thread.java:841)
        Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.example.javacvex1-1/libavcodec.so" has unexpected e_machine: 40
    </clinit></clinit></clinit></clinit></clinit></clinit></clinit>

    2) Htc me tablet

    (Stacktrace)

    Caused by: java.lang.ExceptionInInitializerError
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
               at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
               at android.os.AsyncTask$2.call(AsyncTask.java:264)
               at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                at java.lang.Thread.run(Thread.java:856)
        Caused by: java.lang.ExceptionInInitializerError
               at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
                at android.os.AsyncTask$2.call(AsyncTask.java:264)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                at java.lang.Thread.run(Thread.java:856)
        Caused by: java.lang.ExceptionInInitializerError
               at java.lang.Class.classForName(Native Method)
               at java.lang.Class.forName(Class.java:217)
               at org.bytedeco.javacpp.Loader.load(Loader.java:385)
               at org.bytedeco.javacpp.Loader.load(Loader.java:353)
               at org.bytedeco.javacpp.avformat.<clinit>(avformat.java:13)
                at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
                at android.os.AsyncTask$2.call(AsyncTask.java:264)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                at java.lang.Thread.run(Thread.java:856)
        Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]:    76 could not load needed library 'libavcodec.so' for 'libjniavcodec.so' (find_library[1199]:    76 'libavcodec.so' failed to load previously)
               at java.lang.Runtime.loadLibrary(Runtime.java:370)
               at java.lang.System.loadLibrary(System.java:535)
               at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:535)
               at org.bytedeco.javacpp.Loader.load(Loader.java:410)
               at org.bytedeco.javacpp.Loader.load(Loader.java:353)
               at org.bytedeco.javacpp.avcodec.<clinit>(avcodec.java:12)
                at java.lang.Class.classForName(Native Method)
                at java.lang.Class.forName(Class.java:217)
                at org.bytedeco.javacpp.Loader.load(Loader.java:385)
                at org.bytedeco.javacpp.Loader.load(Loader.java:353)
                at org.bytedeco.javacpp.avformat.<clinit>(avformat.java:13)
                at org.bytedeco.javacv.FFmpegFrameRecorder.<clinit>(FFmpegFrameRecorder.java:106)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.makeVideo(MainActivity.java:191)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:180)
                at com.example.javacvex1.MainActivity$asyncImageProcVideo.doInBackground(MainActivity.java:152)
                at android.os.AsyncTask$2.call(AsyncTask.java:264)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
                at java.util.concurrent.FutureTask.run(FutureTask.java:137)
                at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
                at java.lang.Thread.run(Thread.java:856)
        Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1936]:    76 could not load needed library 'libswresample.so' for 'libavcodec.so' (load_library[1091]: Library 'libswresample.so' not found)
    </clinit></clinit></clinit></clinit></clinit></clinit>

    At last I am putting my build.gradle with jniLibs on left side.

    enter image description here

    No luck with answers from other questions. Stuck since last 24 hours. :(

    Any help will be great.

  • fate : Split fate-pixdesc tests and dispatch them through Make

    29 juillet 2014, par Diego Biurrun
    fate : Split fate-pixdesc tests and dispatch them through Make
    

    This allows running all the tests individually and/or in parallel.

    • [DH] .gitignore
    • [DH] tests/Makefile
    • [DH] tests/fate-run.sh
    • [DH] tests/fate/filter-video.mak
    • [DH] tests/ref/fate/filter-pixdesc
    • [DH] tests/ref/fate/filter-pixdesc-abgr
    • [DH] tests/ref/fate/filter-pixdesc-argb
    • [DH] tests/ref/fate/filter-pixdesc-bgr24
    • [DH] tests/ref/fate/filter-pixdesc-bgr444be
    • [DH] tests/ref/fate/filter-pixdesc-bgr444le
    • [DH] tests/ref/fate/filter-pixdesc-bgr48be
    • [DH] tests/ref/fate/filter-pixdesc-bgr48le
    • [DH] tests/ref/fate/filter-pixdesc-bgr4_byte
    • [DH] tests/ref/fate/filter-pixdesc-bgr555be
    • [DH] tests/ref/fate/filter-pixdesc-bgr555le
    • [DH] tests/ref/fate/filter-pixdesc-bgr565be
    • [DH] tests/ref/fate/filter-pixdesc-bgr565le
    • [DH] tests/ref/fate/filter-pixdesc-bgr8
    • [DH] tests/ref/fate/filter-pixdesc-bgra
    • [DH] tests/ref/fate/filter-pixdesc-gbrp
    • [DH] tests/ref/fate/filter-pixdesc-gbrp10be
    • [DH] tests/ref/fate/filter-pixdesc-gbrp10le
    • [DH] tests/ref/fate/filter-pixdesc-gbrp9be
    • [DH] tests/ref/fate/filter-pixdesc-gbrp9le
    • [DH] tests/ref/fate/filter-pixdesc-gray
    • [DH] tests/ref/fate/filter-pixdesc-gray16be
    • [DH] tests/ref/fate/filter-pixdesc-gray16le
    • [DH] tests/ref/fate/filter-pixdesc-monob
    • [DH] tests/ref/fate/filter-pixdesc-monow
    • [DH] tests/ref/fate/filter-pixdesc-nv12
    • [DH] tests/ref/fate/filter-pixdesc-nv21
    • [DH] tests/ref/fate/filter-pixdesc-rgb24
    • [DH] tests/ref/fate/filter-pixdesc-rgb444be
    • [DH] tests/ref/fate/filter-pixdesc-rgb444le
    • [DH] tests/ref/fate/filter-pixdesc-rgb48be
    • [DH] tests/ref/fate/filter-pixdesc-rgb48le
    • [DH] tests/ref/fate/filter-pixdesc-rgb4_byte
    • [DH] tests/ref/fate/filter-pixdesc-rgb555be
    • [DH] tests/ref/fate/filter-pixdesc-rgb555le
    • [DH] tests/ref/fate/filter-pixdesc-rgb565be
    • [DH] tests/ref/fate/filter-pixdesc-rgb565le
    • [DH] tests/ref/fate/filter-pixdesc-rgb8
    • [DH] tests/ref/fate/filter-pixdesc-rgba
    • [DH] tests/ref/fate/filter-pixdesc-uyvy422
    • [DH] tests/ref/fate/filter-pixdesc-yuv410p
    • [DH] tests/ref/fate/filter-pixdesc-yuv411p
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuv420p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuv422p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuv440p
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuv444p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuva420p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuva422p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p10be
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p10le
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p16be
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p16le
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p9be
    • [DH] tests/ref/fate/filter-pixdesc-yuva444p9le
    • [DH] tests/ref/fate/filter-pixdesc-yuvj420p
    • [DH] tests/ref/fate/filter-pixdesc-yuvj422p
    • [DH] tests/ref/fate/filter-pixdesc-yuvj440p
    • [DH] tests/ref/fate/filter-pixdesc-yuvj444p
    • [DH] tests/ref/fate/filter-pixdesc-yuyv422
    • [DH] tests/ref/fate/filter-pixdesc-yvyu422