Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (19)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (5492)

  • hevc/rext : put a warning log message instead of an error log message

    18 juillet 2014, par Mickaël Raulet
    hevc/rext : put a warning log message instead of an error log message
    

    cherry picked from commit 243cb99cff727d6a14c32cdff2748f6c255dbaf4
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/hevc_ps.c
  • avformat/dashdec : add trace message for get the logic output message

    5 septembre 2018, par Steven Liu
    avformat/dashdec : add trace message for get the logic output message
    

    Signed-off-by : Steven Liu <lq@onvideo.cn>

    • [DH] libavformat/dashdec.c
  • FFmpeg doesn't work on android 10, goes strait to onFailure(String message) with empty message

    18 janvier 2020, par nolanic

    I’m using FFmpeg in one of my projects for video compression. On Android 10 (Google Pixel 3a), it goes straight to onFailure(String message) with empty message for any command sent for execution.

    so I have (api ’com.writingminds:FFmpegAndroid:0.3.2’) specified in my app gradle file,

    permission (android.permission.WRITE_EXTERNAL_STORAGE) in the manifest is specified

    So I do :

    InitializationCallback initializationCallback = new InitializationCallback();
       try {
           FFmpeg.getInstance(context).loadBinary(initializationCallback);
       } catch (FFmpegNotSupportedException e) {
           initializationCallback.onFailure();
           initializationCallback.onFinish();
       }

    Initializes just fine, no problems here.

    Later :

    void getData(File inputFile) {
    //inputFile points to: /storage/emulated/0/Android/data/{package_name}/files/temp_files/temp_1.mp4
           String[] cmd = ("-i " + inputFile.getAbsolutePath()).split(" ");
           try {
               FFmpeg.getInstance(App.instance).execute(cmd, this);
           } catch (FFmpegCommandAlreadyRunningException e) {
               throw new Error(e);
           }
       }

       @Override
       public void onStart() {
            //This method is called
       }

       @Override
       public void onSuccess(String message) {
            //This method is NOT called
            extractAvailableData(message);
       }

       @Override
       public void onProgress(String message) {
           //This method is NOT called
           extractAvailableData(message);
       }

       @Override
       public void onFailure(String message) {
           //This method is called and the message is empty
           extractAvailableData(message);
       }

       @Override
       public void onFinish() {
           //This method is called
       }

    If I do something like :

    String command = "-i ***/file1.mp4 -map 0:v -map 0:a -preset ultrafast -s:v 750:350 ***/file2.mp4";
    //file2.mp4 is a non existent file at this point
    // (***) --> is just a replacement for the full path of the file, just to keep things shorter here.

    String[] cmd = command.split(" ");
           try {
               FFmpeg.getInstance(App.instance).execute(cmd, this);
           } catch (FFmpegCommandAlreadyRunningException e) {
               throw new Error(e);
           }

    gives the same result, no video conversion, just a call to onFailure("Nothing")

    Even if I do :

    String[] cmd = {"-version"};
           try {
               FFmpeg.getInstance(App.instance).execute(cmd, this);
           } catch (FFmpegCommandAlreadyRunningException e) {
               throw new Error(e);
           }

    I get nothing, no output at all.

    I encountered this issue only on Android 10 so far, it works fine on other devices.