Recherche avancée

Médias (91)

Autres articles (32)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (7473)

  • avcodec/dvenc : Fix undefined left shift of negative numbers

    29 septembre 2020, par Andreas Rheinhardt
    avcodec/dvenc : Fix undefined left shift of negative numbers
    

    The earlier code was based on the assumption that AVFrame.linesize can
    not be negative.

    Fixes ticket #8280.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/dvenc.c
  • avcodec/motion_est : Fix invalid left shift of negative numbers

    26 mars 2021, par Andreas Rheinhardt
    avcodec/motion_est : Fix invalid left shift of negative numbers
    

    Affected many FATE-tests.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/motion_est.c
    • [DH] libavcodec/motion_est_template.c
  • The FFmpeg just show the number form the input text (no characters , just numbers) error=13, Permission denied

    14 avril 2021, par gejivi2011

    I was trying to use FFmpeg to create a video form gif and audio, on Android 10, doesn't work&#xA;The code is working fine on android 9 and below, and not work 10 and above&#xA;the Cmd, as I mentioned it is work so good on android 9 and below

    &#xA;

     String[] cmd = new String[24];&#xA;    cmd[0] = "-i";&#xA;    cmd[1] = audio.getPath();&#xA;    cmd[2] = "-ignore_loop";&#xA;    cmd[3] = "0";&#xA;    cmd[4] = "-i";&#xA;    cmd[5] = image_path;&#xA;    cmd[6] = "-vf";&#xA;    cmd[7] = "scale=trunc(iw/2)*2:trunc(ih/2)*2";&#xA;    cmd[8] = "-filter:v";&#xA;    cmd[9] = ayat_drawer &#x2B; qara_draw;&#xA;    cmd[10] = "-vcodec";&#xA;    cmd[11] = "libx264";&#xA;    cmd[12] = "-pix_fmt";&#xA;    cmd[13] = "yuv420p";&#xA;    cmd[14] = "-r";&#xA;    cmd[15] = "25";&#xA;    cmd[16] = "-preset";&#xA;    cmd[17] = "ultrafast";&#xA;    cmd[18] = "-c:a";&#xA;    cmd[19] = "aac";&#xA;    cmd[20] = "-b:a";&#xA;    cmd[21] = "128k";&#xA;    cmd[22] = "-shortest";&#xA;    cmd[23] = outputLocation.getPath();&#xA;

    &#xA;

    The Java code :

    &#xA;

     FFmpeg mFFmpeg = FFmpeg.getInstance(context);&#xA;        try {&#xA;            mFFmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {&#xA;                @Override&#xA;                public void onProgress(String message) {&#xA;                    super.onProgress(message);&#xA;                    callback.onProgress(message);&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onSuccess(String message) {&#xA;                    super.onSuccess(message);&#xA;                    Utils.refreshGallery(outputLocation.getPath(), context);&#xA;                    callback.onSuccess(outputLocation, "video");&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onFailure(String message) {&#xA;                    super.onFailure(message);&#xA;                    if (outputLocation.exists()) {&#xA;                        outputLocation.delete();&#xA;                    }&#xA;                    callback.onFailure(new IOException(message));&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onStart() {&#xA;                    Log.d("TAG", "<ffmpeg>Started command : mFFmpeg " &#x2B; java.util.Arrays.toString(cmd));&#xA;                }&#xA;&#xA;                @Override&#xA;                public void onFinish() {&#xA;                    Log.d("TAG", "<ffmpeg>Finished command : mFFmpeg " &#x2B; java.util.Arrays.toString(cmd));&#xA;                    super.onFinish();&#xA;                    callback.onFinish();&#xA;                }&#xA;            });&#xA;        } catch (FFmpegCommandAlreadyRunningException e) {&#xA;            Log.e("MAS" , e.getMessage());&#xA;            e.printStackTrace();&#xA;        }&#xA;</ffmpeg></ffmpeg>

    &#xA;

    I think that because FFmpeg using Asynctask and it is deprecated

    &#xA;