Recherche avancée

Médias (91)

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 (11358)

  • Unable to run a program in PATH from Java code

    17 novembre 2012, par user1831004

    I am developing a Red5 media server application on a Mac (Dynamic Web Project in Eclipse). The app has to invoke FFMPEG to convert the video to a different format.

    I added "/Applications/FFMPEG" to PATH variable by running the following command in Terminal :

    echo 'export PATH=/Applications/FFMPEG:$PATH' >> ~/.profile

    When I invoke FFMPEG from terminal, it works fine. However, every time I run it from Java code with :

    Process p = Runtime.getRuntime().exec("ffmpeg");
    p.waitFor();

    I get the following error :

    Cannot run program "ffmpeg": error=2, No such file or directory

    I thought this might be a security limitation specific to the type of project, but even a simple Java program produces the same result. What am I missing ?


    Changing "ffmpeg" to full path of the application works, but I don't want to upload FFMPEG into the same directory as Red5 on a production server.

  • C code to cut the MPEG 2 Video at GOP(Group of Pictures) End

    21 août 2014, par user2406774

    I am working on MPEG 2 Transcoding project and I need to cut a video at the boundary of GOP.
    I’ve gone through some Documents and was able to cut the video at the start of next GOP (by checking the I-frame (or) GOP Start code 0x00 0x00 0x01 0xB8), but I need to cut the video at same GOP Boundary.

    Is there any ways to do this ?

  • How to convert the AVPacket of ffmpeg to the webm stream with c++ code ?

    2 décembre 2020, par MichaelGD

    I am confused how to convert the ffmpeg AVPacket to a living stream in order to I can play it with HTML5.

    


    I have already got the AVPacket of ffmpeg with avcodec_encode_video2

    


    AVPacket pkt_;    
ret = avcodec_encode_video2(c_, &pkt_, picture_, &got_frame);


    


    And I also know how to dump the packet to webM file.

    


    file_.write(reinterpret_cast<char>(&amp;(pkt_.size)), sizeof(int));&#xA;file_.write(reinterpret_cast<char>(&amp;timestamp), sizeof(uint64_t));&#xA;file_.write(reinterpret_cast<char>(pkt_.data), pkt_.size);&#xA;</char></char></char>

    &#xA;

    But, How can I create a stream server with the packets for front-end playing ?

    &#xA;