
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (77)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (6714)
-
Looping of bash script
10 février 2020, par Daniel PetersOnce I start this
convertscript.sh
I want it to constantly check the files in the directory, if theres an.mkv
it will convert it which it does fine at the moment, but when there are nomkv
files left it seems to exit out the script, but I want it to loop and keep trying the script constantly.Basically if a new file gets added say during the night because the script is looping constantly it picks it up, I don’t want to run the
convertscript.sh
again. I want to runconvertscript.sh
once initially and then not touch it.The script I’ve got so far is below :
shopt -s globstar
for f in **/*.mkv
do
ffmpeg -i "$f" -c:v libx264 -preset ultrafast -minrate 4.5M -maxrate 4.5M -bufsize 9M -c:a ac3 "${f%mkv}mp4";
[[ $? -eq 0 ]] && rm "$f";
done -
Incorporating ffmpeg in a bash script
22 novembre 2017, par VoprosnikI have a very large audio mp4 file that contains several songs.
I have generated a script which reads a text file with the times and the song names and successfully assigns starttime, endtime and songtitle in 3 variables. The script successfully echoes the variables and returns the following format :
00:00:00 00:10:15 Song1
00:10:15 00:14:20 Song2and so on...
Now I am intending to use this script with
ffmpeg
and crop each part of the big file into smaller audio files.The script thus, after feeding the variables in a
while
loop, it reaches to the commandffmpeg -ss $START -t $END -i ${1} -acodec copy $SONGNAME.mp4
Once I run the script, the first two songs are cropped, but then the whole process stops with
Press [q] to stop, [?] for help
error parsing debug value
debug=0I checked the generated files and they play ok, but there is no way for me to know why the script stopped there and did no proceed to the rest of the file (considering that when in the script I replace
ffmpeg
withecho
, the script echoes the variables flawlessly).In other words I don’t know if there is a problem in my script,
ffmpeg
, or the source music file. -
Incorporating ffmpeg in a bash script
12 septembre 2014, par VoprosnikI have a very large audio mp4 file that contains several songs.
I have generated a script which reads a text file with the times and the song names and successfully assigns starttime, endtime and songtitle in 3 variables. The script successfully echoes the variables and returns the following format :
00:00:00 00:10:15 Song1
00:10:15 00:14:20 Song2and so on...
Now I am intending to use this script with
ffmpeg
and crop each part of the big file into smaller audio files.The script thus, after feeding the variables in a
while
loop, it reaches to the commandffmpeg -ss $START -t $END -i ${1} -acodec copy $SONGNAME.mp4
Once I run the script, the first two songs are cropped, but then the whole process stops with
Press [q] to stop, [?] for help
error parsing debug value
debug=0I checked the generated files and they play ok, but there is no way for me to know why the script stopped there and did no proceed to the rest of the file (considering that when in the script I replace
ffmpeg
withecho
, the script echoes the variables flawlessly).In other words I don’t know if there is a problem in my script,
ffmpeg
, or the source music file.