
Recherche avancée
Autres articles (99)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (6072)
-
Problems using Cuda for video transcoding [closed]
19 août 2022, par Jay AdlardI just bought a new pc as my faithful old windows 7 i7 laptop died. Now the laptop had both intel and nvidea gtx660m chips. When I transcoded video with handbrake the intel graphics managed 8fps when I changed over to the nvidia it managed 80fps and the graphics card got nice and hot so was obviously working.


The new machine i bought is a i9 with an nvidea gtx780 running windows 10. When I tried to transcode some video hoping for it to use the cpu and Gpu but no joy,the card stays cool power usage is only a handful of watts higher than it running something simple.I had been using handbrake but I read it doesn’t support Cuda so why the laptop speeded up I don’t know. A friend of mine that is into ffmpeg came round found that ffmpeg reports no Cuda yet the card works fine in every other respect. Unlike the rest of the machine the graphics card wasn’t new but it looked like new…


One thing to note I am not talking about nvenc as the quality is rather poor, no point in capturing uncompressed files cleaning them up and not using an encoder that will do 2 pass and an exhaustive search.
Can anyone recommend a reasonably priced encoder that will use the Cuda cores ?


Has anyone got any idea what the problem is ?


-
ffmpeg "Stream maping" taking a long time to load
29 août 2022, par Bambi2k21I am using ffmpeg to speed up and slow down parts where the talker is talking and being silent.
To do this I run something like this(the code below[more exactly the filter part, the rest is the same] is an example, not my exact code) :
cmd /c ffmpeg -i Soon.mp4 -filter_complex "[0:v]trim=0:2,setpts=PTS-STARTPTS[v1];[0:v]trim=2:5,setpts=2*(PTS-STARTPTS)[v2];[0:v]trim=5:6,setpts=PTS-STARTPTS[v3];[0:a]atrim=0:2,asetpts=PTS-STARTPTS[a1];[0:a]atrim=2:5,asetpts=PTS-STARTPTS,atempo=0.5[a2];[0:a]atrim=5:6,asetpts=PTS-STARTPTS[a3];[v1][a1][v2][a2][v3][a3]concat=n=3:v=1:a=1" -vcodec libx264 -crf 10 -preset ultrafast -profile:v baseline -shortest -tune:v stillimage -pix_fmt yuv420p -colorspace:v "bt709" -color_primaries:v "bt709" -color_trc:v "bt709" -color_range:v "tv" output.mp4
I added some optimisations to make it faster and they do work, but the amount of time needed for "Stream mapping" does not change. My problem with it is not the amount of time it takes but the fact that it gets progressively slower as each iterations of codes like this are run. At start it takes 20 secs but towards the end it takes close to a minute, I thought maybe it gets cluttered so I added "cmd /c" to pretty much restart the console, but no change. How do I change this ?
How stream mapping looks in one of the iterations.


Stream mapping:
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:0 (h264) -> trim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 Stream #0:1 (aac) -> atrim:default
 concat -> Stream #0:0 (libx264)
 concat -> Stream #0:1 (aac)
Press [q] to stop, [?] for help```



-
Ffmpeg sidechaincompress with different input audio lengths
29 janvier 2023, par user19313832There are two input files :


- 

- First entry is a video with music - 6 min.
- Second entry - voice - 3 min.
Here
compr
will contain the audio of video that is muted when start talking (second input).






ffmpeg -y -i %pathToVideo% -i %pathToAudio% -filter_complex ^ ^"[0:a][1:a]sidechaincompress=threshold=0.015:ratio=19:level_sc=1:release=1400:attack=1[compr]^" ^ -c:v copy -map 0:v -map [compr]:a %out%


Problem - sound of the video is completely turned off when the voice ends, at the 3rd minute.


This works well for the first 3 minutes.
Then the sound of the video is turned off.


Half of the video remains without sound.
It is necessary that the sound of the video remains, and not turned off.
It looks like it only works on audios of the same length, but here the audios are different lengths ???????????


It is necessary that the sound of the video does not turn off after the 3rd minute. Because the voice file is only 3 minutes.