
Recherche avancée
Autres articles (111)
-
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 -
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 (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10596)
-
Is it possible to get only the total number of black frames from a video clip using ffmpeg (windows user) ?
15 novembre 2017, par raakiI have a .avi video clip which runs for 30 minutes with 30 fps. I want to know the total number of black frames in that clip instead of showing every black frame. Is it possible to do it using ffmpeg ?
-
format string in text of ffmpeg.drawtext(),i want the frame number to be 0001 , currently it is 1
7 novembre 2022, par Đạt Nguyễni want the frame number to be 0001 , currently it is 1


ff = ffmpeg.drawtext(ff_drawtext,text ='%n',start_number=1,fontfile='C :/Windows/Fonts/Arial.ttf',fontcolor="white",x='w-(w/1.8)',y='h-(h/30)',fontsize="28",escape_text=False)


i use : text =":04n".format(%'n) not unsuccessful




-
Cross fading 2 videos segments using ffmpeg when number of frames are not known before hand
5 avril 2016, par Hero RomaI am a newbie trying to cross fade 2 videos using ffmpeg and the stackoverflow answer. But in my case I do not know the length of the video or the number of the frames. I want to start the fade out in the first video in the last 5 frames and fade in the first 5 frames. I am able to do the fade in on the second video but I cannot figure out how to do the fade out in the last 5 frames when I don’t know the duration or the number of frames.
The "-i" option is supposed to be able to extract that information but I cant seem to pipe it to the next block there.
ffmpeg -i 1.mp4 -i 2.mp4 -f lavfi -i color=black -filter_complex \
"[0:v]format=pix_fmts=yuva420p,fade=t=out:st=4:d=1:alpha=1,setpts=PTS-STARTPTS[va0];\
[1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+4/TB[va1];\
[2:v]scale=960x720,trim=duration=9[over];\
[over][va0]overlay[over1];\
[over1][va1]overlay=format=yuv420[outv]" \
-vcodec libx264 -map [outv] out.mp4