
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (8992)
-
Output file #0 does not contain any stream How can i solve this problem
17 mai 2021, par 전재현I want to conver yuv file to png file
so I put this

"fmpeg -s 1280x1344 -pix_fmt yuv420p -vframes 64 -f image2 image%d.png"
on mac terminal
but always return Outputfile #0 does not contain any stream
How can I solve this problem
Help me please

-
How to scape special characters for linux, nodejs exec function
22 février 2023, par David ChavezI'm running this ffmpeg command on my linux server and while I paste it into the terminal, it works just fine but as soon as I use execPromise to run the EXACT same command, it returns an error.


const { exec } = require('child_process');
const { promisify } = require('util');
const execPromise = promisify(exec);

const encode = async ffmpegCode => {
 try {
 console.log(ffmpegCode) //Here I can see that the code is the
 //exact same one than the one that works
 //when pasted into the terminal
 await execPromise(ffmpegCode);
 return 200
 } catch (err) {
 console.log(err)
 }
}



I need
\:
to be interpreted as such. When I type it as is,\:
, the error message shows me that it interpreted it as:
which is expected.

If I pass in
\\:
, I expect it to interpret it as I need it which would be\:
but the error shows me that it interprets it as\\:
.

\\\:
is interpreted as\\:
and\\\\:
is interpreted as\\\\:
.

Part of the command passed :


...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...


Expected command :


...drawtext=text='timestamp \: %{pts \: localtime \: 1665679092.241...


Error message :


...drawtext=text='timestamp \\: %{pts \\: localtime \\: 1665679092.241...


How do I get
/:
through to the exec function ?

-
facing problem in downloading the audio data of a trimmed youtube video using youtube-dl and ffmpeg libraries
15 mai 2022, par rkcI'm trying to download the audio content of a trimmed YouTube video using youtube-dl (v2021.12.17) and FFmpeg (v4.2.2) libraries in python, on Windows 10 PC. I am able to download the audio data when the command is executed on the Pycharm terminal, but not able to download the same content when using os.system() command.


For example, I'm able to download the data when I execute


"ffmpeg -ss 30 -t 10 -i $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0) -- output1.wav"



command on the Pycharm terminal.


But, i'm getting an error, when I try to execute the same in the Editor window as shown below,


os.system('ffmpeg -ss 30 -t 10 -i $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0) -- output1.wav')

error: $(youtube-dl: No such file or directory



I also tried enclosing the $() link in quotes and then executed it. But, after doing this, I am getting a different error as shown below


os.system('ffmpeg -ss 30 -t 10 -i "$(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0)" -- output1.wav')

error: $(youtube-dl -f best -g https://www.youtube.com/watch?v=3NGZcpAZcl0): Invalid argument



So, can any of you help me in resolving this error ?