
Recherche avancée
Autres articles (111)
-
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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (13943)
-
How to cut a video to a certain length and add an intro video to it using ffmpeg-python ?
16 juillet 2021, par kupHow to cut a video to a certain length and add an intro video to it using ffmpeg-python ?


What i am doing is :


intro = ffmpeg.input(intro)
 mainvid = ffmpeg.input(mainvid)

 v1 = intro.video
 a1 = intro.audio
 v2 = mainvid.video
 a2 = mainvid.audio

 joined = ffmpeg.concat(v1, a1, v2, a2, v=1, a=1).node
 v3 = joined[0]
 a3 = joined[1]

 (
 ffmpeg
 .output(
 v3,
 a3,
 'out.mkv', 
 vcodec='libx265', )
 .run()
 )



But i dont know how to cut mainvid to a certain length like 10 mins before joining, i know ss will help but dont know how to use it for only mainvid.


-
Covert video to frames, then back to video without altering the frames in python
7 mars 2021, par RashiqI am writing a script in python that converts a video (let this video be X) into frames (X′) and then back into the same video (Y). Now, when I break video Y back into frames (Y′) the images are not equal to X′ frames i.e. they have different hashes. I would expect them to be the same, and if being not the same is the expected behaviour, how can I make them the same ?


Is there a way to go from


`video, X —> frames, X′, —> video, Y, —> frames, Y′, —> video, Z, —> frames, Z′


and so on without changing the output from its previous state such the videos X, Y, Z and frames X′, Y′, Z′ are same to each other in their respective sets ?


I have tried multiple video codecs (mp4, avi, mkv) and image formats (tif, jpeg, png). To my understanding, lossy compression codecs should not work by lossless such as tif are not producing consistent output either.


I have followed these video-to-frame and frame-to-video among other tutorials but to no avail. Any help would greatly be appreciated.


-
ffmpeg overlay video on image and remove video black background
15 septembre 2021, par Moslem AslaniIm using this ffmpeg command to overlay a video on image (with remove black background) :


ffmpeg -loop 1 -i image.png -i video.mp4 -filter_complex [1:v]colorkey=0x000000:0.1:0.1[ckout];[0:v][ckout]overlay[out] -map [out] -t 5 -c:a copy -c:v libx264 -y result.mp4





But as you can see in the picture, the black parts of the ball have also disappeared. How can I solve this problem ?