Recherche avancée

Médias (91)

Autres articles (69)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

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