
Recherche avancée
Autres articles (33)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4749)
-
How to create a video in .net6 [closed]
22 mai 2023, par mansI am trying to create a video from a series of images i .net core (6.0)


I am looking for a solution like this :


VideoCreator video=new VideoCreator("MyVideo.mp4");

for (int i=0;i<1000;i++)
{
 var image=getImage();
 video.addFrame(image);
}
video.close();



I already tried these solutions, and I could not make them work or compile :


OpenCVSharp


This is compiling properly in .net 6 but is sot reliable when writing videos. I could get a blank video, especially if the getImage function took a long time to return an image (for example, 20 sec) and the above code is run in a thread. All in one : the system did not produce video reliably.


AForge.net


This library and its related library (Accord.NET) don't work on.net core. My attempt to use them did not produce any compilable software (for example AForge.video.ffmpeg or AForge.Video.VFW) are not available in .net core).


So my questions :


- 

- What is the best way to create a video in .net core reliably ?
- I am using .net core as I am using Microsoft ML engine, is the ML engine available for framework ?
- My target platform is Windows, is there any way that I can combine .net and framework applications/libraries ?








-
How can I make a Transcoded Video Filestream using C# and .NET Core
25 avril 2021, par Drew ChaseOverview


I'm currently working on a media streaming server using ASP.net Core REST Server. I'm currently using .net 5.0 and ASP.net Core MVC


What I need


I need to be able to dynamically down-res the original video file. from 1080p to 720p for example.
Also I need to be able to make the media file able to be transcoded to a different encoding based on client capabilities.


What I've Tried


I've been looking for a library that can manage this feat, but I can't seem to find one. I thought FFMpeg would be able to do this. I know this is possible because applications like plex and emby seem to manage this.


What I've Done


[HttpGet("/api/streaming/video")]
public IActionResult GetFile()
{
 string path = "C:\Path\To\Video\FILE.mp4";
 System.IO.FileStream stream = new(path, System.IO.FileMode.Open, System.IO.FileAccess.Read);
 Microsoft.AspNetCore.Mvc.FileStreamResult file = File(stream, "video/mp4", true);
 return file;
}



Framework Tried


- 

- Xabe.FFmpeg
- FFMpegSharp






-
C# - Capture RTP Stream and send to speech recognition
2 septembre 2017, par dgreenheckWhat I am trying to accomplish :
- Capture RTP Stream in C#
- Forward that stream to the System.Speech.SpeechRecognitionEngine
I am creating a Linux-based robot which will take microphone input, send it Windows machine which will process the audio using Microsoft Speech Recognition and send the response back to the robot. The robot might be hundreds of miles from the server, so I would like to do this over the Internet.
What I have done so far :
- Have the robot generate an RTP stream encoded in MP3 format (other formats available) using FFmpeg (the robot is running on a Raspberry Pi running Arch Linux)
- Captured stream on the client computer using VLC ActiveX control
- Found that the SpeechRecognitionEngine has the available methods :
- recognizer.SetInputToWaveStream()
- recognizer.SetInputToAudioStream()
- recognizer.SetInputToDefaultAudioDevice()
- Looked at using JACK to send the output of the app to line-in, but was completely confused by it.
What I need help with :
I’m stuck on how to actually send the stream from VLC to the SpeechRecognitionEngine. VLC doesn’t expose the stream at all. Is there a way I can just capture a stream and pass that stream object to the SpeechRecognitionEngine ? Or is RTP not the solution here ?
Thanks in advance for your help.