
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (98)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (4150)
-
Libx264 width not divisible by 2
1er mai 2022, par Meh SadnessI have this ffmpeg command :


ffmpeg -framerate 1 \
-i \"path/to/background\" \
-i \"path/to/source/mp3\" \
-filter_complex \"[1:v]scale=600:-1, pad=(16/15)*iw:(16/15)*ih:(ow-iw)/2:(oh-ih)/2:white, [0:v]overlay=(W-w)/7:(H-h)/2:shortest=1,drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{artist} - {title}\':x=W/2+W/10.5:y=H/11,drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{album}\':x=W/2+W/10.5:y=2*(H/10),drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{date}\':x=W/2+W/10.5:y=3*(H/10),format=yuv420p\" \
-c:v libx264 \
-r 30 \
-movflags +faststart \"{output}\"



It should convert the music into a video that will contain the cover art and various metadata.


However, I am getting the error indicated in the title and, at the same time, various changes to the pad and scale filter unfortunately didn't work. Moreover, no matter what part of the command I change, I still get an error like this :


[libx264 @ 000001581b1d7b80] width not divisible by 2 (555x260)



And at the same time, the dimensions are always the same - 555x260


-
How can I avoid an ffmpeg out of memory error
21 mars 2021, par SilentfuryI use ffmpeg with complex filtering. Input are different sets of FULLHD surveilance camera videos each 10 to 15 seconds long. Set size (number of videos per set) varies. To remove unchanged frames I apply mpdecimate. To avoid being triggered by moving bushes but still keep objects I want to remain, I apply a complex filter :


- 

- split the video (the original and a dummy to detect motion/stills)
- scale the dummy down (so the 8x8-block-metric of mpdecimate matches the size of moving objects I want to keep)
- add white boxes to dummy to mask unintendedly moving objects
- apply mpdecimate to dummy to remove non-changing frames
- scale dummy back to original size
- overlay the remaining frames of dummy with matching frames of original














All this works fine if the number of input videos is small (less than 100). The memory consupmtion of the ffmpeg process varies somewhere between 2GiB and 5GiB.


If the number of input files gets larger (say 200), the memory consumption suddenly jumps to insane numbers until memory (32GiB plus 33GiB swap) runs out and ffmpeg gets killed. I can not predict if and why this happens. I have one example, where a set of 340 videos worked using 6GiB. Any other set above 100 videos I tried eats all RAM in under two minutes and dies.


There is no particular error message from ffmpeg.


dmesg says :


Out of memory: Kill process 29173 (ffmpeg)
Killed process 29173 (ffmpeg) total-vm:66707800kB



My ffmpeg command :


ffmpeg -f concat -safe 0 -i vidlist -vf 'split=2[full][masked];[masked]scale=w=iw/4:h=ih/4,drawbox=w=51:h=153:x=101:y=0:t=fill:c=white,drawbox=w=74:h=67:x=86:y=49:t=fill:c=white,drawbox=w=51:h=149:x=258:y=0:t=fill:c=white,drawbox=w=13:h=20:x=214:y=103:t=fill:c=white,drawbox=w=29:h=54:x=429:y=40:t=fill:c=white,drawbox=w=35:h=49:x=360:y=111:t=fill:c=white,drawbox=w=26:h=54:x=304:y=92:t=fill:c=white,drawbox=w=48:h=27:x=356:y=105:t=fill:c=white,drawbox=w=30:h=27:x=188:y=124:t=fill:c=white,drawbox=w=50:h=54:x=371:y=7:t=fill:c=white,drawbox=w=18:h=38:x=248:y=107:t=fill:c=white,drawbox=w=21:h=51:x=242:y=33:t=fill:c=white,mpdecimate=hi=64*80:lo=64*40:frac=0.001,scale=w=iw*4:h=ih*4[deduped];[deduped][full]overlay=shortest=1,setpts=N/(15*TB),mpdecimate=hi=64*80:lo=64*50:frac=0.001,setpts=N/(15*TB)' -r 15 -c:v libx265 -preset slower -crf 37 -pix_fmt yuv420p -an result.mkv



ffmpeg version 4.1.6


Debian 4.19.171-2


I hope that my filter can be tuned in some way that achieves the same result but doesn't eat RAM that much - but I have no clue how. Within reasonable limits, I wouldn't mind if processing time suffers. Any hints appreciated.


-
what is the best way to conect the ffmpeg lib to the MediaCapture API in visual studio ?
27 mai 2015, par GrailsBeginner98hello community i will like to use ffmpeg with the MediaCapture API resource. Can i ?
the doubt came because ffmpeg command read from a file, or a rtsp etc...
i will like to use the ffmpeg as a process meaning using a ffmepeg command line.
I am still a rookie in audio video tech.. An example will be great..
thanks