
Recherche avancée
Autres articles (104)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10862)
-
ffmpeg fails in crontab running as root
21 décembre 2020, par Steve LloydI am trying to convert a video from mov to mp4 from a crontab.


/usr/bin/ffmpeg -y -nostdin -hide_banner -loglevel panic -i "/var/www/sample.mov" -vcodec h264 -acodec mp3 "/var/www/sample.mp4"



When I run it from a terminal it works fine. From a crontab I get the following errors. I have already tried adding "export LD_LIBRARY_PATH=/usr/lib/ && /usr/bin/ffmpeg" without success. Any help would be appreciated.


[h264_v4l2m2m @ 0x4e8290] Could not find a valid device
[h264_v4l2m2m @ 0x4e8290] can't configure decoder
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (h264_v4l2m2m) -> h264 (libx264))
 Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Error while opening decoder for input stream #0:0 : Permission denied



-
Why pkg-config overrides 'prefix' with another default one ?
12 janvier, par SteveHI have an issue in using pkg-config to link some libraries to a program. The problem is 'prefix' variable in each library pkg-config files (*.pc) are overridden with an unwanted directory leading to building the program could not find the library's header and lib files.



Here, one of '*.pc' files, x264.pc :



prefix=/e/x264/x64-windows-rel 
exec_prefix=${prefix} 
libdir=${exec_prefix}/lib 
includedir=${prefix}/include 
...




I run this from MSYS2 terminal :



pkg-config --cflags --debug x264




This is some of the output it traced out :



...
 Parsing package file 'D:/msys64/usr/local/lib/pkgconfig\x264.pc'
 line>prefix=/e/x264/x64-windows-rel
 Variable declaration, 'prefix' overridden with 'D:/msys64/usr/local'
...




Note that MSYS2 and pkg-config are updated to newest versions.



Could anybody tell me why it happens and how to solve the issue without renaming 'prefix' to something else.?
Thanks.


-
Meaning of TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/windows
6 janvier 2016, par Nicholas MuirI am trying to compile Ffmpeg on Android using Cygwin and windows 7. I came across these two options for the lines below when using some tutorials to make a .sh file for the compile. I am new to this process and am trying to understand what exactly to do. Is the prebuilt/windows referring to the package to the download packages as in the options in the image below or is it referring to the operating system I am using.
This was the first option I found :
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64
This is the second option I found :
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
This is the images of the package download options available on the Ffmpeg.org site that I thought it may be reffering to.
Thanks for your help.