Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (106)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (12217)

  • avcodec/dpx : fix check of minimal data size for unpadded content

    19 octobre 2022, par Jerome Martinez
    avcodec/dpx : fix check of minimal data size for unpadded content
    

    stride value is not relevant with unpadded content and the total count
    of pixels (width x height) must be used instead of the rounding based on
    width only then multiplied by height

    unpadded_10bit value computing is moved sooner in the code in order to
    be able to use it during computing of minimal content size. Also make sure to
    only set it for 10bit.

    Fix 'Overread buffer' error when the content is not lucky enough to have
    (enough) padding bytes at the end for not being rejected by the formula
    based on the stride value

    Fixes ticket #10259.

    Signed-off-by : Jerome Martinez <jerome@mediaarea.net>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/dpx.c
  • Evolution #4380 : gif animé searching.gif

    10 février 2021, par b b

    C’est une mission pour tcharlss ça :)

  • I can't use immediately converted video with FFmpeg (Android)

    26 juin 2019, par Jose Q

    I’m using this lib to turn a video with a watermark into a corner : https://github.com/WritingMinds/ffmpeg-android-java

    To detect when the video conversion is ready I’m using this :

    try {
           ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
               @Override
               public void onFailure(String s) {
               }

               @Override
               public void onSuccess(String s) {
               }

               @Override
               public void onProgress(String s) {
               }

               @Override
               public void onStart() {
               }

               @Override
               public void onFinish() {

                   //outpath is: /storage/emulated/0/drawable/share1561561063811.mp4
                   Uri u = Uri.parse(outpath);

               }
           });
       } catch (FFmpegCommandAlreadyRunningException e) {
           // do nothing for now
       }

    Well, everything goes perfect so far, I can find the video through the file manager, but what I can’t do is use it immediately after onFinish() in my app.

    I can’t play the video or upload it. I’ve tried using outpath directly and also tried this method that works for other videos and I get null. :

    private String getRealPathFromURI(Uri contentUri) {
       String[] proj = { MediaStore.Images.Media.DATA };
       CursorLoader loader = new CursorLoader(this, contentUri, proj, null, null, null);
       Cursor cursor = loader.loadInBackground();
       int column_index = cursor.getColumnIndexOrThrow(MediaStore.Video.Media.DATA);
       cursor.moveToFirst();
       String result = cursor.getString(column_index);
       cursor.close();
       return result;
    }