Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (42)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • 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

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

Sur d’autres sites (6361)

  • How to use FFmpeg in android to edit video ? [closed]

    24 juillet 2023, par Rakesh Saini

    i am learning android. I tried the ffmpeg lib to merge the video and audio, but getting ffmpeg permission denied error. I search lot of but unable to find the solution.

    


    Please anyone help if have the solution.

    


            package com.example.mytestapp.Activity;
    
    import android.content.Context;
    import android.os.AsyncTask;
    import android.os.Environment;
    import android.util.Log;
    import com.github.hiteshsondhi88.libffmpeg.ExecuteBinaryResponseHandler;
    import com.github.hiteshsondhi88.libffmpeg.FFmpeg;
    import com.github.hiteshsondhi88.libffmpeg.exceptions.FFmpegCommandAlreadyRunningException;
    
    public class MergeAudioVideoTask extends AsyncTask {
        private static final String TAG = MergeAudioVideoTask.class.getSimpleName();
    
        private Context context;
        private String videoFilePath;
        private final String audioFilePath;
        private final String outputFilePath;
    
        public MergeAudioVideoTask(String videoFilePath, String audioFilePath, String outputFilePath) {
            this.videoFilePath = videoFilePath;
            this.audioFilePath = audioFilePath;
            this.outputFilePath = outputFilePath;
        }
    
    //    String inputAudioPath = "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3";
        String outputVideoPath = Environment.getExternalStorageDirectory() + "/trimVideos" + "sangtest.mp4";
    
    //    String[] command = {"-i", vpath, "-i", inputAudioPath, "-c:v", "copy", "-c:a", "aac", "-map", "0:v:0", "-map", "1:a:0", "-shortest", outputVideoPath};
    
    
        @Override
        protected Boolean doInBackground(Void... params) {
            String[] cmd = {"-i", videoFilePath, "-i", audioFilePath, "-shortest", outputVideoPath};
            try {
                FFmpeg.getInstance(context).execute(cmd, new ExecuteBinaryResponseHandler() {
                    @Override
                    public void onStart() {
                        Log.e("Started", "yes");
                    }
    
                    @Override
                    public void onProgress(String message) {
                        // do nothing
                    }
    
                    @Override
                    public void onFailure(String message) {
                        Log.e("Failed ", "yes");
                    }
    
                    @Override
                    public void onSuccess(String message) {
                        Log.e("Success ", "yes");
                    }
    
                    @Override
                    public void onFinish() {
                        // do nothing
                    }
                });
            } catch (FFmpegCommandAlreadyRunningException e) {
                e.printStackTrace();
            }
    
            return null;
        }
    
        @Override
        protected void onPostExecute(Boolean success) {
            if (success) {
            } else {
            }
        }
    
    }


    


    I am using this but getting 'permission denied error for ffmpeg' i have already added storage permission in manifiest.

    


  • libavfilter/vf_dnn_detect : Add yolo support

    21 novembre 2023, par Wenbin Chen
    libavfilter/vf_dnn_detect : Add yolo support
    

    Add yolo support. Yolo model doesn't output final result. It outputs
    candidate boxes, so we need post-process to remove overlap boxes to
    get final results. Also, the box's coordinators relate to cell and
    anchors, so we need these information to calculate boxes as well.

    Model detail please refer to : https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/public/yolo-v2-tf

    Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
    Reviewed-by : Guo Yejun <yejun.guo@intel.com>

    • [DH] libavfilter/dnn/dnn_backend_openvino.c
    • [DH] libavfilter/vf_dnn_detect.c
  • Merge commit ’8000206abcc82491c2a8c71e494c5477ede7264c’

    22 juillet 2013, par Michael Niedermayer
    Merge commit ’8000206abcc82491c2a8c71e494c5477ede7264c’
    

    * commit ’8000206abcc82491c2a8c71e494c5477ede7264c’ :
    libspeexdec : fix detection of final terminator code

    See : f3c9d66bafde9b8586bd63dd3307daa87352af75
    Merged-by : Michael Niedermayer <michaelni@gmx.at>