
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (97)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (7958)
-
How to configure linking so that compiled binary finds libraries ?
5 octobre 2015, par Jean JordaanI’m compiling
ffmpeg
. Configuration :--prefix=/home/john/zope/engage/zeocluster/ffmpeg/parts/ffmpeg-build
--extra-cflags='-I/home/john/zope/engage/zeocluster/ffmpeg/parts/x264-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/ogg-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/theora-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/lame-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/faac-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/faad-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/vpx-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/vorbis-build/include
-I/home/john/zope/engage/zeocluster/ffmpeg/parts/ffmpeg-build/include'
--extra-ldflags='-L/home/john/zope/engage/zeocluster/ffmpeg/parts/x264-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/ogg-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/theora-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/lame-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/faac-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/faad-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/vpx-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/vorbis-build/lib
-L/home/john/zope/engage/zeocluster/ffmpeg/parts/ffmpeg-build/lib'The build completes fine, and
LD_LIBRARY_PATH=./parts/ffmpeg-build/lib:./parts/x264-build/lib ./parts/ffmpeg-build/bin/ffmpeg
runs the binary.Why is that
LD_LIBRARY_PATH
necessary ? Didn’t I already tell the compiler to link against these libraries ? -
ffmpeg fails to connect to pulse audio when scheduled through cron
4 février 2017, par BarrettI would like to start ffmpeg to capture audio from pulse through a cron task. I am currently running Linux arch 4.8.13-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux.
$ ffmpeg
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.2.1 (GCC) 20160830
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
libavutil 55. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: CX20583 Analog [CX20583 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0/usr/local/sbin/ffmpeg-audio
#! /bin/sh
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
n=$(date +"%s")
out="/home/user/audio/out"$n".mp3"
cd /
echo -e $USER" "$(id -u)"\n"$out"\n" > $out.txt
/usr/bin/ffmpeg -y -f alsa -i pulse -t 5 -codec:a libmp3lame -q:a 9 "file:"$out$ crontab -l
* * * * * /usr/local/sbin/ffmpeg-audio
$ journalctl -u cronie
Feb 04 11:51:01 arch crond[8913]: pam_unix(crond:session): session opened for user user by (uid=0)
Feb 04 11:51:01 arch CROND[8914]: (user) CMD (/usr/local/sbin/ffmpeg-audio)
Feb 04 11:51:01 arch sudo[8919]: user : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/ffmpeg -y -f alsa -i pulse -t 5 -codec:a libmp3lame -q:a 9 file:/home/user/audio/out1486237861.mp3
Feb 04 11:51:01 arch sudo[8919]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( built with gcc 6.2.1 (GCC) 20160830)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavutil 55. 34.100 / 55. 34.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavcodec 57. 64.101 / 57. 64.101)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavformat 57. 56.100 / 57. 56.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavdevice 57. 1.100 / 57. 1.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavfilter 6. 65.100 / 6. 65.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libavresample 3. 1. 0 / 3. 1. 0)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libswscale 4. 2.100 / 4. 2.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libswresample 2. 3.100 / 2. 3.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ( libpostproc 54. 1.100 / 54. 1.100)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused)
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ()
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT ([alsa @ 0x55a46e0144a0] cannot open audio device pulse (Connection refused))
Feb 04 11:51:01 arch CROND[8913]: (user) CMDOUT (pulse: Input/output error)
Feb 04 11:51:01 arch sudo[8919]: pam_unix(sudo:session): session closed for user root
Feb 04 11:51:01 arch CROND[8913]: pam_unix(crond:session): session closed for user userffmpeg runs correctly from the command line and ’$ which ffmpeg-audio’ returns /usr/local/sbin/ffmpeg-audio, but ffmpeg returns
([alsa @ 0x55a46e0144a0] cannot open audio device pulse (Connection
refused))when scheduled through cron.
Any suggestions ?
-
Access to folders on Ubuntu-based Rails server (keep getting "No such file..")
13 avril 2012, par StpnI am setting up Rails+ffmpeg on Ubuntu and I keep getting
Errno::ENOENT
No such file or directory..The setup is as follows :
/home/username/RailsApp
/home/username/videos/I am trying to run ffmpeg to write to /home/username/videos and I used "/home/username/videos/" and " /videos/" but no luck..
What am I missing ?
"www-data" user is included in "username" group..
Rails app works fine otherwise..
Any input greatly appreciated !
Thanks !