
Recherche avancée
Autres articles (61)
-
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 (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (11106)
-
Reduce compiled ffmpeg library size based on what I need
20 septembre 2014, par AlinI finally managed to build ffmpeg as detailed in here : https://enoent.fr/blog/2014/06/20/compile-ffmpeg-for-android/ and in the end, I have a ffmpeg library which accepts command arguments.
I am ONLY applying a watermark image over the video so for it I am using this ffmpeg command :
ffmpeg -i input.avi -i logo.png -filter_complex 'overlay=10:main_h-overlay_h-10' output.avi
Basic config :
./configure \
--prefix=$PREFIX \
--disable-shared \
--enable-static \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-doc \
--disable-symver \
--enable-protocol=concat \
--enable-protocol=file \
--enable-muxer=mp4 \
--enable-demuxer=mpegts \
--enable-memalign-hack \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic -marm $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS"No other commands needed from ffmpeg.
When compiling ffmpeg I get these files :
I want to reduce the size of the library to as small as possible, so given the above command, are there any files that I can remove from final build ?
ALSO which is the most common CPU found in current devices ? arm v7vfpv3, arm v7vfp, arm v7n ? I want to cover as many devices as possible.
#arm v6
#CPU=armv6
#OPTIMIZE_CFLAGS="-marm -march=$CPU"
#PREFIX=./android/$CPU
#ADDITIONAL_CONFIGURE_FLAG=
#build_one
#arm v7vfpv3
CPU=armv7-a
OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
PREFIX=./android/$CPU
ADDITIONAL_CONFIGURE_FLAG=
build_one
#arm v7vfp
#CPU=armv7-a
#OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU "
#PREFIX=./android/$CPU-vfp
#ADDITIONAL_CONFIGURE_FLAG=
#build_one
#arm v7n
#CPU=armv7-a
#OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=neon -marm -march=$CPU -mtune=cortex-a8"
#PREFIX=./android/$CPU
#ADDITIONAL_CONFIGURE_FLAG=--enable-neon
#build_one
#arm v6+vfp
#CPU=armv6
#OPTIMIZE_CFLAGS="-DCMP_HAVE_VFP -mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU"
#PREFIX=./android/${CPU}_vfp
#ADDITIONAL_CONFIGURE_FLAG=
#build_one -
compiling ffmpeg 2.3 for android with NDK r10 on windows [duplicate]
25 août 2014, par L.GrilloThis question already has an answer here :
After a week i’m trying to compile ffmpeg for android.
I can’t find a static build in the entire web exept for https://github.com/guardianproject/android-ffmpeg-java/tree/master/res/raw but is 0.11 version one.This is my build.sh
#!/usr/bin/env bash
NDK=C:/Android/android-ndk-r10
SYSROOT=$NDK/platforms/android-18/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64
function build_one
{
./configure \
--arch=arm \
--target-os=linux \
--enable-runtime-cpudetect \
--enable-pic \
--disable-shared \
--enable-static \
--extra-cflags='-march=armv6' \
--extra-ldflags="$ADDI_LDFLAGS" \
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver\
--disable-network \
--enable-cross-compile \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--sysroot=$SYSROOT \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make -j4
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_oneIt seems everything works good except the compilation stopped after 4 files :
It seems to stay here forever. After 4 hours nothing is moving.
the process "make.exe (32 bit)" is running with 18% of cpuAny help will be precious.
Thank u -
FFMPEG adding watermark At least one output file has to be specified
12 juillet 2014, par seshu450I am trying to add a watermark at bottom right corner of video using FFMPEG lib in android. I am getting the error as follows.
Logcat Output :
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers built on Mar 31 2013 23:44:57 with gcc 4.6 (GCC) 20120106 (prerelease)
configuration : —arch=arm —target-os=linux —enable-runtime-cpudetect —enable-pic —disable-shared —enable-static —cross-prefix=/opt/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- —sysroot=/opt/android-ndk-r8e/platforms/android-8/arch-arm —extra-cflags=’-march=armv6’ —extra-ldflags= —enable-ffmpeg —disable-ffplay —disable-ffprobe —disable-ffserver —disable-network libavutil
52.18.100 / 52. 18.100 libavcodec 54. 92.100 / 54. 92.100 libavformat 54. 63.104 / 54. 63.104 libavdevice 54. 3.103 / 54. 3.103 libavfilter 3. 42.103 / 3. 42.103 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102Trailing options were found on the commandline.Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/data/data/com.vl.videologotest/cache/700kb.mp4’ :
Metadata : major_brand : isom minor_version : 0 compatible_brands : isom3gp4 creation_time : 2014-07-09 12:42:10 Duration : 00:00:06.70, start : 0.000000, bitrate : 878 kb/s Stream #0:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x240, 768 kb/s, 29.65 fps, 59.92 tbr, 90k tbn, 180k tbc
Metadata : creation_time : 2014-07-09 12:42:10 handler_name : VideoHandle Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 122 kb/s
Metadata : creation_time : 2014-07-09 12:42:10 handler_name : SoundHandleInput #1, image2, from ’/data/data/com.vl.videologotest/cache/logo.png’ : Duration : 00:00:00.04, start : 0.000000, bitrate : N/A Stream #1:0 : Video : png, rgba, 72x72, 25 tbr, 25 tbn, 25 tbcAt least one output file must be specified.
The command I used to add the water mark is
ffmpeg -i 700kb.mp4 -vf movie=logo.png [wm]; [in][wm] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out] -c:a copy AbcOut.mp4