Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (62)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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.

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

Sur d’autres sites (6690)

  • Is there any memory problem that "Too many active WebGL contents." keeps coming out in my web console

    18 novembre 2022, par jerry

    enter image description here

    


    Now I'm using RTSP stream with jsmpeg, ffmpeg, node-rtsp-stream in React.js

    


    I set multiple streaming in react component about 1 to maximum 25

    


    and when I change route to many , It apeard my console

    


    I'm a little afraid of if it caused by memory leak problem

    


    I cannot figure out it is okay or critical problem

    


    Could you tell me how to solve this problem or is it fine

    


    &#xA;// out of component&#xA;const streams: Streams = {};&#xA;&#xA;...&#xA;&#xA;  const { preset } = props;&#xA;&#xA;  const elementsRef = useRef<any>(new Array(preset?.partition).fill(0).map((v) => createRef()));&#xA;&#xA;&#xA;  // Mount&#xA;  useEffect(() => {&#xA;    const { JSMpeg } = window;&#xA;&#xA;    const sortedStream = _.sortBy(preset?.stream, ["position"]);&#xA;    console.log(sortedStream);&#xA;&#xA;&#xA;    sortedStream.forEach((v, i: number) => {&#xA;&#xA;      const player = new JSMpeg.Player(v.camera_monitoring.ws, {&#xA;        canvas: elementsRef?.current[v.position]?.current, // Canvas should be a canvas DOM element&#xA;      });&#xA;      console.dir(elementsRef?.current[v.position]?.current);&#xA;&#xA;      streams[v.id] = player;&#xA;    });&#xA;  }, []);&#xA;&#xA;  // UnMount&#xA;  useEffect(() => {&#xA;    return () => {&#xA;      Object.keys(streams).forEach((v) => {&#xA;        console.log("unmount key:", v);&#xA;        if (streams[v] !== null) {&#xA;          streams[v].destroy();&#xA;          streams[v] = null;&#xA;        }&#xA;      });&#xA;    };&#xA;  }, []);&#xA;&#xA;&#xA;&#xA;... &#xA;</any>

    &#xA;

    https://github.com/phoboslab/jsmpeg

    &#xA;

    above library `jsmpeg.min.js` is set by global ( in public directory and set in my html )

    &#xA;

    actually my code are so many antipattern in contrast react style, To make an excuse, It is my limits of one's ability

    &#xA;

  • fate/h264 : Add Active Format Descriptor test

    2 juillet 2022, par Andreas Rheinhardt
    fate/h264 : Add Active Format Descriptor test
    

    Some samples contain Active Format Descriptors, yet the output
    of no test depends upon them, so that they are de-facto untested.
    So add a dedicated test for them.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] tests/fate/h264.mak
    • [DH] tests/ref/fate/h264-afd
  • Rails preview for active storage videos not working

    17 mai 2022, par Freebian

    I have a pretty standard model where you can upload videos - so far so good.&#xA;The video gets uploaded and is also displayed on the show view. Alle seems to be fine....but :

    &#xA;

    I cannot get a preview fo to work.

    &#xA;

    ActiveStorage::Blob.last.previewable?&#xA;--> false&#xA;

    &#xA;

    ActiveStorage::Blob.video?&#xA;--> true&#xA;

    &#xA;

    FFMPEG is installed on the system and in the gem file

    &#xA;

    which ffmpeg   &#xA;--> /usr/local/bin/ffmpeg&#xA;&#xA;gem &#x27;streamio-ffmpeg&#x27;&#xA;&#xA;

    &#xA;

    And of course if I run preview directly, I get an error

    &#xA;

    ActiveStorage::Blob.last.preview(resize: "200x200>").processed&#xA;--> ActiveStorage::UnpreviewableError (ActiveStorage::UnpreviewableError)&#xA;&#xA;

    &#xA;

    Previewers is having video included

    &#xA;

    Rails.application.config.active_storage.previewers&#xA;--> [ActiveStorage::Previewer::PopplerPDFPreviewer, ActiveStorage::Previewer::MuPDFPreviewer, ActiveStorage::Previewer::VideoPreviewer]&#xA;&#xA;

    &#xA;

    I also tried different video formats, but nothing works and I am out of ideas where to look.&#xA;Anybody had the same issue ?

    &#xA;