
Recherche avancée
Autres articles (55)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (4258)
-
Anomalie #2182 : tables spip_trucs_liens dans les logs
7 juillet 2016, par Guillaume FahrnerLe commit ne supprime qu’une seule ligne de log, il reste toujours ces lignes généré lors de l’accès à une page contenant une boucle recherche ( a chaque recherche) :
2016-07-07 10:41:36 IP (pid 16419) :Pub : !INFO : trouver_table : table inconnue ’’ ’spip_articles_liens’
2016-07-07 10:41:36 IP (pid 16419) :Pub:ERREUR : Erreur mysql 1146
2016-07-07 10:41:36 IP (pid 16419) :Pub:ERREUR : Erreur mysql 1146venant pour la première de :
ecrire/base/trouver_table.php:155 : spip_log("trouver_table : table inconnue ’$serveur’ ’$nom’", _LOG_INFO_IMPORTANTE) ;
Est ce encore améliorable ?
-
Revision 53630 : formulaires_truc_saisies(...) peut maintenant parfois avoir un dernier ...
19 octobre 2011, par rastapopoulos@… — Logformulaires_truc_saisies(...) peut maintenant parfois avoir un dernier paramètre en plus qui est un tableau de valeurs chargées. On ajoute ça lors de l’appel depuis charger(), ce qui évite la majorité du temps de faire des requêtes supplémentaires qui auraient déjà été faites dans charger(). Si on a : (...)
-
ffmpeg crop in a loop crops files incrementally
13 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 command
ffmpeg -ss $START -t $END -i ${1} -acodec copy $SONGNAME.mp4
Then I realized that the -t option doesn’t refer to the end point of the excerpt, but the duration. Eg. when I attempted to crop a song from 10:00 to 12:00 it resulted to a 12 minutes long sound file, far longer than the song itself. This resulted in increasingly bigger files.
Therefore I found some date-manipulating algorithms. Subtracting
$START
from$END
results to an integer with the song’s duration in seconds. I tested it byecho
ing the results and it resulted to realisting figures (around 100-200).However when I replaced the -t option with
$DUR
instead of$END
, this resulted also to increasingly larger files. I didn’t measure the exact length of each, but it seems that the duration increased itself by each loop. I also added anecho $DUR
line, which returned the realistic amounts it should. However theffmpeg -t $DUR
did not seem to agree.PS. -t has two options, input (before -i) and output (after -i). When I use it after the -i as output (i.e. the duration of the output file) it SEEMS to work, at least it generates realisticly sized files. The question remains why it behaves strangely in the first place.