
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (62)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip 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, parCette 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, parMediaSPIP 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

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



// out of component
const streams: Streams = {};

...

 const { preset } = props;

 const elementsRef = useRef<any>(new Array(preset?.partition).fill(0).map((v) => createRef()));


 // Mount
 useEffect(() => {
 const { JSMpeg } = window;

 const sortedStream = _.sortBy(preset?.stream, ["position"]);
 console.log(sortedStream);


 sortedStream.forEach((v, i: number) => {

 const player = new JSMpeg.Player(v.camera_monitoring.ws, {
 canvas: elementsRef?.current[v.position]?.current, // Canvas should be a canvas DOM element
 });
 console.dir(elementsRef?.current[v.position]?.current);

 streams[v.id] = player;
 });
 }, []);

 // UnMount
 useEffect(() => {
 return () => {
 Object.keys(streams).forEach((v) => {
 console.log("unmount key:", v);
 if (streams[v] !== null) {
 streams[v].destroy();
 streams[v] = null;
 }
 });
 };
 }, []);



... 
</any>


https://github.com/phoboslab/jsmpeg


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


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


-
fate/h264 : Add Active Format Descriptor test
2 juillet 2022, par Andreas Rheinhardtfate/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>
-
Rails preview for active storage videos not working
17 mai 2022, par FreebianI have a pretty standard model where you can upload videos - so far so good.
The video gets uploaded and is also displayed on the show view. Alle seems to be fine....but :


I cannot get a preview fo to work.


ActiveStorage::Blob.last.previewable?
--> false



ActiveStorage::Blob.video?
--> true



FFMPEG is installed on the system and in the gem file


which ffmpeg 
--> /usr/local/bin/ffmpeg

gem 'streamio-ffmpeg'




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


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




Previewers is having video included


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




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