Recherche avancée

Médias (91)

Autres articles (28)

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

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (3877)

  • How to rotate an image overlay in ffmpeg around the image center ?

    14 mars 2023, par ktrace

    I'm using ffmpeg to scale, rotate and overlay an image on a video. I'm able to rotate the image by the desired angle but the overlay ends up being moved both vertically and horizontally from the expected position.

    


    The commands I've tried and their corresponding outputs are shown below. Command 1 gives the expected output, 2 and 3 do not.

    


    How can I modify my commands in general, to rotate the overlay image around the image center, to get the expected output ?

    


    Command 1

    


    


    ffmpeg -i graphpaper.mp4 -i arrow.png -y -filter_complex [1:v]scale=w=364:h=370[overlay0] ;[overlay0]rotate=a=0:c=none:ow=rotw(0):oh=roth(0)[rotate0] ;[0:v][rotate0]overlay=x=419:y=168[output0] -map [output0] sample-overlay-on-graph-paper.mp4

    


    


    Command 2

    


    


    ffmpeg -i graphpaper.mp4 -i arrow.png -y -filter_complex [1:v]scale=w=364:h=370[overlay0] ;[overlay0]rotate=a=0.8017360589297406:c=none:ow=rotw(0.8017360589297406):oh=roth(0.8017360589297406)[rotate0] ;[0:v][rotate0]overlay=x=419:y=168[output0] -map [output0] sample-overlay-on-graph-paper.mp4

    


    


    Command 3

    


    


    ffmpeg -i graphpaper.mp4 -i arrow.png -y -filter_complex [1:v]scale=w=364:h=370[overlay0] ;[overlay0]rotate=a=5.493783719179012:c=none:ow=rotw(5.493783719179012):oh=roth(5.493783719179012)[rotate0] ;[0:v][rotate0]overlay=x=419:y=168[output0] -map [output0] sample-overlay-on-graph-paper.mp4

    


    


    Links to input files :

    


    


  • OpenCV 3.0.0 "configure" fails, ffmpeg not downloaded

    19 avril 2017, par S.H

    I get the following error when trying to configure OpenCV using CMAKE on windows :

    CMake Warning at cmake/OpenCVUtils.cmake:865 (message):
    Download: Local copy of opencv_ffmpeg.dll has invalid MD5 hash:
    d41d8cd98f00b204e9800998ecf8427e (expected:
    89c783eee1c47bfc733f08334ec2e31c)

    Call Stack (most recent call first):
    3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
    cmake/OpenCVFindLibsVideo.cmake:193 (include)
    CMakeLists.txt:527 (include)


    Downloading opencv_ffmpeg.dll...
    CMake Error at cmake/OpenCVUtils.cmake:888 (file):
    file DOWNLOAD MD5 mismatch

    for file: [C:/research/opencv300/sources/3rdparty/ffmpeg/downloads/89c783eee1c47bfc733f08334ec2e31c/opencv_ffmpeg.dll]
    expected MD5 sum: [89c783eee1c47bfc733f08334ec2e31c]
    actual MD5 sum: [d41d8cd98f00b204e9800998ecf8427e]

    Call Stack (most recent call first):
    3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
    cmake/OpenCVFindLibsVideo.cmake:193 (include)
    CMakeLists.txt:527 (include)


    CMake Error at cmake/OpenCVUtils.cmake:892 (message):
    Failed to download opencv_ffmpeg.dll.  Status=1;"unsupported protocol"
    Call Stack (most recent call first):
    3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
    cmake/OpenCVFindLibsVideo.cmake:193 (include)
    CMakeLists.txt:527 (include)


    Configuring incomplete, errors occurred!

    I tried downloading opencv_ffmpeg.dll manually, but the configure process didn’t work.

    Can you help me, how to fix that ?

  • Using FFMPEG to losslessly convert YUV to another format for editing in Adobe Premier

    17 octobre 2013, par Wolfman's Brother

    I have a raw YUV video file that I want to do some basic editing to in Adobe CS6 Premiere, but it won't recognize the file. I thought to use ffmpeg to convert it to something Premiere would take in, but I want this to be lossless because afterwards I will need it in YUV format again. I thought of avi, mov, and prores but I can't seem to figure out the proper command line to ffmpeg and how to ensure it is lossless.

    Thanks for your help.