Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (111)

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

  • batch convert files using ffmpeg and find -exec and parallel

    1er février 2021, par Harvey King

    From another stack exchange post, I came to know that I can batch convert media file with original file name intacted and only change the file extension by using the following

    


    find ./ -name '*.mp4' -exec bash -c 'ffmpeg -i $0 -vn -acodec libmp3lame -ac 2 -ab 160k -ar 48000 ${0/mp4/mp3}' {} \;


    


    Since most computers nowadays have multiple cores, how do I modify the above command, so I can use all 4 cores in the -exec part of find thus I can convert 4 media files at the same time ?

    


    I know GNU parallel can do something similar, but I don't know how to combine them into one single command.

    


    Thanks in advance

    


    Harv

    


  • Windows FFMPEG will not find my files at all [migrated]

    22 mars 2014, par user2441247

    I have a folder full of images that go from 0 to whatever number, and I need to turn these images to a video. They are all .PNG files. Here is my command I am using :

    ffmpeg.exe -f image2 -framerate 30 -pattern_type sequence -start_number 1 -r 30 -i "img%%04d.jpg" -s 1280x720 test.avi

    When I run this I get this error :

    [image2 @ 002be580] Could find no file with path 'img%04d.jpg' and index in the range 1-5

    img%04d.jpg: No such file or directory

    What can I change to get this to work ?

  • Qt C++ ffmpeg cannot find library

    7 juin 2013, par Carnifrex

    I use Qt 5.0.2 with Mingw 4.7 on windows.

    I'm working on a c++ program and i'm trying to get the duration of video files. I found ffmpeg. Now i tried to compile a simple program but I think it fails with the libraries. I've tried to include both the shared and dev but they both will fail. ( Zeranoe FFmpeg builds)

    This is my pro file :

    TEMPLATE = app
    CONFIG += console
    CONFIG -= app_bundle
    CONFIG -= qt

    SOURCES += main.cpp

    INCLUDEPATH += C:\programming\ffmpeg-20130606-git--win32-shared\bin

    LIBS += -LC:\programming\ffmpeg-20130606-git--win32-shared\bin -lavcodec-55.dll -     lavformat-55.dll -lavutil-52.dll

    i get errors like :

    " :-1 : error : cannot find -lavcodec-55.dll"

    " :-1 : error : cannot find -lavformat-55.dll"

    I've also tried :

    INCLUDEPATH += C:\programming\ffmpeg-20130606-git--win32-dev\include
    INCLUDEPATH += C:\programming\ffmpeg-20130606-git--win32-dev\lib

    LIBS += -LC:\programming\ffmpeg-20130606-git--win32-dev\lib -lavcodec -lavformat -lavutil

    LIBS += -LC:\programming\ffmpeg-20130606-git--win32-dev\lib -llibavcodec.dll.a -llibavformat.dll.a -llibavutil.dll.a

    Here it gives a error "During startup program exited with code 0x0000135'

    I even tried to include each library individually. But no results..

    This is my main file :

    #include <iostream>
    using namespace std;
    extern "C" {
     #include <libavcodec></libavcodec>avcodec.h>    // required headers
     #include <libavformat></libavformat>avformat.h>
    }
    int main(int argc, char**argv) {
      av_register_all();             // offending library call
      return 0;
    }
    </iostream>

    A program simple as this will have 2 outcomes :

    1. the program runs but crashes if i call 'av_register_all()'
    2. It just tells me he cannot find the libraries.

    Can someone tell me what it is i'm doing wrong ? Or even give me a hint ? I can't really find a lot of good documentation on this one.

    Thanks in advance !