Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (64)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (15424)

  • Overlying video frames using FFmpeg in c++

    14 mai 2020, par Bruce

    I am trying to overlaying two videos using FFmpeg in c++. So I followed the FFmpeg page and followed this command in terminal.

    



    $ ffmpeg -i Right.mov -i Left.mov -filter_complex "[0:v][1:v] overlay=0:0"  -c:a copy output.mov


    



    I can implement this functionality through the terminal, but I am trying to achieve this functionality through codding.

    



    typedef struct {
    AVFormatContext *fmt_ctx;
    int stream_idx;
    AVRational time_base;
    AVStream *video_stream;
    AVCodecContext *codec_ctx;
    AVCodecContext *pCodecCtxOrig;
    AVCodec *decoder;
    AVPacket *packet;
    AVFrame *av_frame;
    AVFrame *gl_frame;
    AVFrame *out_frame;
    AVStream *pStream;
    struct SwsContext *conv_ctx;


    



    also, I show some example code, but I am not sure about it

    



    https://ffmpeg.org/doxygen/2.1/doc_2examples_2filtering_video_8c-example.html

    



    and 
https://code5.cn/so/c%2B%2B/2601062

    



    AVFilterContext *buffersink_ctx;
AVFilterContext *buffersrc_ctx;
AVFilterGraph *filter_graph;


    



    how can I implement this functionality in my code ?

    


  • Bash, Relative Paths, and Mac Automator Fails

    30 septembre 2015, par grahama

    This script works great in the terminal but fails when I run the shell script in automator (mac). For some reason, automator doesn’t remember the gif’s name and writes the file as *.gif. When run directly in Terminal, the script correctly converts to movie file to Gif and moves it to the correct Dropbox location.
    I’m trying to run this automator Mov2Gif script when Apple Motion 5 finishes rendering a movie.

    Any help is appreciated. Automator is a little touchy.

    #!/bin/sh

    fps=8
    scale=400
    palette="/tmp/palette.png"
    filters="fps=$fps,scale=$scale:-1:flags=lanczos"

    destDIR="/PATH/TO/DROPBOX/DIR"
    curDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
    incomingDIR=$curDIR/_incoming

    ffmpeg=$curDIR/ffmpeg/ffmpeg


    for f in *.mov
    do  

       fbname=$(basename "$f" .mov)
       fbAbsPath=$incomingDIR/$fbname
       $ffmpeg  -v warning -i $fbAbsPath.mov -vf "$filters,palettegen" -y $palette
       $ffmpeg -v warning -i $fbAbsPath.mov -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $fbAbsPath.gif
       rm $fbAbsPath.mov
       mv -f $fbAbsPath.gif $destDIR/$fbname.gif
    done
  • ffmpeg lib/API to cut videos in java

    23 janvier 2017, par João Paulo Radd

    I’m trying to use some FFmpeg’s lib/API to java to cut a video in several parts by time. I know that I can use RunTime with a command to this, but in my case I need use this in code using some API/lib.
    Example command in terminal / runtime :

    ffmpeg -i /tmp/test.mp4 -ss 30 -c copy -to 40 /tmp/outTest.mp4

    String url_str = "ffmpeg -i /tmp/"+fileName+".mp4 -ss "+secStart+" -c copy -to "+secEnd+" /tmp/"+outfile+".mp4 -y";
       System.out.println("url_str :"+url_str);
           try {
               Runtime rt = Runtime.getRuntime();
               Process p = rt.exec(url_str);
               BufferedReader r = new BufferedReader(new InputStreamReader(p.getErrorStream()));
               String s;
               while ((s = r.readLine()) != null) {
                   //System.out.println(s); terminal response
               }
               r.close();

    Thus, I’ve a original video and a inicial time in seconds and a final time (some cases, optional) and create a new video with this part.
    I’m trying to use the FFmpeg Java by Andrew Brampton (net.bramp.ffmpeg) to do the same thing as the example. But, if some one know by other API/lib, like FFMPEG-Java (net.sf.ffmpeg_java) for example, will be good too.