
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (63)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (7061)
-
FFMpeg : how to merge video and audio and tail align video to audio length ?
28 septembre 2021, par BobbyI have a video file and an audio file to merge together. Audio duration is shorter than video. I want to align them at tail and cut off the head part of the video.


Graph illustration :


[xxxx------] video
 [------] audio
 [======] merged



Where "x" parts of the video is removed.


The duration of the video/audio is unknown but the audio duration is guaranteed to be shorter than video. The reason of it being unknown is because I'm generating video dynamically and pipe to FFmpeg, so it is not possible to know the duration beforehand.


-
Cutting HEVC video results in parts stating with no video (black image) but correct audio for a few seconds
8 juin 2020, par Oliveri have large HEVC video files and want to cut out parts of them. I use ffmpeg for that with the following command :



ffmpeg -i input.mp4 -ss 01:18:47.040 -c:v copy -c:a copy -to 01:18:42.640 output.mp4




i know that there can be problems when copy is used and no re-encoding, that is why i checked before that the frames specified in the -ss and -to parameters where keyframes (i-frames).



So iam expecting to get a clean cut at the beginning and at the end. But what i get is 10 seconds of black image with normal audio in the beginning until the video starts. To make this clear : 10 seconds of video are missing in the beginning but the audio is fine.



Btw : when moving the -ss part before the -i there seem to be no problems with the video (at least in the beginning). I know about the differences of putting -ss before and after the -i, but i also know, that using -ss after the -i should be slower (and was more accurate in the past) but should not make any differences in the final result. That is why I am so irritated.


-
How to generate a video by looping an image and then concat with another very long video without re-encoding using ffmpeg ?
23 mars 2021, par Linghao ChenI have an image and a very long video (1.5h).
Now I want to generate a heading video about 5 seconds by looping the image, and then concatenate it with the long video. Since the video is long, I don't want to re-encode the videos.
I have tried to generate the heading video using


ffmpeg -loop 1 -i image.png -c:v libx264 -t 5 -pix_fmt yuv420p head.mp4



and then


ffmpeg -f concat -i list.txt -c:v copy concat.mp4



where the list.txt contains


file head.mp4
file longvideo.mp4



I have tried these operations on two machines.
On one machine, the concatenated video has no audio. Moreover, it stucks at 5-10 seconds and directly jump to 11s.
On the other machine, the video and audio are not synchronized.


To provide more information, I have checked the codecs of the two videos by


ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
 -of default=noprint_wrappers=1:nokey=1 xxxxx.mp4



Both of them are h264.


My question is, how to generate it correctly with ffmpeg ? If it is hard using ffmpeg, is there any method to do it fast ? As far as I know, Adobe Premiere and Final Cut Pro do not export as fast as I expect because they re-encode the videos.