Recherche avancée

Médias (91)

Autres articles (67)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6096)

  • 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

  • lavf : Use wchar functions for filenames on windows for mkdir/rmdir/rename/unlink

    17 novembre 2014, par Martin Storsjö
    lavf : Use wchar functions for filenames on windows for mkdir/rmdir/rename/unlink
    

    This makes sure that the internal utf8 path names are handled
    properly - the normal file handling functions assume path names
    are in the native codepage, which isn’t utf8.

    This assumes that the tools outside of lavf don’t use the mkdir
    definition. (The tools don’t do the same reading of command line
    parameters as wchar either - they probably won’t handle all possible
    unicode file parameters properly, but at least work more predictably
    if no utf8/wchar conversion is involved.)

    This is moved further down in os_support.h, since windows.h shouldn’t
    be included before winsock2.h, while io.h needs to be included before
    the manual defines for lseek functions.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/internal.h
    • [DBH] libavformat/os_support.h
  • How do I install stream-m on my vps server using putty for windows

    19 décembre 2014, par They Went Viral

    when i logged into my vps server using the plesk control panel i see httpdocs in the root when using putty i entered an ls command and i only see

    @vps : # ls
    ffmpeg parallels parallels_installer plesk-installer.sh univac.webm

    wonder why this is why dont i see the same files as in te control panel ??!

    the problem is i am trying to run this https://github.com/vbence/stream-m on the server
    the read me says

    RUNNING THE SERVER

    java -jar stream-m.jar

    Before running the server you should edit the sample config file (change password and choose a stream name). So you will end up with something like :

    java -jar stream-m.jar server.properties

    but im getting an error that says

    @vps : # java -jar stream-m.jar server.properties
    Error : Unable to access jarfile stream-m.jar

    Now i do have ffmpeg installed as per putty but when logged into the control panel i don’t see that either what am i doing wrong ?