Recherche avancée

Médias (91)

Autres articles (111)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (9974)

  • I cant install ffmpeg binary driver on my laravel project

    6 janvier 2020, par oshakab

    I am trying to install ffmpeg binary on my laravel application but I am getting this error. Could not find a matching version of package php-ffmpeg/binary-driver. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev). I am using laravel 6.4.1

    My composer.json

    {
    "require": {
       "pawlox/video-thumbnail": "^1.0",
       "lakshmaji/thumbnail": "^1.4",
       "pion/laravel-chunk-upload": "^1.3",
       "pbmedia/laravel-ffmpeg": "^5.0"
    },

    "repositories": [{
       "type": "vcs",
       "url": "https://github.com/PHP-FFMpeg/BinaryDriver.git"
    }]
    }

    composer require php-ffmpeg/binary-driver=dev-master
    Any Solutions. Thanks

  • build ffmpeg library with a sample project and use it in eclipse on Linux operating system

    22 juillet 2015, par Harpreet Kaur

    I want to ffmpeg project in eclipse on linux operating system
    I am following the link : http://dmitrydzz-hobby.blogspot.in/2012/04/how-to-build-ffmpeg-and-use-it-in.html
    I have successfully add the ndk in eclipse but it still shows some error in loading the ffmpeg library

    My logcat contains error :

    Building file: ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm
    Invoking: GCC Assembler
    as  -o "jni/ffmpeg/libavcodec/x86/dct32_sse.o" "../jni/ffmpeg/libavcodec/x86/dct32_sse.asm"
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm: Assembler messages:
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:1: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:2: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:3: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:4: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:5: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:6: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:7: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:7: Error: no such instruction: `you can redistribute it and/or'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:8: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:9: Error: junk at end of line, first unrecognized character is `*'
    ../jni/ffmpeg/libavcodec/x86/dct32_sse.asm:9: Error: no such instruction: `either'
  • How to import FFmpeg into Android project

    30 mai, par Vyacheslav Parinov

    I'm trying to convert series of images into video.
For that I'm adding FFmpeg into my Android project.
However it is not adding properly, so I can't import class FFmpeg into the code.
in the statement "int rc = FFmpeg.execute(command) ;" FFmpeg is highlighted in red.

    


    I think something wrong with libraries. Could you please give suggestion how import libraries correctly ?

    


    My Manifest file below

    


    <?xml version="1.0" encoding="utf-8"?>


    


    


    &#xA;&#xA;&#xA;&#xA;    &#xA;        &#xA;            <action></action>&#xA;&#xA;            <category></category>&#xA;        &#xA;    &#xA;&#xA;

    &#xA;&#xA;

    My settings.gradle file

    &#xA;

    pluginManagement {&#xA;repositories {&#xA;    google()&#xA;    mavenCentral()&#xA;    gradlePluginPortal()&#xA;}&#xA;

    &#xA;

    &#xA;

    dependencyResolutionManagement {&#xA;repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)&#xA;repositories {&#xA;    google()&#xA;    mavenCentral()&#xA;}&#xA;

    &#xA;

    &#xA;rootProject.name = "TimelapseLite"&#xA;include ':app'

    &#xA;

    My build.gradle file

    &#xA;

    plugins {&#xA;    id &#x27;com.android.application&#x27;&#xA;}&#xA;&#xA;android {&#xA;    namespace &#x27;ae.vpdev.timelapselite&#x27;&#xA;    compileSdk 33&#xA;&#xA;defaultConfig {&#xA;    applicationId "ae.vpdev.timelapselite"&#xA;    minSdk 26&#xA;    targetSdk 33&#xA;    versionCode 1&#xA;    versionName "1.0"&#xA;&#xA;    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"&#xA;}&#xA;&#xA;buildTypes {&#xA;    release {&#xA;        minifyEnabled false&#xA;        proguardFiles getDefaultProguardFile(&#x27;proguard-android-optimize.txt&#x27;), &#x27;proguard-rules.pro&#x27;&#xA;    }&#xA;}&#xA;compileOptions {&#xA;    sourceCompatibility JavaVersion.VERSION_1_8&#xA;    targetCompatibility JavaVersion.VERSION_1_8&#xA;}&#xA;

    &#xA;

    &#xA;

    dependencies

    &#xA;

    implementation &#x27;androidx.appcompat:appcompat:1.6.1&#x27;&#xA;implementation &#x27;com.google.android.material:material:1.9.0&#x27;&#xA;implementation &#x27;androidx.constraintlayout:constraintlayout:2.1.4&#x27;&#xA;implementation &#x27;com.arthenica:mobile-ffmpeg-full:4.5.LTS&#x27;&#xA;testImplementation &#x27;junit:junit:4.13.2&#x27;&#xA;androidTestImplementation &#x27;androidx.test.ext:junit:1.1.5&#x27;&#xA;androidTestImplementation &#x27;androidx.test.espresso:espresso-core:3.5.1&#x27;&#xA;

    &#xA;

    &#xA;

    My code in MainActivity

    &#xA;

    private void convertImagesToVideo() {&#xA;    StringBuilder imageListFileContent = new StringBuilder();&#xA;    for (Uri imageUri : selectedImages) {&#xA;        imageListFileContent.append("file &#x27;").append(imageUri.getPath()).append("&#x27;\n");&#xA;    }&#xA;&#xA;    try {&#xA;        File imageListFile = new File(getCacheDir(), "image_list.txt");&#xA;        FileWriter writer = new FileWriter(imageListFile);&#xA;        writer.append(imageListFileContent.toString());&#xA;        writer.flush();&#xA;        writer.close();&#xA;&#xA;        File outputFile = new File(getExternalFilesDir(null), "output_video.mp4");&#xA;        String outputFilePath = outputFile.getAbsolutePath();&#xA;&#xA;        String command = "-f concat -safe 0 -i " &#x2B; imageListFile.getAbsolutePath() &#x2B;&#xA;                " -vf \"scale=-2:720\" -r 30 -c:v libx264 -pix_fmt yuv420p " &#x2B; outputFilePath;&#xA;&#xA;        int rc = FFmpeg.execute(command);&#xA;&#xA;        if (rc == RETURN_CODE_SUCCESS) {&#xA;            Log.d("FFmpeg", "Video conversion completed successfully");&#xA;            // Now you can use the outputFilePath to play or share the video&#xA;        } else {&#xA;            Log.d("FFmpeg", "Video conversion failed");&#xA;        }&#xA;    } catch (IOException e) {&#xA;        e.printStackTrace();&#xA;    }&#xA;}&#xA;

    &#xA;