
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (86)
-
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 ;
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (11114)
-
Scale and overlay in single command
10 juin 2020, par Hasan YilmazI want to convert and resize a video and put a logo on it. I am doing this with 2 different command line like this.



Command 1 :



D:\Logo\ffmpeg -i "D:\Logo\video.mxf" -vf scale=1280:720 "D:\Logo\video.mxf_fullHDtoHD.mp4"




Command 2 :



D:\Logo\ffmpeg -i "D:\Logo\video.mxf_fullHDtoHD.mp4" -i D:\Logo\logo_720p.png -filter_complex "[0:v][1:v] overlay=60:50" "D:\Logo\output_720p_with_logo.mp4"




Can I do this in just one command ?


-
how to use crop and overlay properly ?
21 juin 2022, par yuno sagaIs crop and overlay have bug when chain too many ? i got inconsistent function. for test, i create horizontal flip builder command. i try to flip the video. but its like something wrong with overlay filter. the filter not overlay in specific location.


let me explain my understanding of crop filter first. crop take 4 parameters :
width:height:xPosition:yPosition
. in firstcrop=16:480:0:0
. how about if i want to crop 2nd image. is right with thiscrop=16:480:16:0
? or it shouldcrop=16:480:17:0
always add 1 after first crop ?

and overlay, the first overlay.
overlay=x=0:y=0
. how about the 2nd overlay and so on ? is it rightoverlay=x=16:y=0
or it shouldoverlay=x=17:y=0
. always add 1 after first overlay.

i tested it, always theres glitch in video.


const { spawn } = require('child_process');

function hflip(width) {
 let filterCommands = '';
 const length = Math.floor(width / 16);

 for (let i=0; i < length; i++) {
 filterCommands += `[0]crop=16:480:${i*16}:0[c${i}];`;
 }
 
 for (let i=0; i < length; i++) {
 if (i == 0) filterCommands += '[0]';
 if (i != 0) filterCommands += `[o${i}]`;
 
 filterCommands += `[c${i}]overlay=x=${832-(i*16)}:y=0`;
 
 if (i != (length - 1)) filterCommands += `[o${i+1}];`;
 }

 return filterCommands;
}


const crops = spawn('ffmpeg', [
 '-i',
 'C:/Software Development/project/input.mp4',
 '-filter_complex',
 hflip(854),
 '-c:a',
 'copy',
 '-c:v',
 'libx264',
 '-crf',
 '30',
 '-preset',
 'ultrafast',
 'C:/Software Development/project/output.mp4',
 '-y'
], {
 cwd: 'C:/Software Development/ffmpeg'
})



-
Anomalie #2375 : redirection d’une mauvaise url arborescente
17 octobre 2011, par James H.Au delà du problème, ne serait-il pas plus simple de stocker "nouvelle-rubrique/nouvel-article" comme url dans la table spip_urls au lieu "article/nouvel-article", ça simplifierait la recherche dans cette table et cela éviterait aussi d’avoir "nouvelle-rubrique/sous-rubrique/nouvel-article" au lieu (...)