
Recherche avancée
Autres articles (86)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (11188)
-
Error while compile ffmpeg on cygwin for android [closed]
7 novembre 2011, par SatheeshPossible Duplicate :
Error when run the command ./build.sh in FFmpeg decoder in AndroidI have try to implement the ffmpeg decoding library in my android project.Dowload FFmpeg.I got the ffmpeg library from the bambuser client version and unpack that into the project jni folder.Then i run the extract command(./extract.sh) in cygwin compiler tool(its becoz am using windows os) after that am trying to build ffmpeg library using the command ./build.sh
I have googled a lot but i cant make it work. Please help me out from this.
NDK version : NDKr5b Cygwin tool version : 1.7
My build.sh file is
/************Command starts here******************/
#!/bin/bash
if [ "$NDK" = "" ]; then
echo NDK variable not set, assuming ${HOME}/android-ndk
export NDK=${HOME}/android-ndk
fi
SYSROOT=$NDK/platforms/android-8/arch-arm
# Expand the prebuilt/* path into the correct one
TOOLCHAIN=`echo $NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows`
export PATH=$TOOLCHAIN/bin:$PATH
rm -rf build/ffmpeg
mkdir -p build/ffmpeg
cd ffmpeg
# Don't build any neon version for now
for version in armv5te armv7a
do
DEST=../build/ffmpeg
FLAGS="--target-os=linux --arch=arm"
FLAGS="$FLAGS --cross-prefix=arm-linux-androideabi- --arch=arm"
FLAGS="$FLAGS --sysroot=$SYSROOT"
FLAGS="$FLAGS --soname-prefix=/data/data/org.rifluxyss.androiddev.livewallpapaerffmpeg/lib/"
FLAGS="$FLAGS --enable-cross-compile --cc=$TOOLCHAIN/bin/arm-linux-androideabi-gcc"
FLAGS="$FLAGS --enable-shared --disable-symver"
FLAGS="$FLAGS --nm=$TOOLCHAIN/bin/arm-linux-androideabi-nm"
FLAGS="$FLAGS --ar=$TOOLCHAIN/bin/arm-linux-androideabi-ar"
FLAGS="$FLAGS --ranlib=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib"
FLAGS="$FLAGS --enable-small --optimization-flags=-O2"
FLAGS="$FLAGS --enable-encoder=mpeg2video --enable-encoder=nellymoser --enable-memalign-hack "
FLAGS="$FLAGS --disable-ffmpeg --disable-ffplay"
FLAGS="$FLAGS --disable-ffserver --disable-ffprobe --disable-encoders"
FLAGS="$FLAGS --disable-muxers --disable-devices --disable-protocols"
FLAGS="$FLAGS --enable-protocol=file --enable-avfilter"
FLAGS="$FLAGS --disable-network --enable-pthreads --enable-avutil"
FLAGS="$FLAGS --disable-avdevice --disable-asm --extra-libs=-lgcc"
case "$version" in
neon)
EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"
EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
# Runtime choosing neon vs non-neon requires
# renamed files
ABI="armeabi-v7a"
;;
armv7a)
EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp"
EXTRA_LDFLAGS=""
ABI="armeabi-v7a"
;;
*)
EXTRA_CFLAGS=""
EXTRA_LDFLAGS=""
ABI="armeabi"
;;
esac
DEST="$DEST/$ABI"
FLAGS="$FLAGS --prefix=$DEST"
mkdir -p $DEST
echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" > $DEST/info.txt
./configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" | tee $DEST/configuration.txt
[ $PIPESTATUS == 0 ] || exit 1
make clean
make -j4 || exit 1
make install || exit 1
done
/****************Command ends here************************/While compiling this am getting error when linking the archive files into .so files.
The error is look like
"arm-linux-androideabi/bin/ld.exe : cannot find -lavutil
Collect2:ld returned 1 exit status
make :[libaswscale/libswscale.so] Error 1
make : waititng for unfinished jobs...."Please anyone help me to out from this.
-
Linker error when compiling ffmpeg for Android
7 novembre 2011, par SatheeshI have try to implement the ffmpeg decoding library in my android project.Dowload FFmpeg.I got the ffmpeg library from the bambuser client version and unpack that into the project jni folder.Then i run the extract command(./extract.sh) in cygwin compiler tool(its becoz am using windows os) after that am trying to build ffmpeg library using the command ./build.sh
I have googled a lot but i cant make it work. Please help me out from this.
NDK version : NDKr5b Cygwin tool version : 1.7
My build.sh file is
/************Command starts here******************/
#!/bin/bash
if [ "$NDK" = "" ]; then
echo NDK variable not set, assuming ${HOME}/android-ndk
export NDK=${HOME}/android-ndk
fi
SYSROOT=$NDK/platforms/android-8/arch-arm
# Expand the prebuilt/* path into the correct one
TOOLCHAIN=`echo $NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows`
export PATH=$TOOLCHAIN/bin:$PATH
rm -rf build/ffmpeg
mkdir -p build/ffmpeg
cd ffmpeg
# Don't build any neon version for now
for version in armv5te armv7a
do
DEST=../build/ffmpeg
FLAGS="--target-os=linux --arch=arm"
FLAGS="$FLAGS --cross-prefix=arm-linux-androideabi- --arch=arm"
FLAGS="$FLAGS --sysroot=$SYSROOT"
FLAGS="$FLAGS --soname-prefix=/data/data/org.rifluxyss.androiddev.livewallpapaerffmpeg/lib/"
FLAGS="$FLAGS --enable-cross-compile --cc=$TOOLCHAIN/bin/arm-linux-androideabi-gcc"
FLAGS="$FLAGS --enable-shared --disable-symver"
FLAGS="$FLAGS --nm=$TOOLCHAIN/bin/arm-linux-androideabi-nm"
FLAGS="$FLAGS --ar=$TOOLCHAIN/bin/arm-linux-androideabi-ar"
FLAGS="$FLAGS --ranlib=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib"
FLAGS="$FLAGS --enable-small --optimization-flags=-O2"
FLAGS="$FLAGS --enable-encoder=mpeg2video --enable-encoder=nellymoser --enable-memalign-hack "
FLAGS="$FLAGS --disable-ffmpeg --disable-ffplay"
FLAGS="$FLAGS --disable-ffserver --disable-ffprobe --disable-encoders"
FLAGS="$FLAGS --disable-muxers --disable-devices --disable-protocols"
FLAGS="$FLAGS --enable-protocol=file --enable-avfilter"
FLAGS="$FLAGS --disable-network --enable-pthreads --enable-avutil"
FLAGS="$FLAGS --disable-avdevice --disable-asm --extra-libs=-lgcc"
case "$version" in
neon)
EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"
EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
# Runtime choosing neon vs non-neon requires
# renamed files
ABI="armeabi-v7a"
;;
armv7a)
EXTRA_CFLAGS="-march=armv7-a -mfloat-abi=softfp"
EXTRA_LDFLAGS=""
ABI="armeabi-v7a"
;;
*)
EXTRA_CFLAGS=""
EXTRA_LDFLAGS=""
ABI="armeabi"
;;
esac
DEST="$DEST/$ABI"
FLAGS="$FLAGS --prefix=$DEST"
mkdir -p $DEST
echo $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" > $DEST/info.txt
./configure $FLAGS --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="$EXTRA_LDFLAGS" | tee $DEST/configuration.txt
[ $PIPESTATUS == 0 ] || exit 1
make clean
make -j4 || exit 1
make install || exit 1
done
/****************Command ends here************************/While compiling this am getting error when linking the archive files into .so files.
The error is look like
"arm-linux-androideabi/bin/ld.exe : cannot find -lavutil
Collect2:ld returned 1 exit status
make :[libaswscale/libswscale.so] Error 1
make : waititng for unfinished jobs...."Please anyone help me to out from this. Thanks in advance
-
Error splitting .mov file with ffmpeg
5 novembre 2011, par Deepak LamichhaneI have used the following ffmpeg command to split the given media file.
ffmpeg -i test.mov -ss 00:00:00 -t 00:07:00 -acodec copy -vcodec copy test1.mov
The video "test.mov" has the following characteristics :
Dimensions: 320 * 240
Codecs: MPEG-4 Video, ACC
Duration: 00:45
Audio channels: 2
Total bit rate: 1,292But while splitting it shows the following errors
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 29 2011 12:03:13 with gcc 4.2.1 (Apple Inc. build 5664)
configuration: --disable-debug --prefix=/usr/local/Cellar/ffmpeg/0.6 --enable-shared --enable-pthreads --enable-nonfree --enable-gpl --disable-indev=jack --enable-libx264 --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
[aac @ 0x10181e200]channel element 1.0 is not allocated
Last message repeated 215 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10180b000]max_analyze_duration reached
Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/sts-107-/Dev/cloudfactory/tmp/media/test.mov':
Duration: 00:00:45.14, start: 0.000000, bitrate: 1297 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1195 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
Stream #0.1(eng): Audio: aac, 0 channels, s16, 97 kb/s
File '/Users/sts-107-/Dev/cloudfactory/tmp/media/ten/ten-1.mov' already exists. Overwrite ? [y/N] y
[mov @ 0x10181cc00]sample rate not set
Output #0, mov, to '/Users/sts-107-/Dev/cloudfactory/tmp/media/ten/ten-1.mov':
Stream #0.0(eng): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 1195 kb/s, 90k tbn, 30k tbc
Stream #0.1(eng): Audio: libfaac, 0 channels, 97 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Could not write header for output file #0 (incorrect codec parameters ?)
""I couldn't figure out whats the problem.
Any suggestions are most welcome
Thank you in advance !!!