Recherche avancée

Médias (91)

Autres articles (44)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • 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

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

  • FFMPEG zoompan filter cut short my video and slowed it down [on hold]

    9 décembre 2018, par Ewan Sou

    I am using FFMPEG (version 4.0.2) to zoompan my video. My code is as below

    ffmpeg -y -i input.mp4 -loop 1 -i overlay.png -ss 0 -t 10 -filter_complex "[0:v]scale=iw+iw:ih+ih, zoompan=z='if(lte(pzoom,1.0),1.6,max(1.001,pzoom-0.004))':d=1:x='iw/2-(iw/zoom/2)':y='0':s=720x720, setsar=1 [v0];[1:v]crop=720:720,fade=t=in:st=0:d=1,fade=t=out:st=3:d=1[v1];[v0][v1] overlay [v]" -map "[v]" -f mp4 -preset ultrafast -y output.mp4

    Essentially, what this code should do is slowly pan out from the center of my video, with a logo (overlay.png) fading in and out.

    This input.mp4 is 10 seconds. With the above code, the final video duration is 10 seconds still. But its not the full footage, it is cut short and compensated with slow motion to make it 10 seconds still...

    I need the final video to not be cut off at all. It should be the full footage and no slow motion effect.

    Anyone has any ideas what I am doing wrong ?

    Input video is at : https://instantly.sg/photobooth/input.mp4

    Overlay is at : here

    Thanks in advance !

  • Add multiple timecodes to single audio file (.mkv ?) resulting from concatenating several (timecode-based) audio files

    6 juin 2020, par user3497017

    I first converted two .WAV files into .MKV files inserting timecode for each of this file. Then I concatenated these two .MKV files as inputs (each .MKV including one timecode inside). However timecodes were not maintained in the final output.MKV. I tried :

    



     1. ffmpeg -f concat -i mylist.txt -c copy output.mkv  
 2. mkvmerge -o output.mkv 1.mkv + 2.mkv


    



    with mylist.txt containing :

    



    file '1.mkv'
file '2.mkv'


    



    But the final file output.mkv resulting from such a concatenation has lost timecodes in case 1. In case 2, there is only one time code that has been preserved (from input 2.mkv) at the end. According to mediaInfo command line. I was expecting 2 times codes issued from 1.mkv and from 2.mkv. But is it the right approach ? (Is it even do-able ?)

    



    To summarize, my goal is to insert multiple time codes along with / inside a single audio file (.WAV, or .MKV, or whatever). Here is a sreenshot that technically depicts my purpose enter image description here

    


  • How to use command of ffmpeg on android

    23 janvier 2015, par user2830969

    I download ffmpeg static from http://ffmpeg.gusari.org/static/ and I run command

    ./ffmpeg -i inputFile.mp4 -vf drawtext="fontsize=60:fontfile=/usr/share/fonts/truetype/freefont/FreeSerif.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-ascent" outputFile.mp4

    it work fine on my desktop.
    I want to use this command to run in android. I copy ffmpeg file to my android app to run command but it not work.

    public ProcessRunnable create() {
           if (inputPath == null || outputPath == null) {
               throw new IllegalStateException("Need an input and output filepath!");
           }  

           final List<string> cmd = new LinkedList<string>();
            public ProcessRunnable create() {
           if (inputPath == null || outputPath == null) {
               throw new IllegalStateException("Need an input and output filepath!");
           }  

           final List<string> cmd = new LinkedList<string>();

           cmd.add(mFfmpegPath);
           cmd.add("-i");
           cmd.add(inputPath);
           cmd.add("-vf");
           cmd.add("drawtext=\"fontsize=60:fontfile=/system/fonts/DroidSans.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-a
           cmd.add(mFfmpegPath);
           cmd.add("-i");
           cmd.add(inputPath);
           cmd.add("-vf");
           cmd.add("drawtext=\"fontsize=60:fontfile=/system/fonts/DroidSans.ttf:fontcolor=green:text=AAAA:x=(w-max_glyph_w)/2:y=h/2-ascent\"");
           cmd.add(outputPath);
           Log.w("Command", cmd.toString());
           final ProcessBuilder pb = new ProcessBuilder(cmd);
           return new ProcessRunnable(pb);
       }
    </string></string></string></string>

    please tell me know "How can I do that ?" thanks so much