Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (66)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (8289)

  • How to create effect same video with FFmpeg

    29 juin 2023, par Sang Vo

    How to make a video from an image with a drag effect like this one in FFmpeg :

    


    https://www.youtube.com/watch?v=zC6qbpe3FyE&ab_channel=CloudMood


    


    I tried to zoom in zoom out effects but not the same with video

    


     ffmpeg -loop 1 -i photo.jpg -vf "zoompan=z='min(zoom+0.001,1.2)':x='if(gte(zoom,1.2),x+2,x-1)':y='if(gte(zoom,1.2),y+2,y-1)':d=10*25,framerate=25,scale=1920:1080" -c:v libx264 -t 10 -pix_fmt yuv420p -s 1920x1080 output.mp4


    


  • How do i simulate object-fit : fill with fluent-ffmpeg nodejs

    9 juillet 2023, par marvelMiles

    ffmpeg(input) .output(output) .outputOptions("-vf",scale=w=$1920:h=$1080) .outputOptions("-c:a", "copy") .on("end", () => { console.log("Video conversion completed"); }) .on("error", error => { console.error("Video conversion failed:", error); }) .on("progress", function(f) { console.log("...frames ", f.frames); }) .run()
code behave more like object-fit : contain than fill

    


  • Didn't find class "org.bytedeco.javacpp.avutil" in JAVACV version 1.2 on Android

    26 juillet 2016, par Eloy Palao

    I read a lot of answers but i can’t resolve my bug. The error is :

    java.lang.NoClassDefFoundError: java.lang.ClassNotFoundException: org.bytedeco.javacpp.avutil
                                                                          at org.bytedeco.javacpp.Loader.load(Loader.java:469)
                                                                          at org.bytedeco.javacpp.Loader.load(Loader.java:409)
                                                                          at org.bytedeco.javacpp.avcodec$AVPacket.<clinit>(avcodec.java:1559)
                                                                          at org.bytedeco.javacv.FFmpegFrameRecorder.<init>(FFmpegFrameRecorder.java:149)
                                                                          at org.bytedeco.javacv.FFmpegFrameRecorder.<init>(FFmpegFrameRecorder.java:126)
    </init></init></clinit>

    To configure JAVACV, I only put some lines in the gradle, but i don’t know if i have to do something more to configure it. I read about jniLibs folder, but this grade lines do not generate any folders. Also I read about compileSDKVersion 22 but I did it and do not resolve the problem.

    Please I need help, because I read a lot of post and bugs but any of them resolve me the problem.

       apply plugin: 'com.android.application'

    android {
       compileSdkVersion 23
       buildToolsVersion '23.0.3'

       defaultConfig {
           applicationId "com.eloyfranapps.daym"
           minSdkVersion 15
           targetSdkVersion 23
           versionCode 1
           versionName "1.0"
       }
       buildTypes {
           release {
               minifyEnabled false
               proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
           }
       }

       packagingOptions {
           exclude 'META-INF/maven/org.bytedeco.javacpp-presets/opencv/pom.properties'
           exclude 'META-INF/maven/org.bytedeco.javacpp-presets/opencv/pom.xml'
           exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.properties'
           exclude 'META-INF/maven/org.bytedeco.javacpp-presets/ffmpeg/pom.xml'
       }
    }

    configurations {
       all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
    }

    dependencies {
       compile fileTree(include: ['*.jar'], dir: 'libs')
       testCompile 'junit:junit:4.12'
       compile 'com.android.support:appcompat-v7:23.0.0'
       compile 'com.android.support:design:23.0.0'
       compile 'it.neokree:MaterialTabs:0.11'
       compile group: 'org.bytedeco', name: 'javacv', version: '1.2'
       compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.1.0-1.2', classifier: 'android-arm'
       compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.1.0-1.2', classifier: 'android-x86'
       compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.0.2-1.2', classifier: 'android-arm'
       compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: '3.0.2-1.2', classifier: 'android-x86'
    }

    and the error is in the first line "new FFmpegFrameRecorder(outputPath, 1080, 1080) ;" of my code :

    FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(outputPath, 1080, 1080);

               recorder.setVideoQuality(12.5);
               recorder.setVideoCodec(13);
               recorder.setFormat("mp4");
               recorder.setFrameRate(fps);
               recorder.start();
               AndroidFrameConverter an = new AndroidFrameConverter();
               for (int i = 0; i &lt; charFrames.size(); i++) {
                   Frame frame = an.convert(charFrames.get(i));
                   recorder.record(frame);
               }
               recorder.stop();