
Recherche avancée
Autres articles (55)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (9086)
-
Where to find an updated list of server versions and updates
19 mars 2017, par John RIn this date (2017-03-19)
those versions are out there :
• PHP 7.1.3
• Apache 2.4.25
• ffmpeg 3.2.4
• composer 1.4.1
• OpenSSL 1.1.0e
• MYSQL 5.7
• WHM & CPANEL 11.62.0.16 (http://layer2.cpanel.net/)
Is there a place or website to view this (with continuous update) ?
And is there other useful "stuff" to update ?
-
No output file when converting audio using FFmpeg in Android
18 mars 2017, par ShaI’m trying to convert
m4a
audio file towav
using FFmpeg. The code executes fine and gives no error, but I don’t see any output file in my directory.This is what I am executing :
String[] cmd = {"-y", "-i", "/storage/emulated/0/jd.m4a", "-f","wav" ,"/storage/emulated/0/DCIM/Camera/output.wav"};
And this is what gets printed :
03-17 15:40:51.539 10111-10111/io.whispero.soundmerger E/onProgress: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
03-17 15:40:51.542 10111-10111/io.whispero.soundmerger E/onProgress: built with gcc 4.8 (GCC)
03-17 15:40:51.545 10111-10111/io.whispero.soundmerger E/onProgress: configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
03-17 15:40:51.547 10111-10111/io.whispero.soundmerger E/onProgress: libavutil 55. 17.103 / 55. 17.103
03-17 15:40:51.552 10111-10111/io.whispero.soundmerger E/onProgress: libavcodec 57. 24.102 / 57. 24.102
03-17 15:40:51.554 10111-10111/io.whispero.soundmerger E/onProgress: libavformat 57. 25.100 / 57. 25.100
03-17 15:40:51.556 10111-10111/io.whispero.soundmerger E/onProgress: libavdevice 57. 0.101 / 57. 0.101
03-17 15:40:51.559 10111-10111/io.whispero.soundmerger E/onProgress: libavfilter 6. 31.100 / 6. 31.100
03-17 15:40:51.561 10111-10111/io.whispero.soundmerger E/onProgress: libswscale 4. 0.100 / 4. 0.100
03-17 15:40:51.562 10111-10111/io.whispero.soundmerger E/onProgress: libswresample 2. 0.101 / 2. 0.101
03-17 15:40:51.564 10111-10111/io.whispero.soundmerger E/onProgress: libpostproc 54. 0.100 / 54. 0.100
03-17 15:40:51.581 10111-10111/io.whispero.soundmerger E/onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/jd.m4a':
03-17 15:40:51.585 10111-10111/io.whispero.soundmerger E/onProgress: Metadata:
03-17 15:40:51.587 10111-10111/io.whispero.soundmerger E/onProgress: major_brand : M4A
03-17 15:40:51.589 10111-10111/io.whispero.soundmerger E/onProgress: minor_version : 0
03-17 15:40:51.593 10111-10111/io.whispero.soundmerger E/onProgress: compatible_brands: M4A mp42isom
03-17 15:40:51.595 10111-10111/io.whispero.soundmerger E/onProgress: creation_time : 2017-02-16 10:36:39
03-17 15:40:51.597 10111-10111/io.whispero.soundmerger E/onProgress: Duration: 00:00:03.39, start: 0.000000, bitrate: 82 kb/s
03-17 15:40:51.602 10111-10111/io.whispero.soundmerger E/onProgress: Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 24 kb/s (default)
03-17 15:40:51.608 10111-10111/io.whispero.soundmerger E/onProgress: Metadata:
03-17 15:40:51.612 10111-10111/io.whispero.soundmerger E/onProgress: creation_time : 2017-02-16 10:36:39
03-17 15:40:51.614 10111-10111/io.whispero.soundmerger E/onProgress: Output #0, wav, to '/storage/emulated/0/DCIM/Camera/hyder.wav':
03-17 15:40:51.617 10111-10111/io.whispero.soundmerger E/onProgress: Metadata:
03-17 15:40:51.619 10111-10111/io.whispero.soundmerger E/onProgress: major_brand : M4A
03-17 15:40:51.621 10111-10111/io.whispero.soundmerger E/onProgress: minor_version : 0
03-17 15:40:51.623 10111-10111/io.whispero.soundmerger E/onProgress: compatible_brands: M4A mp42isom
03-17 15:40:51.625 10111-10111/io.whispero.soundmerger E/onProgress: ISFT : Lavf57.25.100
03-17 15:40:51.627 10111-10111/io.whispero.soundmerger E/onProgress: Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s (default)
03-17 15:40:51.629 10111-10111/io.whispero.soundmerger E/onProgress: Metadata:
03-17 15:40:51.631 10111-10111/io.whispero.soundmerger E/onProgress: creation_time : 2017-02-16 10:36:39
03-17 15:40:51.633 10111-10111/io.whispero.soundmerger E/onProgress: encoder : Lavc57.24.102 pcm_s16le
03-17 15:40:51.636 10111-10111/io.whispero.soundmerger E/onProgress: Stream mapping:
03-17 15:40:51.639 10111-10111/io.whispero.soundmerger E/onProgress: Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
03-17 15:40:51.642 10111-10111/io.whispero.soundmerger E/onProgress: Press [q] to stop, [?] for help
03-17 15:40:51.645 10111-10111/io.whispero.soundmerger E/onProgress: size= 106kB time=00:00:03.39 bitrate= 256.2kbits/s speed= 181x
03-17 15:40:51.647 10111-10111/io.whispero.soundmerger E/onProgress: video:0kB audio:106kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071860%
03-17 15:40:51.650 10111-10111/io.whispero.soundmerger E/SUCCESS: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/jd.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2017-02-16 10:36:39
Duration: 00:00:03.39, start: 0.000000, bitrate: 82 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 24 kb/s (default)
Metadata:
creation_time : 2017-02-16 10:36:39
Output #0, wav, to '/storage/emulated/0/DCIM/Camera/hyder.wav':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
ISFT : Lavf57.25.100
Stream #0:0(eng): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s (default)
Metadata:
creation_time : 2017-02-16 10:36:39
encoder : Lavc57.24.102 pcm_s16le
Stream mapping:
Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size= 106kB time=00:00:03.39 bitrate= 256.2kbits/s speed= 181x
video:0kB audio:106kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071860%
03-17 15:40:51.653 10111-10111/io.whispero.soundmerger E/onFinish: onFinishPlease help why I am not seeing any output audio file :(
Thanks.
-
Seam carving
Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. “Add support for liquid rescaling”. I rushed to check the MagickWand API docs and there it was : MagickLiquidRescaleImage ! After about ten minutes of hacking the Imagick support was done. Needless to say ; I was excited
For those who don’t know what seam carving is check the demo here. More detailed information about the algorithm can be found here : “Seam Carving for Content-Aware Image Resizing” by Shai Avidan and Ariel Shamir
To use this functionality you need to install at least ImageMagick 6.3.8-2 and liblqr. Remember to pass –with-lqr to ImageMagick configuration line. You can get liblqr here : http://liblqr.wikidot.com/. The Imagick side of the functionality should appear in the CVS today if everything goes as planned.
Here is a really simple example just to illustrate the results of the operation. The parameters might be far from optimal (didn’t do much testing yet). The original dimensions of image are 500×375 and the resulting size is 500×200.
Update : the functionality is pending until license issues are solved.
-
< ?php
-
-
/* Create new object */
-
$im = new Imagick( ’test.jpg’ ) ;
-
-
/* Scale down */
-
$im->liquidRescaleImage( 500, 200, 3, 25 ) ;
-
-
/* Display */
-
header( ’Content-Type : image/jpg’ ) ;
-
echo $im ;
-
-
?>
The original image by flickr/jennconspiracy
And the result :
Update. On kenrick’s request here is an image which is scaled down to 300×300
-