
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 ;
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (12605)
-
Revision d869cafc98f8b57a14b8f783738a5234fdeb93a8 : Mauvais contrôle des droits sur le logo d’un mot-clé, bug remontant à la ...
12 juillet 2010, par Committo,Ergo:sum — LogMauvais contrôle des droits sur le logo d’un mot-clé, bug remontant à la grosse réorganisation de la 2.0 là-dessus [10900] (Stéphane Girault). git-svn-id : svn ://trac.rezo.net/spip/branches/spip-2.0@15826 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d
-
Evolution #2487 : Pas d’alternative textuelle sur le logo d’un article ou d’une rubrique
12 janvier 2012, par Maïeul RouquetteUn logo normalement est purement décoratif, donc l’alternative textuelle standard de SPIP est vide. Après tu peux éventuellement forcer au niveau du squelette l’alternative textuelle avec |inserer_attributalt,’’, mais il ne me semble pas pertinent que cela soit en standard dans (...)
-
Add logo on concatenated video
5 septembre 2020, par ottpeterI'm trying to add a logo on top of a concatenated video. The video concatenation and the adding of the logo should be in the same filter complex. My filter complex currently looks like this (it is generated by Bash) :


[0:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v0];[1:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v1];[2:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v2];[3:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v3];[4:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v4];[5:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v5];[6:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v6];[7:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v7];[8:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v8];[9:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v9];[10:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v10];[11:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v11];[12:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v12];[13:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v13];[14:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v14];[15:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v15];[16:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v16];[17:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v17];[18:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v18];[19:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v19];[20:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v20];[21:v]scale=854:480:force_original_aspect_ratio=1,pad=width=854:height=480:x='if(lt(in_w,854),(854-in_w)/2,0)':0,setsar=1[v21];movie=/home/logo.png, scale=180:-1 [logo];
[v0][v1][v2][v3][v4][v5][v6][v7][v8][v9][v10][v11][v12][v13][v14][v15][v16][v17][v18][v19][v20][v21] concat=unsafe=1:n=22:v=1:a=0[conc]; [conc][logo] overlay=50:50 [outv];



On 0bin, it is easier to read. So, there is a really long video concatenation part, and on the end, I would try to add the logo like this :




[conc][logo] overlay=50:50 [outv] ;




This is the error I'm getting :


[AVFilterGraph @ 0x5640862fc520] No such filter: '' 
Error initializing complex filters.
Invalid argument



How to do this correctly ?


EDIT :
This is the Bash script :


echo "Creating the video list..."
 # Number of videos
 VID_NUMBER=$(find $VIDS_PATH -maxdepth 1 -type f -printf . | wc -c)
 # File names can not contain spaces. INPUT_LIST will contain the list of input files, all files in VIDS folder.
 INPUT_LIST=""
 for file in $VIDS_PATH*
 do
 if [ ${file: -4} == ".jpg" ]
 then
 INPUT_LIST="${INPUT_LIST} -loop 1 -t $IMAGE_DURATION -i $file"
 else
 INPUT_LIST="${INPUT_LIST} -i $file"
 fi
 done

 echo "Creating filter complex..."
 # This is the beginning of the filter that is used for concatenation. Has to be an entry for all videos.
 FILTER_COMPLEX_LIST=""
 for ((i=0; i<$VID_NUMBER; i++))
 do
 FILTER_COMPLEX_LIST="${FILTER_COMPLEX_LIST}[$i:v]scale=$RES_X:$RES_Y:force_original_aspect_ratio=1,pad=width=$RES_X:height=$RES_Y:x='if(lt(in_w,$RES_X),($RES_X-in_w)/2,0)':0,setsar=1[v$i];"
 done

 # Insert logo
 FILTER_COMPLEX_LIST="${FILTER_COMPLEX_LIST}movie=$LOGO, scale=180:-1, setpts=PTS-STARTPTS [logo];"

 # Filter final line. This is also generated in a loop. Tells ffmpeg which videos to concat and specifies output [outv]. No sound.
 FILTER_FINAL_LINE=""
 for ((i=0; i<$VID_NUMBER; i++))
 do
 FILTER_FINAL_LINE="${FILTER_FINAL_LINE}[v$i]"
 done
 FILTER_FINAL_LINE="${FILTER_FINAL_LINE} concat=unsafe=1:n=22:v=1:a=0[conc]; [conc][logo] overlay=50:50 [outv];"

 # Run ffmpeg
 date +"%Y %b %d %H:%M:%S Starting ffmpeg to stream videos ..." >> /home/streamer.log
 ffmpeg \
 -y \
 -fflags +genpts \
 $INPUT_LIST \
 -filter_complex "\
 $FILTER_COMPLEX_LIST \
 $FILTER_FINAL_LINE" \
 -map "[outv]" \
 $OUTPUT_SETTINGS \
 $OUTPUT

 sleep 1
done