Recherche avancée

Médias (91)

Autres articles (51)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6469)

  • avformat/avienc : Rename reshuffles return variable to ensure it is not mixed up

    22 mai 2016, par Michael Niedermayer
    avformat/avienc : Rename reshuffles return variable to ensure it is not mixed up
    

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/avienc.c
  • multipart/x-mixed-replace - MJPG video stream does not close in

    18 janvier 2024, par karlcess

    I'm using Node.js and React.&#xA;In React I have a simple component that is displayed on the screen when a button is clicked. The component is as follows :

    &#xA;

    import React from &#x27;react&#x27;&#xA;&#xA;const Image = () => {&#xA;  return <img src="http://stackoverflow.com/api/mjpgStream/stream01" style='max-width: 300px; max-height: 300px' />;&#xA;}&#xA;&#xA;

    &#xA;

    Webpack redirects my requests (api=localhost:3456/mjpgStream/stream0).&#xA;In node I created an express server that when receiving the GET continuously sends JPEG images with multipart/x-mixed-replace. Below is the code :

    &#xA;

    const cb: RequestHandler = (req, res) => {&#xA;  const url = req.url.toString().slice(1);&#xA;  res.writeHead(200, {&#xA;    "Content-Type": "multipart/x-mixed-replace;boundary=&#x27;stream&#x27;",&#xA;    Connection: "keep-alive",&#xA;    Expires: "Fri, 27 May 1977 00:00:00 GMT",&#xA;    "Cache-Control": "no-cache, no-store, max-age=0, must-revalidate",&#xA;    Pragma: "no-cache",&#xA;  });&#xA;  let sub = PubSub.subscribe(url, function (msg: any, data: any) {&#xA;    res.write("--stream\r\n");&#xA;    res.write("Content-Type: image/jpeg\r\n");&#xA;    res.write("Content-Length: " &#x2B; data.length &#x2B; "\r\n");&#xA;    res.write("\r\n");&#xA;    res.write(data, "binary");&#xA;    res.write("\r\n");&#xA;  });&#xA;&#xA;  req.on("close", () => {&#xA;    PubSub.unsubscribe(sub);&#xA;    res.end();&#xA;  });&#xA;&#xA;  res.on("error", function (err) {&#xA;    console.error("Error in response:", err);&#xA;  });&#xA;};&#xA;&#xA;router.get(/\/[a-z,0-9]*/, cb);&#xA;

    &#xA;

    The video stream is published in the topic with PubSub and is correctly displayed in the Image component.&#xA;The problem is that when I click the button to close the Image component from the web page, the close event is not captured on the express server side and the mjpg flow continues to exist. I can't understand why.

    &#xA;

  • avcodec/h264 : Fail for invalid mixed IDR / non IDR frames in slice threading mode

    4 avril 2015, par Michael Niedermayer
    avcodec/h264 : Fail for invalid mixed IDR / non IDR frames in slice threading mode
    

    Fixes Ticket4408

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

    • [DH] libavcodec/h264.c