Recherche avancée

Médias (91)

Autres articles (15)

  • 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 formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (4609)

  • permission denied. ffmpeg tries to process a file located in /data/data/

    30 octobre 2015, par user2326258

    I have such an APP that the users sends a video from the multimedia message(add a video in the message and then the video is copied to /data/data/somewhere). If the user press the video in the file, the message activity passes the video’s uri to another activity which processes the video with ffmpeg.

    I got the video’s file descriptor(fd) by :

    ContentResolver resolver = context.getContentResolver();
    fd = resolver.openAssetFileDescriptor(uri, "r");

    and pass fd.getFileDescriptor()to ffmpeg.
    However I got permission denied such that ffmpeg cannot open the file.

    Is there anyway to fix that ?

    Thanks a lot.

  • Android - ffmpeg ignore loop after export

    1er juin 2017, par NewUser

    Good day all. I am currently using this FFMPEG library. Here is the command I am running

    String[] s = {"-i" ,mVideoUri.toString(),"-i",newBackgroundBitmap.getPath(),"-filter_complex","[1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v]","-map","[v]","-c:v","libx264","-preset","ultrafast",directoryToStore+"/"+lastSaved+mp};

    //mVideoUri.toString() is the selected video
    //newBackgroundBitmap.getPath() is a drawn bitmap

    mMediaPlayer also has anchor/loop control points, to ’loop’ the video.(shown in the image below)

    Everything works perfectly, the video is saved perfectly as I suspected.

    But here is where the problem comes, after I saved the video and try to use that video in ANY (even my) editing application, the starting point is messed up, it is hard to put it in words, so here is a image.video control points after export

    REMEMBER THIS ONLY HAPPENS AFTER I EXPORTED THE VIDEO


    The problem is definitely caused by ffmpeg or ffmpeg command. I have tried forcing the start and end control points ;

    private Runnable updateVideoTime = new Runnable() {
       public void run() {

           if (!Activity.this.mMediaPlayer.isPlaying()) {
               Activity.this.mMediaPlayer.seekTo(Activity.this.leftPosition);
               Activity.this.mMediaPlayer.start();
           }

    No matter what I try I can’t stop the ’progressBar’ from ignoring the starting loop. It could perhaps be the fact that the ffmpeg used in the library is out of date ?

    Has anyone who used ffmpeg(or this library) before dealt with this issue ?

    Any help would be appreciated.

  • Anomalie #2773 (Nouveau) : Boucle recherche Forum : mauvaise selection avec le critère {tout}

    24 juin 2012, par Hossein ROTY

    Le résultat d’une recherche dans les forums est différent selon que l’on emploie le critère plat ou le critère tout. Alors que le critère plat sélectionne correctement les messages contenant l’occurence recherchée, le critère tout sélectionne le premier message du thread et non la réponse à ce message (...)