Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (81)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang 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.

Sur d’autres sites (10235)

  • lavc/aacenc_utils : replace powf(x,y) by expf(logf(x), y)

    8 mars 2016, par Ganesh Ajjanagadde
    lavc/aacenc_utils : replace powf(x,y) by expf(logf(x), y)
    

    This is 2x faster for y not an integer on Haswell+GCC, and should
    generally be faster due to the fact that anyway powf essentially does
    this under the hood. Made an inline function in lavu/internal.h for this
    purpose.

    Note that there are some accuracy differences, that should generally be
    negligible. In particular, FATE still passes on this platform.

    Results in 7% speedup in aac encoding with -march=native, Haswell+GCC.
    before :
    ffmpeg -i sin.flac -acodec aac -y sin_new.aac 6.05s user 0.06s system 104% cpu 5.821 total

    after :
    ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.67s user 0.03s system 105% cpu 5.416 total

    This is also faster than an alternative approach that pulls in powf, gets rid of
    the crufty NaN checks and other special cases, exploits knowledge about the intervals, etc.
    This of course does not exclude smarter approaches ; just suggests that
    there would need to be significant work on this front of lower utility than
    searches for hotspots elsewhere.

    Reviewed-by : Reimar Döffinger <Reimar.Doeffinger@gmx.de>
    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : Ganesh Ajjanagadde <gajjanag@gmail.com>

    • [DH] libavcodec/aacenc_utils.h
    • [DH] libavutil/internal.h
  • libffmpeg.so Not Executing ffmpeg 2.8.4 Commands

    27 janvier 2016, par Chirag Darji
    • libffmpeg.so is not working with command line arguments
    • I have successfully compiles ffmpeg and get static libffmpeg.so library.
    • I installed using android.mk and its installed successfully
    • but unable to execute ffmpeg command.

      *My build.sh is as follows
      function build_r8b_test
      {
      bash configure --target-os=linux \
      --arch=arm \
      --cpu=cortex-a8 \
      --enable-runtime-cpudetect \
      --prefix=$PREFIX \
      --enable-pic \
      --disable-shared \
      --enable-static \
      --enable-cross-compile \
      --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
      --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
      --sysroot="$PLATFORM" \
      --extra-cflags="-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie -fPIC -DANDROID -marm -march=armv7-" \
      --extra-ldflags="-L../x264 -L$PREBUILT/lib/gcc/arm-linux-androideabi/4.9" \
      --extra-libs="-lgcc" \
      --enable-gpl \
      --enable-version3 \
      --enable-nonfree \
      --disable-doc \
      --enable-yasm \
      --enable-decoders \
      --enable-encoders \
      --enable-muxers \
      --enable-demuxers \
      --enable-parsers \
      --enable-protocols \
      --enable-filters \
      --disable-indevs \
      --disable-outdevs \
      --enable-hwaccels \
      --disable-ffmpeg \
      --disable-ffplay \
      --disable-ffprobe \
      --disable-ffserver \
      --disable-network \
      --enable-zlib \
      --enable-demuxer=mov \
      --enable-demuxer=h264 \
      --enable-protocol=file \
      --enable-avformat \
      --enable-avcodec \
      --enable-decoder=rawvideo \
      --enable-decoder=mjpeg \
      --enable-decoder=h263 \
      --enable-decoder=mpeg4 \
      --enable-decoder=h264 \
      --enable-parser=h264 \
      --enable-encoder=mpeg4 \
      --disable-asm \
      --enable-neon \
      --enable-armv5te \
      --disable-network \
      --enable-avfilter \
      --disable-avdevice \
      --enable-postproc \

      $ADDITIONAL_CONFIGURE_FLAG
      make clean
      make
      make  -j4 install
      $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 libavfilter/libavfilter.a libpostproc/libpostproc.a libswresample/libswresample.a libswscale/libswscale.a   -lc -lm -lz -ldl -llog  --warn-search-mismatch  --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.9/libgcc.a
      }
      #arm v7vfpv3
      CPU=armv7-a
      OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
      PREFIX=./android/$CPU
      ADDITIONAL_CONFIGURE_FLAG=
      build_r8b_test

      * and my androi.mk is as follow
      LOCAL_PATH := $(call my-dir)
      APP_ABI := armeabi-v7a
      include $(CLEAR_VARS)
      LOCAL_MODULE =myffmpeg
      LOCAL_SRC_FILES :=libffmpeg.so
      include $(PREBUILT_SHARED_LIBRARY)
      include $(CLEAR_VARS)
      PATH_TO_FFMPEG_SOURCE:=$(LOCAL_PATH)/ffmpeg
      LOCAL_C_INCLUDES += $(PATH_TO_FFMPEG_SOURCE)
      LOCAL_MODULE=ffmpeg-jni
      LOCAL_LDLIBS := -L/home/admin/android-sdk-linux/ndk-bundle/platforms/android-21/arch-arm/usr/lib -L$(LOCAL_PATH) -llog -ljnigraphics -lz -ldl -lgcc -lm
      LOCAL_SRC_FILES := ffmpeg-jni.c ffmpeg/cmdutils.h ffmpeg/cmdutils.c ffmpeg/ffmpeg.h ffmpeg/ffmpeg_opt.c ffmpeg/ffmpeg_filter.c

      LOCAL_SHARED_LIBRARIES:=myffmpeg
      include $(BUILD_SHARED_LIBRARY)
      • I have successfully installed armeabi obj and armeabi-v7a
        But it is not works simple ffmpeg command like (ffmpeg -y -i /mnt/sdcard/app.mp4 /mnt/sdcard/app.mkv).
        Applciation is terminate at ret = ffmpeg_parse_options(argc, argv) ; in ffmpeg-jni.c
        which is copied from ffmpeg.c.
        If i am doing wrond build please help me to get out this.
  • Fast Video Streaming and Upload Android

    6 avril 2016, par vminind

    Fast Streaming & Uploading Videos On Mobile Apps with AWS S3

    Im developing a app witch has Android, iOS Clients were users can upload videos and photos and view as news feed. I store my video file on Amazone s3. Video length is limited to 30sec.

    When user is uploading 30 sec video from their gallery there are some high quality videos witch is even exceed 100MB so those video files take ages to upload. So i tried to convert them before upload using ffmpeg-android library but it also take almost same amount of time to convert the file so it seems this solution also point less. (convert in the scene reducing the video resolution and frame rate)

    Im using ExoPlayer to play videos

    Note : Videos uploading from iOS are not that huge files.

    I want videos to upload fast and stream fast. Its big help if anyone can share their thoughts on this.