Recherche avancée

Médias (91)

Autres articles (67)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (4777)

  • react-native-ffmpeg : Native module cannot be null (ios) and null is not an object (evaluating 'RNFFmpegModule.enableLogEvents') (android)

    4 mars 2020, par foxtrotuniform6969

    I have a basic expo project that I’ve eject as expokit, and proceeded to run expo install react-native-ffmpeg. When then running expo start I was greeted with Native module cannot be null on my iOS device and null is not an object (evaluating  'RNFFmpegModule.enableLogEvents').

    After that, I re-read the react-native-ffmpeg documentation and added pod 'react-native-ffmpeg', :podspec => '../node_modules/react-native-ffmpeg/ios/react-native-ffmpeg.podspec' to my ios/Podfile and ran pod install. Still no luck.

    After that, I deleted the node_modules folder and yarn.lock file, re-ran yarn, went into the ios directory, deleted the Pods folder and Podfile.lock file and re-ran pod install and still had no luck !

    The error is less than helpful. Any ideas where to look ?

  • When adding a new module to nginx, an error occurred in the configuration assembly

    16 octobre 2019, par Ambasador

    On Centos 6, I am rebuilding nginx to add the module "nginx-rtmp-module-master"

    ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
    --conf-path=/etc/nginx/nginx.conf
    --error-log-path=/var/log/nginx/error.log
    --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid
    --lock-path=/var/run/nginx.lock
    --http-client-body-temp-path=/var/cache/nginx/client_temp
    --http-proxy-temp-path=/var/cache/nginx/proxy_temp
    --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
    --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
    --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx
    --group=nginx
    --with-openssl=/builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c
    --with-openssl-opt=enable-tls1_3 --with-http_ssl_module
    --with-http_realip_module --with-http_addition_module
    --with-http_sub_module --with-http_dav_module --with-http_flv_module
    --with-http_mp4_module --with-http_gunzip_module
    --with-http_gzip_static_module --with-http_random_index_module
    --with-http_secure_link_module --with-http_stub_status_module
    --with-http_auth_request_module --with-http_v2_module --with-mail
    --with-mail_ssl_module --with-file-aio --with-ipv6
    --add-module=../nginx-rtmp-module-master

    After the configuration is completed in the console, the following :

    ....
    configuring additional modules
    adding module in ../nginx-rtmp-module-master
    + ngx_rtmp_module was configured
    checking for PCRE library ... found
    checking for PCRE JIT support ... not found
    checking for zlib library ... found
    creating objs/Makefile

    Configuration summary
    + using system PCRE library
    + using OpenSSL library:
    /builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c
    + using system zlib library

    nginx path prefix: "/etc/nginx"
    nginx binary file: "/usr/sbin/nginx"
    nginx modules path: "/etc/nginx/modules"
    nginx configuration prefix: "/etc/nginx"
    nginx configuration file: "/etc/nginx/nginx.conf"
    nginx pid file: "/var/run/nginx.pid"
    nginx error log file: "/var/log/nginx/error.log"
    nginx http access log file: "/var/log/nginx/access.log"
    nginx http client request body temporary files:
    "/var/cache/nginx/client_temp"
    nginx http proxy temporary files: "/var/cache/nginx/proxy_temp"
    nginx http fastcgi temporary files: "/var/cache/nginx/fastcgi_temp"
    nginx http uwsgi temporary files: "/var/cache/nginx/uwsgi_temp"
    nginx http scgi temporary files: "/var/cache/nginx/scgi_temp"

    ./configure: warning: the "--with-ipv6" option is deprecated

    After trying to build using the make command, I get an error :

    [root@216501 nginx-1.16.1]# make
    make -f objs/Makefile
    make[1]: Entering directory `/root/nginx-1.16.1'
    cd /builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c \
    && if [ -f Makefile ]; then make clean; fi \
    && ./config
    --prefix=/builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c/.openssl
    no-shared no-threads enable-tls1_3 \
    && make \
    && make install_sw LIBDIR=lib
    /bin/sh: line 0: cd:
    /builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c: No such file or
    directory
    make[1]: ***
    [/builddir/build/BUILD/bx-nginx-1.16.1/openssl-1.1.1c/.openssl/include/openssl/ssl.h]
    Error 1
    make[1]: Leaving directory `/root/nginx-1.16.1'
    make: *** [build] Error 2

    How to fix the error to correctly install the module I need ?

  • How do I save file to current location during FOR recursion

    30 septembre 2019, par Blaine P.

    I have a batch script to run ffmpeg on files recursively. Currently the script saves all the new files to a newly created directory named Output. Instead, I would like to save the new files in the same location as the original files. I thought I would use an environmental variable showing the current directory being traversed to during recursion but I can’t find it.

    SET /P i=Enter the file extension
    md output
    For /R %%a IN (*.%i%) DO ffmpeg -i "%%a" -c:v libx264 -crf 10 -pix_fmt yuv420p "output/%%~na.mp4"

    The script works fine saving the file as the same filename with a new extension but places the file in the new "output" folder. I tried setting a new variable with %cd% within the FOR loop but that didn’t work.