
Recherche avancée
Autres articles (99)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (7418)
-
ffmpeg scale image with unrelated number in the name
15 juin 2016, par loctriceI’m attempting to scale image(s) that have any given name. I’ve found my script is failing on files that have numbers in the name. "0% financing", "24 Hour", etc. The other files are working fine, so it’s not the script itself. I get :
[image2 @ 0x7fbce2008000] Could find no file with path ’/path/to/0% image.jpeg’ and index in the range 0-4
How can I tell ffmpeg that this isn’t a search pattern, or sequential numbered files ? There’s only 1 jpeg in each location, and I do not have control of the file names to change them.
-update-
I’ve figured out the commandffmpeg -pattern_type none -i /path/to/0%\ image/0%\ image.jpeg -vf scale=320:-1 /path/to/0%\ image/0%\ image.out.jpeg
gets me past the initial problem, but the output won’t work because I can’t get it now to escape the final argument. If I am in the directory (so no path) and change the output to just out.jpeg it will work, so I’m confident the first error is corrected.
Now I need to figure out how to use spaces in the path in the output argument ? I’ve tried surrounding it in quotes :
"0% image.out.jpeg"
regular escapes :
0%\ image.out.jpeg
and surrounding it in quotes and using escapes at the same time :
"0%\ image.out.jpeg"
-
x264 : ignore empty options in bash script
26 février 2016, par manesI do some video encoding using a script with x264. Most options follow the pattern
x264 --option0 $value0 --option1 $value1 -o output.file input.file
The script reads the values from a text file. The text file contains key-values like
crf=18.3
. Unfortunately, this does not work for mb-tree, as the option does not have a $value, it is set by default and can be turned off with--no-mbtree
.If
mbtree=no-mbtree
is set in the text file, everything works fine. But if I choose to encode with mbtree turned on, the--$variable-for-mb-tree-or-no-mb-tree
is still in place, but unset or empty and x264 throws an error.How can I tell bash/ x264 to ignore an unset or empty variable ? I’d like to avoid an if…then…else and rather do it inline.
-
FFMPEG under Windows 7(64) - creating timelaps video
23 janvier 2016, par Me_no_stupitMy goal is to create a video from a bunch of jpg files. I have chosen FFMPEG (Windows 64) to solve this task :
The task
I have more than 4k jpg files in a directory, all following the naming convention
pic000000X.jpg
(wherex
is a number)
i.e.pic_0000001.jpg
,pic_0000002.jpg
,.,pic_0001337.jpg
and so on which I want to create a timelaps video from.(source : FFMPEG FAQ - Creating timelaps videos)
Result
When I run
ffmpeg -i pic%7d.jpg -s:v 1280x720 -c:v libx264 output.mp4
I get theoutput.mp4
file but it is small and contains only few pictures/frames - nine to be precise (running the reverse commandffmpeg -i output.mp4 test%d.jpg
I gettest1.jpg
totest9.jpg
)Observation
It seems to work until
pic_0000009.jpg
and then the pattern does not recognizepic_00000010.jpg
onwards.What am I missing or am I doing wrong to only include nine pictures ?
Thanks for time and effort for giving me some hints.P.S. I tried the
blob
style file pattern but it does not work under windows