
Recherche avancée
Autres articles (64)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (10541)
-
FFMPEG How to overwrite existing file without making a copy ?
13 août 2022, par Dresden21I am using this command to add a watermark to all videos in a file :
for %i in ("*.mp4") do ffmpeg -i "%i" -i wm.png -filter_complex "overlay=main_w/2-overlay_w/2" -codec:a copy "file% ni.mp4"


It makes a copy of each video when it's done. How can I make it overwrite the current videos so I don't get a bunch of copies ? I'd like each file to be overwritten with the new changes.


-
The Method of Making Video Special Effect
19 janvier 2019, par szhanI’ve been trying to use javacv libraries to make video effects.
like this screenshotI’m trying to use ffmpeg’s watermarking method to cover the head. But I don’t know how to control the transparency and shape of the watermarking.
watermark = "movie=./girl.png[watermark];[in][watermark]overlay=W-w-300:10:format=rgb[out]";
FFmpegFrameFilter frameFilter = new FFmpegFrameFilter(watermark, width, height); -
ffmpeg segment_atclocktime inaccutare file segment BEFORE the *:00 mark
25 octobre 2017, par Soft StrategyI use ffmpeg to save a single RTSP stream on multiple files, one for every minute. The command is similar to this (I’ve simplified it) :
ffmpeg -y -i rtsp://IP/media.amp -c copy -r 15 -f segment -segment_time 60 -reset_timestamps 1 -segment_atclocktime 1 -strftime 1 outputFile%Y-%m-%d_%H-%M-%S.mp4
FFmpeg should create a new file every minute according to the following settings :
-segment_time 60 -segment_atclocktime 1
FFmpeg should create a new file every minute around the *:00 seconds mark. Because of busy CPU sometimes the file resets at *:01 seconds or even later which is fine. Rarely, the file is reset just before the *:00 mark, and the timestamp is *:59 of the same minute of the previous file.
The file timestamps looks like this :
outputFile2017-10-25_12-30-00.mp4
outputFile2017-10-25_12-30-59.mp4Instead it should be :
outputFile2017-10-25_12-30-00.mp4
outputFile2017-10-25_12-31-00.mp4Again, this happens very rarely but screwes up my timeline a bit and it looks like ffmpeg skipped a minute.
Is this normal ? Is there some settings to avoid this ?
Thanks in advance.