
Recherche avancée
Autres articles (75)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5986)
-
How to connect ffmpeg binaries with laravel on cpanel
13 février 2020, par Manjeet SinghI am using laravel version 5.8,
the root directory of my project on
cpanel
ishome/user/public_html
,
theffmpeg
is installed onwhm root server
, (mycpanel
account have full access to root)so how can I connect ffmpeg package with my laravel project in
-
how do I fix the permission problem so ffmpeg can write when run from a cgi-script ?
7 juillet 2022, par NewtownGuyI have a shell script in Linux that runs ffmpeg for the purpose of converting video to a series snapshots in response to a command from apache2. The shell script is run from a perl script in /var/www/cgi-bin that is called by apache2. The conversion works fine when I run the shell script from the command line when I login as root. The problem is that ffmpeg cannot write its output when it's run from the cgi-script. With the exception of ffmpeg writing files, the shell script runs from the cgi-script just fine because I enabled it in /etc/sudoers and I run it with sudo. I have read several posts on the use of ffmpeg and setting permissions, and have tried the following without success :


- 

-
The full path to the snapshot files being written is given in the ffmpeg command


-
I tried placing the shell script that runs ffmpeg into a root folder instead of the same folder, /var/www/cgi-bin, as the perl cgi script


-
I gave the folder, /var/www/html/userName/video, where ffmpeg is to write its snapshots, www-data:root ownership instead of the original root:root, and I tried changing its write permission from 755 to 777.


-
ffmpeg is installed in the default location, /use/bin












How do I fix this ?


Thank you in advance.


-
-
How to debug missing shared library (libffmpeg.so) while running Electron App (LBRY-Desktop) on FreeBSD Linuxulator ?
13 septembre 2021, par xliivI'm working on running an Electron Linux App on FreeBSD, namly
lbry-desktop.


I did this


- 

-
download https://github.com/mrclksr/linux-browser-installer


-
run from FreeBSD


sudo ./linux-browser-installer chroot create
sudo chroot /compat/ubuntu/ /bin/bash



-
run from chroot/ubuntu


apt install --yes wget
cd /root
wget https://github.com/lbryio/lbry-desktop/releases/download/v0.51.2/LBRY_0.51.2.deb
apt install --yes ./LBRY_0.51.2.deb
rm /var/lib/dpkg/info/libfprint-2-2\:amd64.postinst
apt install --yes ./LBRY_0.51.2.deb



-
back to FreeBSD


> /compat/ubuntu/opt/LBRY/lbry













I'm getting this


/compat/ubuntu/opt/LBRY/lbry: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
fish: Job 1, '/compat/ubuntu/opt/LBRY/lbry' terminated by signal SIGTRAP (Trace or breakpoint trap)



I did some debugging, but can't get it thru.


My conclusion is, it should work, since


- 

ffmpeg.so
is present
> ll /compat/ubuntu/opt/LBRY/
total 195691
-rw-r--r-- 1 root wheel 1.0K Aug 20 16:22 LICENSE.electron.txt
-rw-r--r-- 1 root wheel 4.5M Aug 20 16:22 LICENSES.chromium.html
-rwsr-xr-x 1 root wheel 6.0M Aug 20 16:22 chrome-sandbox
-rw-r--r-- 1 root wheel 176K Aug 20 16:22 chrome_100_percent.pak
-rw-r--r-- 1 root wheel 314K Aug 20 16:22 chrome_200_percent.pak
-rw-r--r-- 1 root wheel 10M Aug 20 16:22 icudtl.dat
-rwxr-xr-x 1 root wheel 122M Aug 20 16:22 lbry
-rwxr-xr-x 1 root wheel 238K Aug 20 16:22 libEGL.so
-rwxr-xr-x 1 root wheel 8.5M Aug 20 16:22 libGLESv2.so
-rwxr-xr-x 1 root wheel 3.0M Aug 20 16:22 libffmpeg.so
-rwxr-xr-x 1 root wheel 4.3M Aug 20 16:22 libvk_swiftshader.so
-rwxr-xr-x 1 root wheel 8.1M Aug 20 16:22 libvulkan.so
drwxr-xr-x 2 root wheel 55B Sep 6 13:04 locales
drwxr-xr-x 4 root wheel 5B Sep 6 13:04 resources
-rw-r--r-- 1 root wheel 4.6M Aug 20 16:22 resources.pak
-rw-r--r-- 1 root wheel 49K Aug 20 16:22 snapshot_blob.bin
drwxr-xr-x 2 root wheel 4B Sep 6 13:04 swiftshader
-rw-r--r-- 1 root wheel 167K Aug 20 16:22 v8_context_snapshot.bin
-rw-r--r-- 1 root wheel 107B Aug 20 16:22 vk_swiftshader_icd.json
> strings /compat/ubuntu/opt/LBRY/lbry|rg libffmpeg\.so
libffmpeg.so







Also, from chroot


root@alef14:~# ldd /opt/LBRY/lbry |grep ffmpeg
 libffmpeg.so => /opt/LBRY/libffmpeg.so (0x0000000808e00000)



So I'm missing something, but can't find it.


How can I debug/solve it ?


Running the program from
/compat/ubuntu/opt/LBRY/
dir, doesn't work as well.

-