
Recherche avancée
Autres articles (66)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...)
Sur d’autres sites (11870)
-
a command in a script doesn't work when the script is launched by cron
5 mai 2023, par a kWhen I launch the script manually both as a not-root user (with sudo) and as the root, everything work correctly.
When Cron (Cron of the root) launches it, ffmpeg doesn't work (but the others lines of the script work correctly).


#!/bin/bash
log=/var/log/log2/log2.txt

echo ______________ $(date) >> "$log"
echo -n whoami ' ' >> "$log" ; whoami >> "$log"
echo -n pwd ' ' >> "$log" ; pwd >> "$log"
echo "$""USER" = ' ' "$USER" >> "$log"
echo PATH ' ' $PATH >> "$log"
echo -n which ffmpeg ' ' >> "$log" ; which ffmpeg >> "$log"
echo -n whereis ffmpeg ' ' >> "$log" ; whereis ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/bin/* | grep ffmpeg" ' ' >> "$log"
ls -l /bin/* | grep ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/usr/bin/* | grep ffmpeg" ' '>> "$log"
ls -l /usr/bin/* | grep ffmpeg >> "$log"

echo "" >> "$log"
echo ls -l "/var/log | grep log2" ' '>> "$log"
ls -l /var/log | grep log2 >> "$log"

echo "" >> "$log"
echo ls -l "/var | grep log" ' '>> "$log"
ls -l /var | grep log >> "$log"

ffmpeg -y -f x11grab -s 1366x768 -i :0.0 /var/log/log2/test.mp4 2>/dev/null &
echo "$!"
sleep 5
kill "$!"
exit



The script puts in the file /var/log/log2/log2.txt :


whoami root
pwd /root
$USER = 
PATH /usr/bin:/bin
which ffmpeg /usr/bin/ffmpeg
whereis ffmpeg ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

ls -l /bin/* | grep ffmpeg 
-rwxr-xr-x 1 root root 284976 mai 18 2022 /bin/ffmpeg

ls -l /usr/bin/* | grep ffmpeg 
-rwxr-xr-x 1 root root 284976 mai 18 2022 /usr/bin/ffmpeg

ls -l /var/log | grep log2 
drwxrwxrwx 2 root root 4096 mai 5 03:22 log2

ls -l /var | grep log 
drwxrwxr-x 16 root syslog 36864 mai 5 00:00 log



I have tried to verify :


- 

- the permissions of the file ffmpeg
- the permissions of the folder where ffmpeg writes to
- the $PATH
- the path of ffmpeg
- the path of the file where ffmpeg should write to












-
Linux C Makefile (FFmpeg) undefined reference to `curl_easy_init'
23 juillet 2015, par hoschi111I did some changes to /libavformat/concat.c in the FFmpeg source.
There I included libcurl.Internet says I have to add the following code to ’Makefile’.
INCLUDE = -I/usr/local/include
LDFLAGS = -L/usr/local/lib
LDLIBS = -lcurlThat did not work.
I use this to build FFmpeg :make clean && ./configure --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libx264 && make -j 4
Error :
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libavformat.a(concat.o): In function `concat_read':
/root/ffmpeg_sources/ffmpeg/libavformat/concat.c:151: undefined reference to `curl_easy_init'
/root/ffmpeg_sources/ffmpeg/libavformat/concat.c:155: undefined reference to `curl_easy_setopt'
/root/ffmpeg_sources/ffmpeg/libavformat/concat.c:156: undefined reference to `curl_easy_perform'
/root/ffmpeg_sources/ffmpeg/libavformat/concat.c:158: undefined reference to `curl_easy_getinfo'original Makefile :
https://github.com/FFmpeg/FFmpeg/blob/master/MakefileCan you help me ?
-
FFMPEG Converting a bunch of PNG images to a video
7 février 2017, par user2419553I have a folder full of 600 .png’s that I’d like to convert to a video using FFMPEG. The .png filenames are as follows :
f_001.png
f_002.png
f_003.png
...
f_600.png
I’ve been trying to use the following command to try to convert them :
ffmpeg -r 10 -i root/Record/frames/f_%03d.png -vcodec libx264 -crf 0 /root/Record/"$(date +"%Y_%m_%d %I.%M %p")".mkv
But I keep getting the error :
Could find no file with path 'root/Record/frames/f_%03d.png' and index in the range 0-4
root/Record/frames/f_%03d.png: No such file or directory