Recherche avancée

Médias (91)

Autres articles (111)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10753)

  • How to create side by side horizontally stacked video with delay in video and audio using ffmpeg-python ?

    29 juillet 2021, par kup

    I am trying to create a video from two videos that will be stacked horizontally but the resulting video is not what i expected. The same video is appearing on both side (left & right). So wondering how that can be achieved ?

    


    The ffmpeg command i tried, which kinda worked :

    


    ffmpeg -i left.mp4 -i right.mp4 -filter_complex "
[0:v]setpts=PTS-STARTPTS[l]; 
[1:v]setpts=PTS-STARTPTS,tpad=start_duration=14:start_mode=add:color=black[r]; 
[l][r]hstack=inputs=2[stacked]; [0:a][1:a]amix=inputs=2[a]
" -map "[stacked]" -map "[a]" -c:a aac -preset superfast result.mp4


    


    ffmpeg-python script that's not working :

    


    in0 = ffmpeg.input('0.mp4')
in1 = ffmpeg.input('right.mkv')
aout = ffmpeg.filter([in0.audio, in1.audio.filter('adelay', "5000|5000")],'amix')
vout = ffmpeg.filter([inv0.video, inv1.video.filter('tpad', start_duration=5, start_mode='add', color='black')], 'hstack')

(
    ffmpeg
    .concat(vout, aout, v=1, a=1)
    .output("out.mkv")
    .run()
)


    


    This script not resulting in the expected output which two videos side-by-side horizontally stacked.

    


  • How can I create a side-by-side horizontally stacked video with a delay in video and audio using ffmpeg-python ?

    3 septembre 2021, par kup

    I am trying to create a video from two videos that will be stacked horizontally, but the resulting video is not what I expected. The same video is appearing on both sides (left and right). How can that be achieved ?

    


    The ffmpeg command I tried, which kind of worked :

    


    ffmpeg -i left.mp4 -i right.mp4 -filter_complex "
[0:v]setpts=PTS-STARTPTS[l];
[1:v]setpts=PTS-STARTPTS,tpad=start_duration=14:start_mode=add:color=black[r];
[l][r]hstack=inputs=2[stacked]; [0:a][1:a]amix=inputs=2[a]
" -map "[stacked]" -map "[a]" -c:a aac -preset superfast result.mp4


    


    The ffmpeg-python script that's not working :

    


    in0 = ffmpeg.input('0.mp4')
in1 = ffmpeg.input('right.mkv')
aout = ffmpeg.filter([in0.audio, in1.audio.filter('adelay', "5000|5000")],'amix')
vout = ffmpeg.filter([inv0.video, inv1.video.filter('tpad', start_duration=5, start_mode='add', color='black')], 'hstack')

(
    ffmpeg
    .concat(vout, aout, v=1, a=1)
    .output("out.mkv")
    .run()
)


    


    This script is not resulting in the expected output which is two videos side-by-side horizontally stacked.

    


  • compiling errors with ffmpeg on linux [closed]

    7 mai 2013, par David Tree

    Hi all ,I downloaded the latest ffmpeg source code and successfully installed it on Ubuntu

    But I failed to compile a simple demo.
    This was created with QtCreator with the .pro file as follows :

    QT -= gui

    TARGET = qt_v4l2
    TEMPLATE = app
    SOURCES += \
    ../tutorial01.c

    LIBS += -L/-lavcodec -lavformat -lswscale -lavutil

    Here are the error messages ,just to name a few :

    ../tutorial01.c:22:16 : error : unknown type name 'AVFrame'

    ../tutorial01.c:55:5 : error : unknown type name 'uint8_t'

    ../tutorial01.c:68:50 : error : 'NULL' undeclared (first use in this function)

    /tutorial01.c:84:22 : error : request for member 'streams' in something not a structure or union

    ../tutorial01.c:84:57 : error : 'AVMEDIA_TYPE_VIDEO' undeclared (first use in this function)

    ../tutorial01.c:122:24 : error : expected expression before ')' token

    ../tutorial01.c:128:21 : error : 'AVPicture' undeclared (first use in this function)
    ../tutorial01.c:128:32 : error : expected expression before ')' token

    .

    And this is the ffmpeg installed
    ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
    built on May 7 2013 14:10:58 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
    configuration : —enable-gpl —prefix=/usr —enable-libx264 —enable-pthreads

    And this is the actuall CODE

    https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial01.c