Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (67)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9841)

  • libavformat/mpegtsenc : allow to set service_type in sdt

    2 février 2015, par dhead666
    libavformat/mpegtsenc : allow to set service_type in sdt
    

    This adds an option to set the service type in mpegts as defined in ETSI 300 468.

    I added what I believe are the most useful service types as pre defined values,
    the others can be sent by using their hexdecimal form directly (e.g. -mpegts_service_type digital_radio, -mpegts_service_type 0x07).

    I’ve been using this patch in order to pipe internet radio stream (originally as HLS/m3u8) from ffmpeg to tvheadend,
    when the service type set right tvheadend recognize the mpegts stream as a radio channel.

    The patch in its original form was written by linuxstb from freenode’s hts channel which allowed me pushing it upstream.

    This close issue 4118.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/muxers.texi
    • [DH] libavformat/mpegtsenc.c
  • FFMPEG av_read_frame() return an I/O error (-5) ?

    7 mars 2019, par vominhtien961476

    I’m using ffmpeg library to capture screen (desktop). Everything works fine when I run my app in debug/release mode. The I/O error comes when this app run in c# window service mode (win 10 OS). I googled but still don’t know why the error come. In the service mode there is no problem when connecting to some rtsp link (Camera) except desktop capture.

    AVInputFormat * pAVInputFormat = av_find_input_format("gdigrab");
    if (pAVInputFormat != NULL)
    {
      int err = avformat_open_input(&amp;pFormatCtx, "desktop", pAVInputFormat, NULL);
      if(err== 0)
      {
         err = av_read_frame(&amp;pFormatCtx, &amp;packet);
         if (err &lt; 0)
         {
             char errs[AV_ERROR_MAX_STRING_SIZE];
             av_make_error_string(errs, AV_ERROR_MAX_STRING_SIZE, err );
             String^ errStr = gcnew String(errs);
             WriteLog("Error in function av_read_frame() return = " + errStr);
             return -1;
        }
      }
    }

  • Trouble with Cross-Origin Headers : Stripe and ffmpeg Integration in Next.js

    7 février 2024, par Duke

    I'm using this excellent template from vercel as a base for my project :

    &#xA;

    https://vercel.com/templates/next.js/subscription-starter&#xA;

    &#xA;

    I've used it for many projects and the Stripe integration works flawlessly. However for a new project I needed to incorporate ffmpeg which relies on SharedArrayBuffer :

    &#xA;

    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer&#xA;

    &#xA;

    So I need to set the appropriate HTTP response header which i've set in my next.config.js file as below :

    &#xA;

          {&#xA;        source: &#x27;/(.*)&#x27;,&#xA;        headers: [&#xA;          {&#xA;            key: &#x27;Cross-Origin-Embedder-Policy&#x27;,&#xA;            value: &#x27;credentialless&#x27;&#xA;            // value: &#x27;require-corp&#x27;&#xA;          },&#xA;          {&#xA;            key: &#x27;Cross-Origin-Opener-Policy&#x27;,&#xA;            value: &#x27;same-origin-allow-popups&#x27;&#xA;          }&#xA;        ]&#xA;      }&#xA;

    &#xA;

    Now the issue is that settings these breaks Stripe. It blocks the request :

    &#xA;

    https://js.stripe.com/v3/m-outer-3437aaddcdf6922d623e172c2d6f9278.html&#xA;

    &#xA;

    Which appearently loads more resources that are needed for the checkout session to function. The customer portal works but checkout doesn't. I've literally tired every possible permutation of headers with different values but in all cases either Stripe works but ffmepg doesn't (cause SharedArrayBuffer doesn't work) or vice versa. It's been a week and I've tired everything and can't find anything online that works. Not even ChatGPT can help which ironcelly asks me to contact Stripe customer support. I would highly appreciate if anyone could even point me in the right direction. I Thank you in advance good Sir/Maam.

    &#xA;

    Note that Checkout works fine with just :

    &#xA;

    key: &#x27;Cross-Origin-Opener-Policy&#x27;,&#xA;value: &#x27;same-origin&#x27;&#xA;

    &#xA;

    Just Cross-Origin-Embedder-Policy breaks it

    &#xA;