
Recherche avancée
Autres articles (88)
-
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 (...) -
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 (5411)
-
Find a resolution (dimension) of a video object saved in S3 - in rails
27 septembre 2015, par JVKI have video files saved in s3 and I want to find the dimension/resolution of any file (lets assume file sizes are in 500mb) per the request comes in my rails app.
One of the options, I have in my mind is :
Download (getObject) the file in local memory and use ffmpeg to find the required info. I currently don’t have ffmpeg, as I don’t need that for any task.
But, I don’t like this option, reason is - I don’t want to waste bandwidth to download it first (takes time) from S3 and then run cpu and memory intensive ffmpeg on my server to merely find the dimension/resolution of the video.
Is there any better solution ?
S3 object HEAD call on object unfortunately doesn’t return dimension information.
-
Cannot find library using gcc -shared in Eclipse to build a dll
26 septembre 2015, par tishuI am trying to use the FFMPEG library that I just compiled on Windows using MinGW in a C program in Eclipse. I have managed to build a simple HelloJNI.c file and run it :
gcc $(INCLUDES) -c -g -w HelloJNI.c
gcc -shared -o $(BIN_DIR)/hello.dll HelloJNI.oI am now trying to compile a ffmpeg_native.c file that uses FFMPEG but I am getting errors running the following :
LIBRARY_PATH = -L:"c:/Dev/msys-1.0/local/lib" -L:"c:/Dev/msys-1.0/local"
INCLUDES = -I$(SRC_DIR) -I"c:/Dev/msys-1.0/local/include" -I"c:/Program Files/Java/jdk1.8.0_45/include" -I"c:/Program Files/Java/jdk1.8.0_45//include/win32"
BIN_DIR = ../bin
gcc $(INCLUDES) -c -g -w ffmpeg_native1.1.4.c
gcc -shared -o $(BIN_DIR)/exportnative.dll ffmpeg_native1.1.4.o $(LIBRARY_PATH) -lffmpeg -lavcodec -lx264 -lavformat -lavutil -lswscaleThe first line runs fine but the second shows this output :
c:/Dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lavcodec
[etc for all libraries]I am puzzled as I am able to run the following in MinGW with success :
ld -o /local/libffmpeg.so -L/local/lib -lavcodec -lx264 -lavformat -lavutil -lswscale
-
unable to find a suitable output format for 'ffmpeg'
23 septembre 2015, par KDeogharkarI am using ffmpeg library for android.
I am passing one
ffmpeg
command for convert video format from.mp4
to.avi
ffmpeg -r 20 -i /storage/emulated/0/WisperMedia/WisperVideos/sample.mp4 -b:v 20M /storage/emulated/0/WisperMedia/WisperVideos/output.avi
But I am getting error like
09-23 09:29:41.525: E/Home(31343): FAILED with output : ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
09-23 09:29:41.525: E/Home(31343): built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
09-23 09:29:41.525: E/Home(31343): configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
09-23 09:29:41.525: E/Home(31343): libavutil 54. 7.100 / 54. 7.100
09-23 09:29:41.525: E/Home(31343): libavcodec 56. 1.100 / 56. 1.100
09-23 09:29:41.525: E/Home(31343): libavformat 56. 4.101 / 56. 4.101
09-23 09:29:41.525: E/Home(31343): libavdevice 56. 0.100 / 56. 0.100
09-23 09:29:41.525: E/Home(31343): libavfilter 5. 1.100 / 5. 1.100
09-23 09:29:41.525: E/Home(31343): libswscale 3. 0.100 / 3. 0.100
09-23 09:29:41.525: E/Home(31343): libswresample 1. 1.100 / 1. 1.100
09-23 09:29:41.525: E/Home(31343): libpostproc 53. 0.100 / 53. 0.100
09-23 09:29:41.525: E/Home(31343): Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/WisperMedia/WisperVideos/sample.mp4':
09-23 09:29:41.525: E/Home(31343): Metadata:
09-23 09:29:41.525: E/Home(31343): major_brand : isom
09-23 09:29:41.525: E/Home(31343): minor_version : 0
09-23 09:29:41.525: E/Home(31343): compatible_brands: isom3gp4
09-23 09:29:41.525: E/Home(31343): creation_time : 2015-09-23 03:50:16
09-23 09:29:41.525: E/Home(31343): Duration: 00:00:01.56, start: 0.000000, bitrate: 14737 kb/s
09-23 09:29:41.525: E/Home(31343): Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 11819 kb/s, SAR 65536:65536 DAR 16:9, 29.79 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
09-23 09:29:41.525: E/Home(31343): Metadata:
09-23 09:29:41.525: E/Home(31343): rotate : 90
09-23 09:29:41.525: E/Home(31343): creation_time : 2015-09-23 03:50:16
09-23 09:29:41.525: E/Home(31343): handler_name : VideoHandle
09-23 09:29:41.525: E/Home(31343): Side data:
09-23 09:29:41.525: E/Home(31343): displaymatrix: rotation of -90.00 degrees
09-23 09:29:41.525: E/Home(31343): Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
09-23 09:29:41.525: E/Home(31343): Metadata:
09-23 09:29:41.525: E/Home(31343): creation_time : 2015-09-23 03:50:16
09-23 09:29:41.525: E/Home(31343): handler_name : SoundHandle
09-23 09:29:41.525: E/Home(31343): [NULL @ 0x41f7f420] Unable to find a suitable output format for 'ffmpeg'
09-23 09:29:41.525: E/Home(31343): ffmpeg: Invalid argument