Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (70)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12425)

  • Anomalie #4543 : Accessibilité des chargements ajax (live regions)

    4 septembre 2020, par nicod _

    Réponse à tes remarques que j’ai faites remonter :

    J’ai bien compris que c’est l’utilisateur qui déclenche explicitement les modifications via lien ou bouton.
    Je comprends le besoin d’avoir des paramètres qui gèrent automatiquement la génération de ces attributs.

    Et tu l’as dit toi-même :

    Dans les faits, on ne peut donc pas du tout présumer de ce qui est chargé en ajax de façon générique, ça peut être une liste avec pagination, mais ça peut être aussi un fragment de html qui se recharge en fonction d’autres évènements, ou même une page où différents blocs sont chargés en ajax (asynchrone) et ne sont pas modifiés ensuite.

    Donc en pratique, sans connaître les contenus et les interactions utilisateur/contenus on ne peut pas savoir si c’est une bonne chose ou pas d’avoir ces attributs.
    La solution qui consiste à les positionner sur des éléments englobants, sauf coup de chance involontaire, sera mauvaise.
    Sur le site de la région c’est flagrant.
    Par ailleurs, je ne connais pas les compétences en accessibilité numérique des personnes qui te répondent.
    En l’occurrence, les réponses semblent indiquer que les personnes en question ne maîtrisent pas vraiment :

    le fonctionnement des live region et leur raison d’être
    le fonctionnement des lecteurs d’écran
    la différence entre ce qui est vocalisé dans un lecteur d’écran, la position du focus clavier et la position du curseur du lecteur d’écran
    l’utilisation des lecteurs d’écran

    La phrase "lancer la lecture des contenus mis à jour c’est bien très exactement ce qu’on cherchait à faire avec ces attributs" montre qu’il s’agit d’une mauvaise utilisation des propriétés aria-live et semble démontrer une connaissance très limitée des 4 points cités plus haut.

    Personnellement, je n’ai pas les compétences suffisantes sur ces 4 points pour avoir un avis, je me fie à celui de l’expert, qui est de simplement supprimer les attributs aria.
    Par contre, je sais par expérience que aria n’est pas facile à utiliser, et qu’il vaut mieux ne pas l’utiliser que mal l’utiliser.

  • Build OpenCv using static ffmpeg library

    24 juillet 2020, par gaurav agarwal

    I am trying to build opencv for one of the commercial product. That commercial product already contains a static build of ffmpeg executable. While building OpenCv I am seeing bunch of failure most probably due to linking issues with ffmpeg.

    


    Is it possible to build OpenCv using static ffmpeg library ? In OpenCv installation doc I can see mentioned prerequisite is :

    


    


    ffmpeg or libav development packages : libavcodec-dev, libavformat-dev,
libswscale-dev

    


    


    I guess this means OpenCv needs these lib to be present as shared libs. Any expert opinion will be helpful !!!

    


  • IOException when trying to run ffmpeg command on Android

    20 avril 2020, par Rashid Faheem

    I am using this library through gradle with Android Studio 3.6.

    



    implementation 'com.github.hiteshsondhi88.libffmpeg:FFmpegAndroid:0.2.5'


    



    This is path of input and output file.

    



    String VideoIn = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Download/Ab.mp4";
String VideoOut = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Download/Ab1.avi";


    



    This is code where I load ffmpeg and try to execute command to convert an mp4 into avi. (Same command i use on windows to do this task). But it say IOException (No such file or directory) although input file is present in Download folder.

    



    private void convert(String VideoIn, String VideoOut) {
    ffmpeg = FFmpeg.getInstance(this);
    try {
        ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
            @Override
            public void onFailure() {
                super.onFailure();
            }

            @Override
            public void onSuccess() {
                super.onSuccess();
            }

            @Override
            public void onStart() {
                super.onStart();
            }

            @Override
            public void onFinish() {
                super.onFinish();
            }
        });
    } catch (FFmpegNotSupportedException e) {
        Log.e(TAG, e.getMessage());
    }

    try {
        ffmpeg.execute("-i " + VideoIn + " " + VideoOut, new ExecuteBinaryResponseHandler() {
            @Override
            public void onSuccess(String message) {
                Log.e(TAG, message);
            }

            @Override
            public void onProgress(String message) {
                Log.e(TAG, message);
            }

            @Override
            public void onFailure(String message) {
                Log.e(TAG, message);
            }

            @Override
            public void onStart() {
                Log.e(TAG, "onStart called");
            }

            @Override
            public void onFinish() {
                Log.e(TAG, "onFinish called");
            }
        });
    } catch (FFmpegCommandAlreadyRunningException ex) {
        Log.e(TAG, ex.getMessage());
    }
}


    



    Here is log data for your to understand. I am not that expert in that so I couldn't figure out what is wrong with my code. Path is correct and file is there. Maybe I am calling this command wrong or what ?

    



    I searched google and stack overflow much but nothing helped me solve it. Any help would be appreciated.

    



    04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video to Mp3: Input File Path: 
/storage/emulated/0/Download/Ab.mp4
04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video to Mp3: Output File Path: 
/storage/emulated/0/Download/Ab1.avi
04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video to Mp3: Device not supported
04-20 12:08:26.050 12696-12696/com.example.myapplication E/Video to Mp3: onStart called
04-20 12:08:26.084 12696-13027/com.example.myapplication E/FFmpeg: Exception while trying to run: 
/data/user/0/com.example.myapplication/files/ffmpeg -i /storage/emulated/0/Download/Ab.mp4 
/storage/emulated/0/Download/Ab1.avi
java.io.IOException: Error running exec(). Command: [/data/user/0/com.example.myapplication/files/ffmpeg, -i, /storage/emulated/0/Download/Ab.mp4, /storage/emulated/0/Download/Ab1.avi] Working Directory: null Environment: null
    at java.lang.ProcessManager.exec(ProcessManager.java:211)
    at java.lang.Runtime.exec(Runtime.java:186)
    at java.lang.Runtime.exec(Runtime.java:259)
    at java.lang.Runtime.exec(Runtime.java:202)
    at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
    at android.os.AsyncTask$2.call(AsyncTask.java:307)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    at java.lang.Thread.run(Thread.java:833)
 Caused by: java.io.IOException: No such file or directory
    at java.lang.ProcessManager.exec(Native Method)
    at java.lang.ProcessManager.exec(ProcessManager.java:209)
    at java.lang.Runtime.exec(Runtime.java:186) 
    at java.lang.Runtime.exec(Runtime.java:259) 
    at java.lang.Runtime.exec(Runtime.java:202) 
    at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) 
    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) 
    at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) 
    at android.os.AsyncTask$2.call(AsyncTask.java:307) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:246) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 
    at java.lang.Thread.run(Thread.java:833) 
04-20 12:08:26.084 12696-12696/com.example.myapplication E/Video to Mp3: onFinish called