
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (84)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (5638)
-
Revision 17850 : only print warning if skeleton is enabled
16 février 2011, par j — Logonly print warning if skeleton is enabled
-
FFMPEG recording in ASP.NET Core mvc application
19 avril 2020, par TimberI'm using ASP.NET Core and ffmpeg to record a live video stream. When the page receives a get request, the stream should begin recording and saving to a folder using ffmpeg. I want to make it so that when visiting the stop endpoint, the ffmpeg process is closed cleanly.



Unfortunately I'm unable to send a 'q' to stdin after leaving the Get method. Using taskkill requires the use of /F making the ffmpeg process (which is not a window) force quit and not save the video properly, resulting in a corrupt file.



I tried using
Process.Kill()
but that results in a corrupt file as well. Also, I triedProcess.CloseMainWindow()
which worked, but only when the process is started as a window, and I'm unable to start the process as a window in the server I'm using.


I've include the code I have so far below, so hopefully someone could lead me in the right path.



using System;
...
using Microsoft.Extensions.Logging;

namespace MyApp.Controllers
{
 [Route("api/[controller]")]
 [Authorize]
 public class RecordingController : Controller
 {
 private readonly ApplicationDbContext _context;
 private readonly ILogger<homecontroller> _logger;

 public RecordingController(ApplicationDbContext context, ILogger<homecontroller> logger)
 {
 _context = context;
 _logger = logger;
 }

 [HttpGet]
 public async Task<actionresult> Get()
 {

 // Define the os process
 var processStartInfo = new ProcessStartInfo()
 {
 // ffmpeg arguments
 Arguments = "-f mjpeg -i \"https://urlofstream.com/video.gci\" -r 5 \"wwwroot/video.mp4\"",
 FileName = "ffmpeg.exe",
 UseShellExecute = true
 };

 var p1 = Process.Start(processStartInfo);

 // p1.StandardInput.WriteLineAsync("q"); <-- This works here but not in the Stop method

 return Ok(p1.Id);
 }


 // GET: api/Recording/stop
 [HttpGet("stop/{pid}")]
 public ActionResult Stop(int pid)
 {
 Process processes = Process.GetProcessById(pid);
 processes.StandardInput.WriteLineAsync("q"); // Does not work, is not able to redirect input
 return Ok();
 }
 }
}


</actionresult></homecontroller></homecontroller>


-
avcodec/vdpau : warn if the user application has not setup avctx->hwaccel_context...
6 octobre 2014, par Michael Niedermayer