Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (45)

  • 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

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

Sur d’autres sites (7923)

  • 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