Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (37)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4429)

  • Call ffmpeg command from matlab (ubuntu 12.04)

    30 novembre 2014, par bigpig245

    I’m trying to call ffmpeg function to get duration of video from matlab. In command line, it returns ok :

    ntrang@ubuntu:~$ ffmpeg -i /home/ntrang/projects/dataset/hmdb51/01_test/a1.avi 2>&1 | sed -n "s/.*Duration: \([^,]*\), .*/\1/p"

    it returns 00:00:18.03

    But when I call it from matlab by system command :

    >> system('ffmpeg -i /home/ntrang/projects/dataset/hmdb51/01_test/a1.avi 2>&1 | sed -n "s/.*Duration: \([^,]*\), .*/\1/p"');

    it returns empty.

    This is my env setting in Matlab

    LD_LIBRARY_PATH='/usr/local/MATLAB/R2013a/sys/os/glnxa64:/usr/local/MATLAB/R2013a/bin/glnxa64:/usr/local/MATLAB/R2013a/extern/lib/glnxa64:/usr/local/MATLAB/R2013a/runtime/glnxa64:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64'

    PATH='/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk1.7.0_51/bin'

    I also create symbolic link for libstdc but it can help nothing...

    I have looking around on Internet for solution but not so good so far... What should I do ?

    I’m using Matlab R2013a on Ubuntu 12.04.5 LTS 64bit...

    Thanks in advance.

  • Linux - FFMpeg - Cannot open libmp3lame.so.0

    15 novembre 2014, par h4ng4r18

    I have installed FFMpeg to /bin/ffmpeg. When I try to run ffmpeg :

    ...bin]$ ffmpeg
    ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file:
    No such file or directory

    however I can see this file

    bin]$ cd /usr/lib

    lib]$ dir
    cups        java-1.8.0        libavdevice.so.52      modprobe.d
    games       java-ext          libavdevice.so.52.2.3  python2.6
    gcc     jvm           libavformat.so.50      rpm
    java        jvm-commmon       libavformat.so.51      sendmail
    java-1.5.0  jvm-exports       libavutil.so.49        sendmail.sendmail
    java-1.6.0  jvm-private       libmp3lame.so.0        tmpfiles.d
    java-1.7.0  libavcodec.so.51  locale             yum-plugins

    I’m unsure of how to proceed at this stage - still quite new to Linux.

    The guide that I followed to get to this stage

    I am at the Symlinks stage and when I run

    sudo ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0

    I get "ln : failed to create symbolic link ‘/usr/lib/libmp3lame.so.0’ : File exists"

  • Can I Config FFMEG-2.4.3 to use in android windows 64 ?

    13 novembre 2014, par Ngo Ky

    I want to build ffmpeg-2.4.3 (lastest c lib) to use it on android for managing video.
    my OS is windows 7 Utimate x64
    cywin64 in directory : C :/cywin64/ have make installed.
    NDK in directory : D :\solfware\Programming\android-ndk-r10c

    i follow toturial form : http://www.roman10.net/how-to-build-ffmpeg-for-android/comment-page-1/
    my project struture like :

    enter image description here

    i create build_android.sh like roman10 as following code :

    # ARMv7+Neon (Cortex-A8)
    # Customizing:
    # 1. Feel free to change ./configure parameters for more features
    # 2. To adapt other ARM variants
    # set $CPU and $OPTIMIZE_CFLAGS
    # call build_one
    ######################################################
    NDK=D:\solfware\Programming\android-ndk-r10c
    PLATFORM=$NDK/platforms/android-8/arch-arm/
    PREBUILT=$NDK/prebuilt/windows-x86_64
    function build_one
    {
    ./configure --target-os=linux \
       --prefix=$PREFIX \
       --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 $OPTIMIZE_CFLAGS " \
       --disable-shared \
       --enable-static \
       --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \
       --disable-everything \
       --enable-demuxer=mov \
       --enable-demuxer=h264 \
       --disable-ffplay \
       --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 \
       --disable-network \
       --enable-zlib \
       --disable-avfilter \
       --disable-avdevice \
       $ADDITIONAL_CONFIGURE_FLAG

    make clean
    make  -j4 install
    $PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
    $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 libswscale/libswscale.a -lc -lm -lz -ldl -llog  --warn-once  --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a
    }

    #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

    i have set my path like above
    I built it in Eclipse Everything is ok. but when i ran it in Android it crashed Unfortunately.
    I found the errors in Logcat monitor :

    E/AndroidRuntime(1931) : java.lang.UnsatisfiedLinkError : Couldn’t load avcodec-55 from loader dalvik.system.PathClassLoader[DexPathList [1]] : findLibrary returned null

    E/AndroidRuntime(1931) : at java.lang.Runtime.loadLibrary(Runtime.java:358)

    In my activity i just call add Library from C preference like :

    static {
           //System.loadLibrary("avutil-52");
           System.loadLibrary("avcodec-55");
           System.loadLibrary("avformat-55");
           System.loadLibrary("swscale-2");
           System.loadLibrary("tutorial02");
       }

    i check in DDMS in app-lib there is no existing Library in there.

    The question is : Can i can compile the ffmpeg on windows ?
    if ok. how can i config build_android.sh to point to Android $PREBUILT

    PLATFORM=$NDK/platforms/android-8/arch-arm/
       PREBUILT=$NDK/prebuilt/windows-x86_64
       function build_one
       {
       ./configure --target-os=linux \
           --prefix=$PREFIX \
           --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 $OPTIMIZE_CFLAGS " \
           --disable-shared \

    i found that in $NDK/prebuilt/windows-x86_64/bin did not exist arm-linux-androideabi-gcc\
    How can i config to be suitable to run on windows ?

    Thank in advanced