
Recherche avancée
Autres articles (46)
-
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. -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9981)
-
Build ffmpeg for Windows CE/Mobile
12 juin 2012, par HarishAfter having many unsuccessful attempts to build ffmpeg for Android on Windows (through cygwin and MiNGW) I finally installed Ubuntu and tried the same, and it built successfully straight away.
Now I want to build ffmpeg for Windows CE/Mobile, whats my best choice ? Should I proceed on Ubuntu or through MiNGW since the targwt is WindowsCE. Just a note that I could build ffmpeg for Windows desktop on Windows through MinGW.
I tried with mingw32ce cross compiler on Ubuntu but I dont get any of the output lib/dll files. I used the below Makefile for Android and it works.
NDK=/media/windows/android-ndk-r8
PLATFORM=$NDK/platforms/android-8/arch-arm/
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
$PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -soname libffmpeg.so -shared -nostdlib -z,noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog --warn-once --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.aCan anyone please let me know how I can specify the same for Windows CE ?
PLATFORM=/opt/mingw32ce/arm-mingw32ce
PREBUILT=/opt/mingw32ce
??? -
Building ffmpeg for Android on Windows through MinGW
23 mai 2012, par HarishI'm trying to build ffmpeg for Android on Windows through MiNGW but facing the below problem :
AR libavcodec/libavcodec.a
LD ffmpeg_g.exe
LD ffplay_g.exe
LD ffprobe_g.exe
INSTALL libavcodec/libavcodec.a
CP ffmpeg.exe
STRIP ffmpeg.exe
CP ffprobe.exe
STRIP ffprobe.exe
CP ffplay.exe
STRIP ffplay.exe
INSTALL install-progs-yes
INSTALL ffmpeg.exe
INSTALL ffplay.exe
INSTALL ffprobe.exe
d:\android-ndk-r8\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: cannot open output file ./android/armv7-a/libffmpeg.so: No such file or directory
libavcodec/tscc.c: In function 'decode_frame':
libavcodec/tscc.c:97:24: warning: assignment discards qualifiers from pointer target type
./libavcodec/avcodec.h:40:0: fatal error: when writing output to : Invalid argument
compilation terminated.
libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init':This is my build script :
NDK=/d/android-ndk-r8
PLATFORM=$NDK/platforms/android-9/arch-arm/
PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows
function build_one_r6
{
./configure \
--disable-shared \
--enable-static \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-postproc \
--enable-small \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--enable-cross-compile \
--target-os=linux \
--extra-cflags="-I$PLATFORM/usr/include" \
--extra-ldflags="-L$PLATFORM/usr/lib -nostdlib" \
--arch=arm \
--disable-symver \
--disable-debug \
--disable-stripping \
$ADDITIONAL_CONFIGURE_FLAG
sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h
make clean
make -j4 install
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
$PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib - soname libffmpeg.so -shared -nostdlib -z,noexecstack -Bsymbolic --whole-archive --no- undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog --warn-once --dynamic- linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a
}
CPU=armv7-a
OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
PREFIX=./android/$CPU
ADDITIONAL_CONFIGURE_FLAG=Any idea what I'm missing here ? Please note that I was able to build ffmpeg for Windows desktop successfully so I assume the setup is correct.
-
Building ffmpeg for Android in Windows through cygwin : cannot execute binary file
22 mai 2012, par HarishI'm trying to build ffmpeg for Android in Cygwin and the build script (http://www.roman10.net/how-to-build-ffmpeg-for-android/) is giving me a problem on the below line :
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
/home/pxb743/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/lin
ux-x86/bin/arm-linux-androideabi-gcc : /home/pxb743/android-ndk-r5b/toolchains/ar
m-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc : cann
ot execute binary filefile ./arm-linux-androideabi-ar
./arm-linux-androideabi-ar : ELF 32-bit LSB executable, Intel 80386, version 1 (S
YSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, strippedCan anyone please help me in identifying where the problem is ? Cygwin environment or NDK version (Tried with several versions) or ffmpeg (I could build ffmpeg for Windows Desktop successfully)