
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (60)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9084)
-
Streaming videos from a Java backend
11 mai 2014, par IAmYourFajaI was wondering how most multimedia Java shops handle video streaming. Say I want to build a website that has a page that uses the HTML5 video player like so :
...
... content up here
<video width="500" height="500" controls="controls" src="path/to/video.mp4"></video>
... more content down hereSay the URL for this page is
http://myapp.example.org/video
. When HTTP requests for the/video
path reach themyappp.example.org
servers, I guess I have a few options :- Route the request to a web app server (Tomcat/Jetty), and try to figure out how to stream the
video.mp4
video directly off that server using pure Java ; or - Route the request to a media server, and somehow stream
video.mp4
from that media server directly back to the client ; or- On this end I’ve heard of servers like Red5 or Wowza
- Route the request to a media server (again, Red5/Wowza), and somehow stream
video.mp4
through the web app server acting as a middleman
There may be other options that I’m aware of (in which case, what are they ???). My questtion :
How is A/V streaming typically handled from behind a Java backend ?
- Route the request to a web app server (Tomcat/Jetty), and try to figure out how to stream the
-
Optimizing MP4 Video for Fast Streaming using java
15 juin 2021, par mukeshIs there any Java API to Optimising MP4 Video for Fast Streaming (faststart).


I have tried following command and it's worked well. but i want to achieve it by java like when i upload file it Optimise it and save to directory.


String cmd = "/Downloads/ffmpeg -i /Downloads/wall_1623406694548_slcspq.mp4 -movflags faststart -acodec copy -vcodec copy /Downloads/optimised.mp4";
Runtime run = Runtime.getRuntime();
Process pr = run.exec(cmd);
pr.waitFor();
BufferedReader buf = new BufferedReader(new InputStreamReader(pr.getInputStream()));
String line = "";
while ((line = buf.readLine()) != null) {
 System.out.println(line);
}



-
Trying to read streaming video using OpenCVSharp4
7 septembre 2022, par AlvinfromDiasparI'm just not having any luck whatsoever with this.
I'm calling OpenCvSharp.VideoCapture("udp ://0.0.0.0:11111") to try to read a video stream.
This does not work, and the documentation seems like it doesnt support streaming.



I've also tried (without success) trying to grab images using OpenCvSharp, but i've no idea how to do that. Documentation for it doesn't show any indication this is possible as well.



The snippet for this is here :





var vc = new OpenCvSharp.VideoCapture("udp://0.0.0.0:11111");

 if (!vc.IsOpened())
 {
 vc.Open("udp://0.0.0.0:11111");
 }

 while (true)
 {
 var matImage = new OpenCvSharp.Mat();
 if (vc.Read(matImage))
 {
 try
 {
 var bmp = OpenCvSharp.Extensions.BitmapConverter.ToBitmap(matImage);
 using (var ms = new MemoryStream())
 {
 var bmpImg = new BitmapImage();
 bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp);
 bmpImg.StreamSource = ms;
 this.videoFrameImage.Background = new ImageBrush(bmpImg);
 this.isReadingVideoStream = true;
 }
 }
 catch
 {
 // just swallow exception
 }
 }
 }






Before trying OpenCvSharp (which seemed extremely promising), I tried using ffmpeg with mild/partial success. I was able to extra a frame from the real-time streaming video and save it to a file. Unfortunately, the behavior was not consistent. Sometimes it saves images, sometimes it doesn't. And when it does save images it's usually just a handful (even though the video is constantly being streamed).



The command line for this is here :





ffmpeg.exe -i udp ://0.0.0.0:11111 -ss 00:00:01 -vframes 1 -q:v 1 -y
 filename.jpg





I may go back to trying again with ffmpeg as im getting absolutely nowhere with OpenCvSharp.
Wondering if anybody out there has been successfully implementing with either one of these (or another way) ?



* Update *



I found a set of Nuget packages which does indicate support for streaming video.
The nugets are :



- 

- OpenCvSharp4
- OpenCvSharp4.Windows
- OpenCvSharp4.runtime.win









But now i am currently facing a run-time error :



Method not found: 'Void OpenCvSharp.VideoCapture..ctor(System.String, OpenCvSharp.VideoCaptureAPIs)'.




Incidentally, i just raised this issue :