
Recherche avancée
Autres articles (65)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (10130)
-
how to add overlay at the end of video without knowing time duration of video file - ffmpeg
13 décembre 2019, par Luka mikicI have a bunch of video files to which I add animated overlay at the beginning of video, but I would like to add it again at the end of it t-13 seconds. This is my bash script :
do
ffmpeg -i "${f}" -i /app/logo/lower.mov -i /app/logo/logo.png -filter_complex \
"[0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:x=(1280-iw)/2:y=(720-ih)/2:color=black[bg0]; \
[bg0][1:v]overlay=10:10[bg1]; \
[bg1][2:v]overlay=10:10,drawtext=fontfile=/app/logo/Courier Prime.ttf:text=$(basename "${f}" | cut -f 1 -d '.'): \
fontcolor=white:fontsize=25:x=256:y=h-th-130:alpha=1:enable='between(t,2,15)'" \
-c:v libx264 -crf 21 -preset ultrafast "${f%.*}.mp4" -y
doneIs there any way to do this ? I know how to extract the duration with FFProbe, but do not know how to add duration dynamically to a variable and then apply it to code I have.
-
Using ffmpeg to cut up video into smaller video with exactly 30 frames
30 mars 2018, par MonsieurBeiltoI need to cut a video with >300 frames into ten videos, where the first video comprises the first 30 frames, the second video comprises frames from 31 to 60 and so on.
-
ffmpeg encoded video has video/audio sync delay when uploading to Facebook & WhatsApp
13 décembre 2019, par royherma"fluent-ffmpeg": "^2.1.2",
"ffmpeg": "^0.0.4",
node : 8Code to reproduce
let command = ffmpeg()
.input(tempFilePath)
.input(watermarkFilePath)
.complexFilter([
"[0:v][1:v]overlay=W-w-20:H-h-20"
])
.videoBitrate(2500)
.videoCodec('libx264')
.audioCodec('aac')
.format('mp4')
.output(targetTempFilePath)When applying the ffmpeg encoding command on the attached video, it plays fine on a local device - the issue however is when uploading to Facebook/WhatsApp the audio/video becomes out of sync
Any ideas on what i need to change in terms of the video/audio settings so that the audio + video are in sync, even when uploaded to the various social networks ?
Here’s a link to the 3 video files (original, post ffmpeg, post whatsapp upload that includes delay) if you want to get a better idea !
https://wetransfer.com/downloads/445dfaf0f323a73c56201b818dc0267b20191213052112/24e635
Thank you and appreciate any help !!