Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (57)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (10987)

  • libffmpeg.so Not Executing ffmpeg 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.
  • 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.