Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (65)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12859)

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