
Recherche avancée
Médias (17)
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (109)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
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. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (12376)
-
Evolution #3820 (Nouveau) : modération des inscriptions de rédacteur
24 août 2016, par Johan .Suite à un échange avec Cédric :
Réfléchir à une espèce de modération des inscriptions (optionnelle ?).
Qu’un quidam puisse s’inscrire, mais pour que son compte soit actif il faudrait qu’il confirme son mail ET qu’un admin confirme le compte.Afin d’éviter que des personnes non concernées n’accèdent à la partie privée.
-
Creating a slurm job for ffmpeg
20 juin 2023, par user21008368I am new to building arrays in slurm, and am running into problems with my ffmpeg array.


I have an ffmpeg script that will convert all .mp4 files in a directory into folders of image stacks. Right now, I have to change to the source directory in the terminal (i.e., cd), and then run the following code :


for i in *.mp4; do mkdir -p "${i%.*}" && ffmpeg -i "$i" -vf fps=30 ${i%.*}/${i%.*}%05d.jpeg -hide_banner; done



I have 100+ folders of videos that I would like to run this code on. Rather than using "cd (directory name)" and then the above code, I would like to create a job array that will iterate through all of the folders of videos. I've been playing with the following array script :


#!/bin/bash
#SBATCH --job-name=sortvids_test
#SBATCH --partition=cas
#SBATCH --output=%x_%A_%a.out # Output file (stdout)
#SBATCH --error=%x_%A_%a.err # Error file (stderr)
#SBATCH --mail-type=ALL
#SBATCH --mail-user=my.email@email.org
#SBATCH --array=0-8:1

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=10G
#SBATCH --time=1-00:00:00

module load ffmpeg

# Change the following path if you want to process any other folder #Place_7.11 is the directory that contains all the folders of videos
scratch_dir="/scratch/user/my.name/Place_7_11_20230616_133418/Place_7.11"

folders_list=($(ls $scratch_dir))
folder=$scratch_dir/"${folders_list[$SLURM_ARRAY_TASK_ID]}"

echo "Processing folder: $folder"

cmd="cd $folder && for i in *.mp4; do mkdir -p "${i%.*}" && ffmpeg -i "$i" -vf fps=30 ${i%.*}/${i%.*}%05d.jpeg -hide_banner; done"

eval "$cmd"



When I check the output files, I will see the "Processing folder : $folder" command has the correct output. However, when I check the .err files, I see
mkdir: missing operand
repeated for as many videos exist in the folder. I believe the issue is that I'm not correctly specifying the input, or changing directories, but I have not idea how to fix this. Any and all suggestions are welcome.

-
Revision 41905 : Simplification de la notification (comme on nécessite facteur), plus ...
25 octobre 2010, par kent1@… — LogSimplification de la notification (comme on nécessite facteur), plus besoin de la fonction d’attachement de fichier à un mail... on peut dorénavant surcharger la fonction de notification sans problème