
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (60)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (7384)
-
How to Install FFmpeg on Databricks [closed]
20 mai, par Riley CohenI’m posting this to save others from the headache I went through getting ffmpeg running on Databricks. The process isn’t super intuitive, especially with Unity Catalog and volume-based restrictions, so here’s a clear step-by-step guide.


Step #1 : In Notebook Add init script for ffmpeg


dbutils.fs.put(
 "dbfs:/Volumes/xxxxxxx/default/init/install_ffmpeg.sh",
 """#!/bin/bash
apt-get update -y
apt-get install -y ffmpeg
""",
 overwrite=True
)



Step #2 Add init script to allowed list


Follow this article :
https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/privileges#manage-allowlist




Step #3 Add the init script in the cluster advanced setting


After creating this script, go to your cluster settings in Databricks UI (Clusters > Edit > Advanced Options > Init Scripts) and add the script path (dbfs :/Volumes/xxxxxxx/default/init/install_ffmpeg.sh). Restart the cluster to apply it. Once the cluster starts with this init script, FFmpeg will be installed and available on each node


Step 4 : Start/Restart the cluster


-
Joining Lots of clips with crossfade filter using FFmpeg
26 juillet 2020, par Mr. WhoI have many video-only clips and I would like to join them with crossfade filter using FFmpeg. My Idea was that I join first two then join it with the next and so on. I implemented the loop in the python and run bash commend using
os.system()
. My code has been demonstrated below :

out_n = '0.mp4' # output of step n (current step)
for i in range(1,10):
 out_np1 = 'mm%d.mp4'%(i) # output of step n+1 (next step)
 t0 = time.time() 
 o = os.system('ffmpeg -i %s -i %d.mp4 -f lavfi -i "color=black:s=1920x1080:d=9" -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][va0]overlay[over1];[over1][va1]overlay=format=yuv420[outv]" -vcodec libx264 -map [outv] %s'%(out_n, i, out_np1))
 print('# %d'%i,(time.time() - t0)/60,o)
 os.remove(out_n) 
 out_n = out_np1 



My Problem is that it won't work properly, the very last output does not even contain all of the last clip and there is no trace of previous ones.


-
Checkinstall equivalent on Red Hat (Santiago)
29 octobre 2013, par DaliusI'm not familiar with Red Hat, never used it before.
I'm installing ffmpeg from source, following this guide https://trac.ffmpeg.org/wiki/CentosCompilationGuide
On Debian, after using make to compile ffmpeg, I would use checkinstall to install ffmpeg for all users. How can I do the same on Red Hat ?