Recherche avancée

Médias (91)

Autres articles (53)

  • 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 (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9151)

  • warning on compilation of ffmpeg on android

    21 août 2012, par swapnil adsure

    hey guys i am going to share my script and error please help me to solve it
    i want to compile ffmpeg on android

    '# !/bin/bash
    # Author : Dmitry Dzakhov (based on Guo Mingyu's script)

    # Creating conf.sh in ffmpeg directory
    NDK=~/android-ndk
    PLATFORM=$NDK/platforms/android-14/arch-arm
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86
    output="conf.sh"

    [ -f conf.sh ] && echo "Old $output has been removed."
    echo '#!/bin/bash' > $output
    echo "PREBUILT=$PREBUILT" >> $output
    echo "PLATFORM=$PLATFORM" >> $output
    echo './configure --target-os=linux \
       --prefix=./android/armv7-a \
       --enable-cross-compile \
       --extra-libs="-lgcc" \
       --arch=arm \
       --cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
       --cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
       --nm=$PREBUILT/bin/arm-linux-androideabi-nm \
       --sysroot=$PLATFORM \
       --extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 -mfloat-abi=softfp -mfpu=neon -marm -march=armv7-a -mtune=cortex-a8 " \
       --disable-shared \
       --enable-static \
       --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \
       --enable-parsers \
       --enable-encoders \
       --enable-decoders \
       --enable-muxers \
       --enable-demuxers \
       --enable-swscale \
       --enable-swscale-alpha \
       --disable-ffplay \
       --disable-ffprobe \
       --enable-ffserver \
       --enable-network \
       --enable-indevs \
       --disable-bsfs \
       --enable-filters \
       --enable-avfilter \
       --enable-protocols \
       --disable-asm \
       --enable-neon' >> $output

    # start configure
    sudo chmod +x $output
    echo "configuring..."
    ./$output || (echo configure failed && exit 1)

    # modify the config.h
    echo "modifying the config.h..."
    sed -i "s/#define restrict restrict/#define restrict/g" config.h

    # remove static functions in libavutil/libm.h
    echo "removing static functions in libavutil/libm.h..."
    sed -i "/static/,/}/d" libavutil/libm.h

    # modify Makefiles
    echo "modifying Makefiles..."
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavcodec/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavcodec/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavfilter/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavfilter/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavformat/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavformat/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libavutil/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libavutil/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libpostproc/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libpostproc/Makefile
    sed -i "/include \$(SUBDIR)..\/subdir.mak/d" libswscale/Makefile
    sed -i "/include \$(SUBDIR)..\/config.mak/d" libswscale/Makefile

    # generate av.mk in ffmpeg
    echo "generating av.mk in ffmpeg..."
    echo '# LOCAL_PATH is one of libavutil, libavcodec, libavformat, or libswscale

    #include $(LOCAL_PATH)/../config-$(TARGET_ARCH).mak
    include $(LOCAL_PATH)/../config.mak

    OBJS :=
    OBJS-yes :=
    MMX-OBJS-yes :=
    include $(LOCAL_PATH)/Makefile

    # collect objects
    OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes)
    OBJS += $(OBJS-yes)

    FFNAME := lib$(NAME)
    FFLIBS := $(foreach,NAME,$(FFLIBS),lib$(NAME))
    FFCFLAGS  = -DHAVE_AV_CONFIG_H -Wno-sign-compare -Wno-switch -Wno-pointer-sign
    FFCFLAGS += -DTARGET_CONFIG=\"config-$(TARGET_ARCH).h\"

    ALL_S_FILES := $(wildcard $(LOCAL_PATH)/$(TARGET_ARCH)/*.S)
    ALL_S_FILES := $(addprefix $(TARGET_ARCH)/, $(notdir $(ALL_S_FILES)))

    ifneq ($(ALL_S_FILES),)
    ALL_S_OBJS := $(patsubst %.S,%.o,$(ALL_S_FILES))
    C_OBJS := $(filter-out $(ALL_S_OBJS),$(OBJS))
    S_OBJS := $(filter $(ALL_S_OBJS),$(OBJS))
    else
    C_OBJS := $(OBJS)
    S_OBJS :=
    endif

    C_FILES := $(patsubst %.o,%.c,$(C_OBJS))
    S_FILES := $(patsubst %.o,%.S,$(S_OBJS))

    FFFILES := $(sort $(S_FILES)) $(sort $(C_FILES))' > av.mk

    echo 'include $(all-subdir-makefiles)' > ../Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    LOCAL_STATIC_LIBRARIES := libavformat libavcodec libavutil libpostproc libswscale
    LOCAL_MODULE := ffmpeg
    include $(BUILD_SHARED_LIBRARY)
    include $(call all-makefiles-under,$(LOCAL_PATH))' > Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_CFLAGS += -include "string.h" -Dipv6mr_interface=ipv6mr_ifindex
    LOCAL_LDLIBS := -lz
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavformat/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_CFLAGS += -std=c99
    LOCAL_LDLIBS := -lz
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavcodec/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavfilter/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libavutil/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libpostproc/Android.mk

    echo 'LOCAL_PATH := $(call my-dir)
    include $(CLEAR_VARS)
    include $(LOCAL_PATH)/../av.mk
    LOCAL_SRC_FILES := $(FFFILES)
    LOCAL_C_INCLUDES :=        \
       $(LOCAL_PATH)        \
       $(LOCAL_PATH)/..
    LOCAL_CFLAGS += $(FFCFLAGS)
    LOCAL_STATIC_LIBRARIES := $(FFLIBS)
    LOCAL_MODULE := $(FFNAME)
    include $(BUILD_STATIC_LIBRARY)' > libswscale/Android.mk

    # start build!
    echo "start ndk-building..."
    cd ../..
    $NDK/ndk-build
    # Change previous line to "$NDK/ndk-build V=1" if you'll get errors. This will give some more information.'

    and here is the error i got

    WARNING : /Users/swapnil/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
    WARNING : Compiler does not indicate floating-point ABI, guessing soft.
    modifying the config.h

  • ffmpeg command line working on emulator but not in device in android

    18 avril 2013, par rams

    i want to convert sequence of images into video.i successfully completed this task in emulator.but in real device its not working.what's the problem.i put the ffmpeg executable files and libraries in system/bin as well as system/lib folder.

    Runtime.getRuntime().exec("chmod 777 /system/bin/ffmpeg");
    chperm=Runtime.getRuntime().exec("ffmpeg -f image2 -i img%4d.jpg adi.avi",null,dir);
    Toast.makeText(getBaseContext(), "success", Toast.LENGTH_SHORT).show();
  • FFMPEG Android broken MP4 output video

    19 octobre 2015, par qstra

    I get error when try to play MP4 file with default android player, works fine on "MP4 player apps" and PC, tested on few phones, where is the problem ? how can I know why mp4 vid is broken ?

    I use command for convert jpg’s to mp4, they are numered fine and video is OK on PC but not on default player.

               String  cmd= "-y -r "+j+" -i /sdcard/TLphotos/%03d.jpg -preset ultrafast "+path+"/"+mp4name+".mp4";