
Recherche avancée
Autres articles (15)
-
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 -
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) (...)
-
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 (...)
Sur d’autres sites (4757)
-
asp.net core live mp4 streaming
8 octobre 2020, par kdmaPrologue :


I have a hikvision ipcamera that streams raw h264 from a rtsp :// url, I need to play this live feed in the browser.


I managed to get a basic RTSP->ffmpeg-> (faststart) mp4 pipeline working and I can play the video when saved to a file.


I don't understand how to make my controller action "streamable".


I've tried various approaches like writing to Response.Body, Transfer-Encoding : chunked but nothing seems to work.
Here is the basic code :


public IActionResult Play5(){ 
 var ms = new MemoryStream();
 var muxer = new RTSPToMp4(ms);
 Task.Run(() => muxer.Stream());
 return new FileStreamResult(ms, "video/mp4");
}



The memory stream contains the live feed but the response is empty here is the request\response from chrome :


Request


method: GET
:path: /api/stream/play5
:scheme: https
accept: */*
accept-encoding: identity;q=1, *;q=0
accept-language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
cache-control: no-cache
pragma: no-cache
range: bytes=0-
referer: https://localhost:5001/Stream
sec-fetch-dest: video
sec-fetch-mode: no-cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36



Response


content-length: 0
content-type: video/mp4
date: Thu, 08 Oct 2020 14:31:06 GMT
server: Kestrel
status: 200



Am I missing something ?


-
Chop video in parts
15 mai 2019, par Reckless VelociraptorI tried to use this command :
ffmpeg -i "in.mp4" -codec copy -map 0 -f segment -segment_list out.txt -segment_times 01:00:00,01:00:00,01:00:00 out%03d.mp4
and expected 1hour long parts. But this is not what I get. What is correct syntax for -segment_times ?
-
Cutting multiple videos with x amount of time from the end (ffmpeg ?)
25 octobre 2020, par Jack FitzpatrickI have no history with ffmpeg, but I am assuming this would be the right tool for the job. I am trying to cut a folder of videos with different lengths. I want to cut them all to be 12 seconds from the end. That is : on a 30 second video I would be left with 00:18 - 00:30. 00:00-00:17 would be deleted.


I am on mac OS Mojave. It seems that ffmpeg is the right tool for the job to batch edit these videos. Can someone walk me through this ? I have some basic understanding but will need the code/script explained so that I can apply it to my own use. Thank you very much.