Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (30)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • fate : add matroska-remux test.

    6 mai 2016, par Ronald S. Bultje
    fate : add matroska-remux test.
    

    This tests automatic insertion of the vp9_superframe BSF as well as
    ensuring that the colorspace properties in the video header can be
    modified when remuxing (-c:v copy).

    • [DH] tests/Makefile
    • [DH] tests/fate/matroska.mak
  • Is there a MS-DRM client library for linux ?

    19 juin 2016, par qrtt1

    I have used the libraries (libavformat and libavcodec) to decode some MMS streaming urls. But some of them are protected by DRM. When I try to decode them, the library will warn about it

    In libavformat/asfdec.c :

    if (!s->keylen) {
       if (!guidcmp(&g, &ff_asf_content_encryption)) {
           av_log(s, AV_LOG_WARNING, "DRM protected stream detected, decoding will likely fail!\n");
       } else if (!guidcmp(&g, &ff_asf_ext_content_encryption)) {
           av_log(s, AV_LOG_WARNING, "Ext DRM protected stream detected, decoding will likely fail!\n");
       } else if (!guidcmp(&g, &ff_asf_digital_signature)) {
           av_log(s, AV_LOG_WARNING, "Digital signature detected, decoding will likely fail!\n");
       }
    }

    The variable s is the struct AVFormatContext. My question is where to get the key ? It seems to decode it with a DRM key.


    I look the ASF Spec, and try to patch asfdec.c. Now, I have the acquiring license URL and key id. The problem can rewrite as ’Is there a MS-DRM client library for linux ?’ (old : How to decode a MMS streaming url with DRM by ffmpeg ?)

    Is it possible to use the license url and key id to get content key ?

  • Redirect ffmpeg console output to a string or a file in C++

    21 juillet 2019, par NeoFahrenheit

    I’m trying to use ffmpeg to do some operations for me. It’s really simple for now. I want to omit the ffmpeg output in my console, either redirecting them to strings or a .txt file that I can control. I’m on Windows 10.

    I have tried _popen (with and "r" and "w") and system("ffmpeg command > output.txt")’, with no success.

    #include <iostream>
    #include
    using namespace std;

    #define BUFSIZE 256

    int main()
    {
       /* 1.
       x = system("ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4 > output.txt");
       */

       /* 2.
       FILE* p;
       p = _popen("ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4", "w");
       _pclose(p);
       */

       /* 3.
       char cmd[200] = { "ffmpeg -i video.mp4 -i audio.mp4 -c copy output.mp4" };

       char buf[BUFSIZE];
       FILE* fp;

       if ((fp = _popen(cmd, "r")) == NULL) {
           printf("Error opening pipe!\n");
           return -1;
       }

       while (fgets(buf, BUFSIZE, fp) != NULL) {
           // Do whatever you want here...
           // printf("OUTPUT: %s", buf);
       }

       if (_pclose(fp)) {
           printf("Command not found or exited with error status\n");
           return -1;
       }
       */


       return 0;
    }
    </iostream>

    Further in the development, I would like to know when the ffmpeg process finished (maybe I can monitor the ffmpeg return value ?) or to display only the last line if the some error occurred.