
Recherche avancée
Autres articles (28)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7349)
-
FFprobe doesn't the work in node child_proces
17 mai 2023, par Viktor KushnirHow to invoke the following command in a node.js :


ffprobe -v quiet -of json -show_entries format a.aif



I try to do :


const ffprobe = child_process.spawn("ffprobe", [
 '-v', 
 'quiet', 
 '-of', 
 'json', 
 '-show_entries', 
 'format',
 filePath,
 ]);



But it doesn't work. Tried other variants, but it doesn't work either. I need to get the metadata of the audio file in my application node, how do I do this with ffmpeg ?


Only this work :


const ffprobe = child_process.spawn("ffprobe", [
 filePath,
 ]);



But I want to remove the data I don't need.


-
Piping output of youtube-dl to a script using ffmpeg looks ok using echo but returns an error when executing
29 mai 2020, par I0_olI am trying to use youtube-dl to get the urls of some videos and then pipe the resulting urls into the input of my script. So in my terminal I do



youtube-dl --ignore-config -iga ~/Desktop/youtube/videolist.txt | myscript.sh




In my script I define things as



command='ffmpeg' 
inputArgs='-i' 
outputArgs='-c:v libx264 -preset ultrafast -qp 0' 
directory="${HOME}/Desktop/Videos/"
output="video${count}" 
extension='mp4' 




I test it with
echo
to make sure everything appears in the correct order.


echo "${command}" "${inputArgs}" "${input}" "${outputArgs}" \
"${directory}""${output}${count}"."${extension}"




And the output from that looks correct. But when I try to run the same thing without the preceding
echo
command, i.e.,


"${command}" "${inputArgs}" "${input}" "${outputArgs}" \
"${directory}""${output}${count}"."${extension}"




I get an error message that says





At least one output file must be specified.





So it seems pretty obvious to me that I'm doing something wrong when attempting to execute it.



I have tried :



- 

- quoting the entire line as a whole
- quoting different sections together
- using the
exec
command in front of everything









No matter what I do, an error occurs at some point in the process. I know it's something simple I'm doing wrong. Would someone please enlighten me as to what that might be ?



I feel very strongly that the
.
shouldn't just be in the middle of everything like that, but I really don't know.


Again, everything looks as it should when I run
echo
before the string of shell parameters.


If more of the script I'm using is needed to understand what I'm talking about, that is not a problem.


-
Piping output of youtube-dl to a script using ffmpeg looks ok using echo but returns an error when executing
22 février 2016, par user556068I am trying to use youtube-dl to get the urls of some videos and then pipe the resulting urls into the input of my script. So in my terminal I do
youtube-dl --ignore-config -iga ~/Desktop/youtube/videolist.txt | myscript.sh
In my script I define things as
command='ffmpeg'
inputArgs='-i'
outputArgs='-c:v libx264 -preset ultrafast -qp 0'
directory="${HOME}/Desktop/Videos/"
output="video${count}"
extension='mp4'I test it with
echo
to make sure everything appears in the correct order.echo "${command}" "${inputArgs}" "${input}" "${outputArgs}" \
"${directory}""${output}${count}"."${extension}"And the output from that looks correct. But when I try to run the same thing without the preceding
echo
command, i.e.,"${command}" "${inputArgs}" "${input}" "${outputArgs}" \
"${directory}""${output}${count}"."${extension}"I get an error message that says
At least one output file must be specified.
So it seems pretty obvious to me that I’m doing something wrong when attempting to execute it.
I have tried :
- quoting the entire line as a whole
- quoting different sections together
- using the
exec
command in front of everything
No matter what I do, an error occurs at some point in the process. I know it’s something simple I’m doing wrong. Would someone please enlighten me as to what that might be ?
I feel very strongly that the
.
shouldn’t just be in the middle of everything like that, but I really don’t know.Again, everything looks as it should when I run
echo
before the string of shell parameters.If more of the script I’m using is needed to understand what I’m talking about, that is not a problem.