
Recherche avancée
Autres articles (67)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10432)
-
syncing video thumbnail frames with source video
12 octobre 2020, par biglessWe are trying to make video preview for seek bar. One approach is to make tons of images like Youtube does. We chose second one - 160x90(*) preview video without sound with fps limited to max 4 (250ms, based on duration) - one file with native seek sounds good to me.


This is current cmd we use :


ffmpeg -y -i $source$ -vf scale=$width$:$height$ -an -sn -r $fps$ -vcodec libx264 -x264-params keyint=$keyframe_interval$:scenecut=0 



The idea is that browser is able to fetch whole video preview (<10MB) so there is priority to minimize the size. It seems that html5 video player is able to seek to and decode other than keyframes so we set keyframe interval to duration of video with limit of max 384(1920/5px) for best compression ratio.


The issue we are facing is frame sync. When I hover seek bar, video preview shows frame that actually lacks 1-2sec behind hovered time. Does anyone got explanation and possibly fix for this ? Is there some time deviation when player decodes frame instead of showing keyframe ?


-
Convert video from FFMPEG than video is rotated [duplicate]
25 octobre 2016, par user7050166This question already has an answer here :
I have created one Application API, in this Application API When i have upload video from file manager than video is rotated but when i have capture and direct upload than video is perfect work.
i have use this command
transpose=1
but capture video is rotated 90 degree when upload and if i have remove this command than file manager video is rotated.so please give me solutions.
/usr/bin/ffmpeg -i video.mp4 -i watermark.png -filter_complex 'overlay=10:10' -s 640x1280 -b 512k -vcodec mpeg1video -acodec copy -vcodec h264 -acodec aac -strict -2 output_video.mp4
file manager upload video is auto rotated on 270 degree, i have not use any rotated command but capture video is work perfect.
-
ffmpeg merge silent video with another video+audio
4 mars 2016, par Mark DaggerI want to create, in a single command, a video from 3 sources :
- a silent background video ;
- a smaller video to be overlayed (same length of 1), KEEPING its AUDIO ;
- a PNG logo to be overlayed
I can create the video but cannot get the audio track. I don’t understand if
-vf
is supposed to work in this case. This is what I’ve tried to do :ffmpeg.exe -y -i MASTER_SILENT_VIDEO.mp4 -vf "movie=SMALLER_VIDEO_WITH_AUDIO.flv, scale=320:-1[inner];movie=MY_LOGO.png[inner2]; [in][inner] overlay=800:480,amerge [step1]; [step1][inner2] overlay=30:30 [out]" completed.mp4
The "amerge" filter should do the audio merging job, but of course it doesn’t work. I’ve found similar questions involving
-map
or filtergraph but they refer to mixing a video source and an audio source ; I tried several filtergraph examples without success. Any idea ?