Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (55)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5413)

  • FFmpeg - Rotating at angle

    23 septembre 2017, par connor

    I’ve been working through FFmpeg, but I have been unable to get a rotation to run from the examples they have on their site. I am trying to "wiggle" a video back and forth at a fixed point on the bottom - think a head moving left to right (and so on).

    I am attempting to do this with the filter "rotate" (https://ffmpeg.org/ffmpeg-filters.html#rotate). Attempting to use their examples, I get an error.

    This is what I have so far :

    ffmpeg -i vid1.mp4 -i vid2.mov -loop 1 -i image.png -filter_complex "\
       [2:v]alphaextract, scale=240x160[mask];\
       [0:v] scale=240x160, rotate=A*sin(2*PI/T*t) [ascaled];\
       [ascaled][mask]alphamerge[masked];\
       [1:v]scale=480x360[background];\
       [background][masked]overlay=120:20"\
       -c:a copy 65B6354F61B4AF02_HD_sq.MOV

    I am using "rotate" directly from an example in an attempt to get something to run at all.

    The error I get back is :

    [Parsed_rotate_3 @ 0x7ff4476045e0] [Eval @ 0x7fff5b3e3f00] Undefined constant or missing '(' in 'T*t)'
    [Parsed_rotate_3 @ 0x7ff4476045e0] Error occurred parsing angle expression 'A*sin(2*PI/T*t)'
    [Parsed_rotate_3 @ 0x7ff4476045e0] Failed to configure output pad on Parsed_rotate_3
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #1:0

    If I remove ’A’, ’T’, ’sin’, etc, rotate does actually work, but far from the desired behavior.

    Am I missing something to expose those params ?

  • Linking ffmpeg's libswresample from MacOS X 10.9 with C++

    8 janvier 2014, par user2530102

    I am trying to link to ffmpeg's libswresample from a C++ application. I have installed ffmpeg through Homebrew on Mac OS X 10.9. A simple test application links if it's compiled as C, but not if it's compiled as C++. Here is the sample code :

    #include
    #include <libswresample></libswresample>swresample.h>

    int main()
    {
     swr_alloc();
     printf("Hello world\n");
     return 0;
    }

    When compiled as C with clang -I/usr/local/include -L/usr/local/lib -lswresample -o hello hello.c this creates the application as expected. When compiled with C++ using clang++ -I/usr/local/include -L/usr/local/lib -lswresample -o hello hello.cc it results in an error like the following :

    Undefined symbols for architecture x86_64:
     "swr_alloc()", referenced from:
         _main in hello-9jqOY4.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    But running nm -a /usr/local/lib/libswresample.dylib includes 000000000000d8a9 T _swr_alloc and file /usr/local/lib/libswresample.dylib shows /usr/local/lib/libswresample.dylib: Mach-O 64-bit dynamically linked shared library x86_64 which I assume is expected. I have the same issue compiling the example with gcc/g++, and I also have the same issue when compiling ffmpeg with either clang or gcc, which leads me to think that there is just something I don't know about linking that should be obvious, but I haven't found any references suggesting that it should be different linking a library in C++ vs. C, and linking other libraries (sox, for example) presents no difficulties with an identical setup.

    I have seen posts related to linking issues in Mac OS X 10.9 because of the change from libstdc++ to libc++, but adding -stdlib=libstdc++ or -stdlib=libc++ seems to make no difference. It also makes no difference to add -mmacosx-version-min=10.6 or 10.9.

    Any help is greatly appreciated.

  • Evolution #2941 : RSS enclosure et media:content

    1er mars 2013, par marcimat -

    Je ne sais pas si c’est étrange :) C’est juste du code ! As tu une adresse RSS qui a ce genre d’infos avec 2 types mélangés ? Dans http://medias.spip.net/spip.php?page=podcast c’est effectivement le cas. Mais on peut ici supposer que est la pièce jointe principale. Est-ce qu’il faut indiquer les (...)