
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (106)
-
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (11428)
-
SDL_SetVideoMode fails under Android ?
17 avril 2013, par user1568549I am trying to buid a Video Player for android using libsdl for rendering and libav for decoding.
First, i cross-compiled the sdl library for Android platform.
Then i ceated the jni layer for my sdl cpp file(already tested under ubuntu)
but when i test it under Android it fails(with fatal error segv11 signal) exactly at the beginning in the following instruction :this->screen = SDL_SetVideoMode(width, height, 0, 0);
Does anyone know any workaround for this error ?
Does anyone know how to display video using sdl under android ?
And is there any instructions or steps that i must follow in order to render SDL gui under android ?Thanks in advance !
-
ffmpeg usage in Android Studio
8 septembre 2017, par sargis_74I try to use ffmpeg sources in Android Studio under Windows10.
I built the ffmpeg.3.3.3 under ubuntu on Virtual Box by the followinf script and integrated the sources into Android Studio project :#!/bin/bash
NDK=/etc/FFmpegOnAndroid/android-ndk-r14b
SYSROOT=$NDK/platforms/android-21/arch-x86_64
TOOLCHAIN=/etc/FFmpegOnAndroid/android-ndk-r14b/toolchains/x86_64-4.9/prebuilt/linux-x86_64
CPU=arm
PREFIX=/etc/FFmpegOnAndroid/ffmpeg-3.3.3/output
ADDI_CFLAGS="-fomit-frame-pointer"
function build_one
{
./configure \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--disable-doc \
--disable-doc \
--disable-symver \
--enable-small \
--cross-prefix=$TOOLCHAIN/bin/x86_64-linux-android- \
--target-os=linux \
--arch=x86_64 \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
}
build_oneWhen I execute the following command under ubuntu, the output file is created without losing the quality :
ffmpeg -i sample_2.mp4 -i ic_launcher.jpg -filter_complex [1:v]scale=70:-1[wm];[0:v][wm]overlay=W-w-10:H-h-10[out] -map 0:a? -map [out] output.mp4
but when I call
main()
function of ffmpeg.c in Android studio with same arguments, the quality of output file is lost.Here are the difference of info of created output files :
Android Studio :
Stream #0:1(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1200x720 [SAR 1:1 DAR 5:3], 585 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
ubuntu :
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1200x720 [SAR 1:1 DAR 5:3], 423 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Could you please help me to solve this problem.
Thanks in advance,
Sargis Boyajyan
-
FFMPEG for android in Windows not successfully compile
23 décembre 2014, par PRAKASH UBHADIYAI am trying to compile FFMPEG for android in Windows 8.1 but i got error at 32 line in build_android.sh
./build_android.sh : line 32 : syntax error : unexpected end of file
when i execute command in cygwin
chmod +x build_android.sh
./build_android.sh
If you are knows steps to compile ffmpeg for android in windows and how to use ffmpeg in android then pleas reply me.
I am referencing .
http://www.packtpub.com/sites/default/files/downloads/Developing_Multimedia_Applications_with_NDK.pdf
,https://trac.ffmpeg.org/wiki/CompilationGuide/Android and
http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9
build_android.sh
#!/bin/bash
NDK=E:/android-ndk-r9d
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows
function build_one { ./configure \
--prefix=$PREFIX \
--disable-shared \
--enable-static \
--disable-doc \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-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_one