
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (47)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10992)
-
Révision 21790 : Quand on se connect sur un port non standard, il faut que celui-ci soit en 5e par...
11 novembre 2014, par Gilles VINCENThttp://php.net/manual/fr/mysqli.construct.php
En cas d’erreur il faut aussi utiliser la bonne fonction.
Question : a-t-on besoin de garder le "mysqli_select_db" separe ? Cette partie semble obsolete.
http://php.net/manual/en/mysqlinfo.api.choosing.phpLe choix force de ext/mysqli dans le commit [21637] est peut-etre a revoir.
PDO_MySql reste dans les extensions recommandees pour les nouveaux projets. -
Error on building ffmpeg for android using NDK in ubuntu
17 février 2015, par Alin
An ffmpeg android for android 2.3+ which allows me to decompress/add watermark/recompress a video file. I need to have it working on all current CPUs.
What I did so far
I looked in a lot of sources for guidance. Most of the articles are obsolete or simply not work. Not to mention the whole struggle I went to from installing ubuntu on virtualBox, an OS which I never seen before. The whole java/sdk/ndk install was pretty easy but I had hard times in setting the PATH variables and most importantly WHERE to set them.
So, here is my structure :
The default folder path is/home/alin
in which I have
The PATH is set in
etc/profile
and I can confirm that it works. I know that it works because runningjava -version
orndk-build
run just fine> ANDROID_SDK=/home/alin/android/sdk ANDROID_NDK=/home/alin/android/ndk
> JAVA_HOME=/usr/local/java/jdk1.8.0_20
> PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools:$ANDROID_NDK
> export JAVA_HOME export ANDROID_SDK export ANDROID_NDK export PATHI have downloaded the latest sources from ffmpeg.org and saved it in
ndk/sources
folder, insources
I have created an android_build.sh file as from (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/)#!/bin/bash
NDK=/home/alin/android/ndk
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
function build_one
{
./configure \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-doc \
--disable-symver \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_oneWhen running the
.sh
file I get this :
Trying different build.sh sometimes I got different errors... so I have no idea what to do next.
Please guide me to :
- be able to build ffmpeg
- make it compatible with as many devices as possible.
Thank you.
-
Problems in building ffmpeg for android using android NDK in ubuntu
3 septembre 2014, par Alin
An ffmpeg android for android 2.3+ which allows me to decompress/add watermark/recompress a video file. I need to have it working on all current CPUs.
What I did so far
I looked in a lot of sources for guidance. Most of the articles are obsolete or simply not work. Not to mention the whole struggle I went to from installing ubuntu on virtualBox, an OS which I never seen before. The whole java/sdk/ndk install was pretty easy but I had hard times in setting the PATH variables and most importantly WHERE to set them.
So, here is my structure :
The default folder path is/home/alin
in which I have
The PATH is set in
etc/profile
and I can confirm that it works. I know that it works because runningjava -version
orndk-build
run just fine> ANDROID_SDK=/home/alin/android/sdk ANDROID_NDK=/home/alin/android/ndk
> JAVA_HOME=/usr/local/java/jdk1.8.0_20
> PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools:$ANDROID_NDK
> export JAVA_HOME export ANDROID_SDK export ANDROID_NDK export PATHI have downloaded the latest sources from ffmpeg.org and saved it in
ndk/sources
folder, insources
I have created an android_build.sh file as from (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/)#!/bin/bash
NDK=/home/alin/android/ndk
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
function build_one
{
./configure \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-doc \
--disable-symver \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_oneWhen running the
.sh
file I get this :
Trying different build.sh sometimes I got different errors... so I have no idea what to do next.
Please guide me to :
- be able to build ffmpeg
- make it compatible with as many devices as possible.
Thank you.