
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (74)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (9643)
-
ffmpeg fast but accurate seek in avi
21 mars 2019, par C.M.I’ve built a small pipeline to automatically cut and enhance video files which I recorded.
I detect scenes by using the ffmpeg’s
select='gt(scene,0.4)',showinfo
filter. After parsing these information I runffmpeg
for each scene to produce single video files for them, for example :ffmpeg -y -i test.avi -ss 00:00:00.00 -to 00:00:54.61 -c copy test_1.avi
ffmpeg -y -i test.avi -ss 00:00:54.61 -to 00:01:38.21 -c copy test_2.avi
ffmpeg -y -i test.avi -ss 00:01:38.21 -to 00:01:59.45 -c copy test_3.avi
[...]As you can see I use the
-ss
and-to
parameters to specify where the output files should start and end. This is working very well but it becomes very, very slow over time since my original file size is 50 gigabytes.I guess that
-ss
lets ffmpeg seek from the beginning of the original file to the start time as I can observe disk action when seeking.Placing the
-ss
param before the-i
input file is faster but very inaccurate (off by some seconds).Is there maybe any trick to increase the cut/trim performance without losing the accuracy ?
I also tried to convert the input file to MP4 which decreases the file size and seek time significantly. But then I had keyframe errors and I want to operate on the original files.
Thank you !
-
How can I rotate and resize a video with ffmpeg ?
27 mai 2023, par dabriI use a programm that needs .mp4 video files in the resolution 1080x608 px (width x height).


My original videos have a smaller resolution - mostly 640x480 px.


I have to rotate my original videos 90 degree (CounterClockwise) and
after the rotation resize to the resolution 1080x608 px.
It should used the centered area of the video.


What is the correct command for ffmpeg ?


For larger videos I use the following command :


md Jukebox_Converted-90_30fps_Audio_HD
cd Files_To_Be_Converted
for %%f in (*) do ..\ffmpeg -i "%%f" -vf "crop=608:1080:0:0,transpose=2" -pix_fmt yuv420p -r 30 -c:a copy "..\Jukebox_Converted-90_30fps_Audio_HD\%%f"
pause



Thanks & Regards


-
Make blurred background faster with ffmpeg
26 septembre 2022, par Peter CzaskI have a vertical videos which I'll like to make them horizontal 1920x1080 with blurred background.


I do it with this command :


ffmpeg -i input.mp4 -vf 'split[original][copy];[copy]scale=ih*16/9:-1,crop=h=iw*9/16,gblur=sigma=20[blurred];[blurred][original]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2' output.mp4 



which that code I'm satisfied with the result, except that it takes very very long time to produce it. Is there any way to speed it up ? I noticed that the blurred part on the background uses half of the overlay video (non blurred), I'll like to blurry just with the edge (or 10 pixels) of the non blurred video (if this makes the encoding faster)...