
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (76)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (12570)
-
ffmpeg complex_filter fadeout not working
30 novembre 2017, par MacmeeEssensially what I am trying to do is concat a.mp4 with b.mp4, display my set of %c.png overlayed ontop for the entire duration of the video and also show d.png overlayed ontop but only for 1 second and then have it fade out. ALL of this works except that d.png remains overlayed and never fades out :
ffmpeg -i ./temp/a.mp4 -i media/b.mp4 -i media/splash/%c.png -i ./temp/d.png -y -filter_complex [0:v]scale=568x320,setpts=PTS-STARTPTS[v0];[1:v]scale=568x320,setpts=PTS-STARTPTS[v1];[2:v]scale=212:242,setpts=PTS-STARTPTS[v2];[3:v]trim=duration=0.5,fade=t=out:st=0:d=0.5[3:v];[v0][0:a][v1][1:a]concat=n=2:v=1:a=1[bg][a];[bg][v2]overlay=(W-w)/2:(H-h)/2,format=yuv420p[v];[v][3:v]overlay=(W-w)/2:(H-h)/2,format=yuv420p[v] -map [v] -map [a] -r 29.97 -vcodec libx264 -s 568x320 -flags +loop -b 400k -bufsize 4M -bt 256k -refs 1 -coder 0 -me_range 16 -subq 4 -partitions +parti4x4+parti8x8+partp8x8 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -qcomp 0.6 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -acodec aac -strict experimental -ab 80k -ar 48000 -ac 2 -strict experimental -f mp4 -metadata:s:v:0 rotate=90 ./temp/1428723401371.mp4
Lord Neckbeard, I know you’re out there. I’ve been reading your stackoverflow posts on fade in/out with complex_filter for a few hours now and nothing I’ve tried has succeeded. Please Lord, accept the above as my humble offering to you and help me fadeout d.png after 1 second.
-
c# Create NAL unit from following structure
30 mai 2014, par user1411499Im wanting to send my desktop as an avc h.264 stream.
The pseudocode would go something like :
1) Capture screen as bitmap
2) Encode bitmap into h.264
3) Create NALU header
4) Send header and payload
5) Rinse and repeat.My questions are :
How would I go about creating the payload ? Would I use FFMPEG to convert the Bitmap into h.264 format ?I have the following spec for creating the NALU :
How would I go about creating this in a c# array of bytes ? (Im not that familiar with bit shifting operations) e.g ByteArray[0] = value, ByteArray1 = value
Im fairly new to this streaming thing so any help/code samples would be great. Im not looking for references to ISO standards(I understand they are an important part), after doing a few hours of searching I found this link http://aviadr1.blogspot.co.nz/2010/05/h264-extradata-partially-explained-for.html and it was a breath of fresh air as it was someone explaining it from the beginning !
I am also not searching for a library to do this for me as I need learn the fundamentals.
Any help would be great thanks !
-
ffmpeg problem video duration of an hour and a half
14 mai 2024, par Bruno MunnéWhen start record i call an api /start-record which does :


const ffmpeg = spawn("ffmpeg", [
 "-i",
 rtsp,
 "-c:v",
 "copy",
 "-an",
 "-f",
 "flv",
 `${filename}.flv`,
 ]);
ffmpegProcesses[rtsp] = {
 process: ffmpeg,
 filename,
 };



When stop the record i call an api /stop-record which does :


ffmpegProcesses[rtsp].process.kill("SIGKILL");
ffmpegProcesses[rtsp].process.on("exit", async () => {
 const ffmpeg = spawn("ffmpeg", [
 "-i",
 `${filename}.flv`,
 "-c:v",
 "libx264",
 "-preset",
 "fast",
 "-crf",
 "30",
 "-an",
 `${filename}.mp4`,
 ]);

 ffmpeg.on("exit", async () => {
 uploadToS3()
 })

})



If the recording is less than or equal to approximately 1 hour it works perfectly, but if the recording is 1 and a half hours it already breaks and it does not correctly generate the files, nor the flv nor the conversion to mp4


I hope my program works the same way it does for 1 hour recordings