
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (105)
-
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 (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5152)
-
Bash script doesn't read entire line
4 octobre 2019, par Miguel AlatorreFirst off, I am in the early stages of learning bash shell scripting, so I apologize if I say / do anything that doesn’t make sense.
Currently, I’m trying to have an SBC, a Khadas VIM3 specifically, run a python script to find and label faces in any given video from a local server. Currently, I need to reduce the frame rate and resolution of the video, which is where the bash script comes into play. I need to automate this process and thought I’d do it using a bash script and crontab.
The file paths are found and output into a file from a separate script, and are read by the bash script. The problem comes when I try and call ffmpeg to use the file paths.The Code :
pathFile="/home/khadas/Documents/paths"
while IFS= read -r line
do
ffmpeg -i "$line" -vf scale=960:540 -y "$line"
cp "$line" ./
done < $pathFileThe resulting error :
: No such file or directoryalRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4
cp: cannot stat '/home/khadas/Downloads/FacialRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4'$'\r': No such file or directoryExample of the paths file (There will be hundreds of entries) :
/home/khadas/Downloads/FacialRecognition/10/14-42.h264+/20-509-26-10-14-42.mp4
/home/khadas/Downloads/FacialRecognition/10/59-06.h264+/20-509-26-10-59-06.mp4
/home/khadas/Downloads/FacialRecognition/10/36-28.h264+/20-509-26-10-36-28.mp4
/home/khadas/Downloads/FacialRecognition/10/14-53.h264+/20-509-26-10-14-53.mp4When using a trimmed down version, the script works as expected. Could it be an issue with the length of the lines ? Any help is much appreciated.
-
Java execute command doesn't work in code
27 août 2017, par ArianaI am calling java.lang.Runtime.exec(...) in my Java program to run a command (some
FFMPEG
commands) simply passed to my function :private static void RunCommand(String command) throws InterruptedException {
try {
// Execute command
Process proc = Runtime.getRuntime().exec(command);
}
}It runs OK for simple FFMPEG cases such as
ffmpeg -i input.avi -c copy output.avi
.But for one of the commands, apparently it doesn’t run. When I copy/paste the exact String in command line, I am able to run it and see the output file.
ffmpeg -i "concat:/home/temp10.avi|/home/p2.avi|/home/temp15.avi" -c copy -y /home/output.avi
Which is the following in code :
String c4="ffmpeg -i \"concat:"+dir+temp1+"|"+dir+ad+"|"+dir+temp3+"\" -c copy -y "+dir+output;
What is going on ? Any guesses why it doesn’t run in code ? If the
"
is causing the problem, why the corresponding string looks good ?! -
create single video form 3 separate videos using FFmpeg
24 septembre 2019, par ShijinI was trying to create single video form 3 separate videos using FFmpeg.
ffmpeg -y -loglevel debug -i /home/ubuntu/test/1569317318/15693173181124138568.webm -i /home/ubuntu/test/1569317318/1569317318867082351.webm -i /home/ubuntu/test/1569317318/1569317318191333163.webm -filter_complex '[0]scale=320:-1[a];[1]scale=320:-1[b];[2]scale=320:-1[c];[3]scale=320:-1[d];[a]pad=640:480[x];[x][b]overlay=320[y];[y][c]overlay=0:240[z];[z][d]overlay=320:240;[0][1]amix' -c:v libx264 -crf 23 -preset veryfast -shortest /home/ubuntu/test/1569317318/1569317318478598265.mp4
This is not woking, It throws an error like bellow
Invalid file index 3 in filtergraph description
[0]scale=320 :-1[a] ;[1]scale=320 :-1[b] ;[2]scale=320 :-1[c] ;[3]scale=320 :-1[d] ;[a]pad=640:480[x] ;[x][b]overlay=320[y] ;[y][c]overlay=0:240[z] ;[z][d]overlay=320:240 ;[0][1]amix.How to fix it ? If we provide four inputs, It is working