Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (111)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (4353)

  • compile FFmpeg → Android { error : crtend_android.o : No such file or directory }

    22 mars 2013, par Jason Tsai

    I'm trying to complie FFmpeg on Android 4.0 (SAMSUNG GT-3113), and I meet an error when I try to get config.h and config.mak files.
    I'm using android-ndk-r8d and cygwin.

    The config.sh file which I created is followed :

    #!/bin/bash
    PREBUILT=${ndk}/toolchains/arm-linux-androideabi-4.7/prebuilt/windows
    PLATFORM=android-14
    ARCH=--arch=arm
    ./configure \
    ${ARCH} \
    --target-os=linux --enable-cross-compile --cross-prefix=${PREBUILT}/bin/arm-linux-androideabi- \
    --extra-cflags=" -fPIC -DANDROID -std=c99 " \
    --enable-version3 \
    --enable-gpl \
    --enable-nonfree \
    --disable-stripping \
    --disable-ffmpeg\
    --disable-ffplay\
    --disable-ffserver\
    --disable-ffprobe \
    --disable-encoders \
    --disable-muxers \
    --disable-devices \
    --disable-protocols \
    --enable-protocol=file \
    --enable-avfilter \
    --disable-network \
    --disable-avdevice \
    --disable-asm \
    --enable-neon \
    --enable-armv5te \
    --sysinclude=${ndk}/platforms/${PLATFORM}/arch-arm/usr/include \
    --extra-ldflags="-Wl,-rpath-link=${NDK_ROOT}/platforms/${PLATFORM}/arch-arm/usr/lib
    -L${ndk}/platforms/${PLATFORM}/arch-arm/usr/lib -nostdlib
    ${ndk}/platforms/${PLATFORM}/arch-arm/usr/lib/crtbegin_static.o
    ${ndk}/platforms/${PLATFORM}/arch-arm/usr/lib/crtend_android.o -lc -lm -ldl "

    After I run the config.sh with cygwin,it shows
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames/home/jason_tsai/android-ndk-r8d/toolchains/arm-linux-androideabi-4.7/prebuilt/windows/bin/arm-linux-androideabi-gcc is unable to create an executable file.C compiler test failed.

    I looked the logfile and it said
    arm-linux-androideabi-gcc.exe : error : /home/jason_tsai/android-ndk-r8d/platforms/android-14/arch-arm/usr/lib/crtend_android.o : No such file or directory
    C compiler test failed.

    I'm really very confusing.
    Any help will be appreciated. Thanks !!

  • How to discover framebuffer width on android ?

    18 août 2013, par Guilherme Torres Castro

    i'm capturing framebuffer on my android device, but the decode is not working for the correctly resolution.

    I found i can get the bbp and screen resoution using :

    ioctl -rl 28 /dev/graphics/fb0 17920

    This command return :

    return buf : f0 00 00 00 40 01 00 00 f0 00 00 00 80 02 00 00 00 00 00 00 00 00 00 00 20 00 00 00

    In little-endian format i have :

    • The last four bytes (20) is the number of bbp 32.
    • The first four bytes is the screen width 0xF0 = 240
    • Bytes 5 to 8 is the screen height 0x0140 = 320

    I tried to decode the fb (Galaxy 5) using the folowing command :

    ./ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 240x320 -i fb0 -f image2 -vcodec png image%d.png

    And i got this warning :

    Invalid buffer size, packet size 40960 < expected length 307200 Error
    while decoding stream #0:0 : Invalid argument

    and this two images :

    enter image description here
    enter image description here

    My raw file have 655.360 bytes but the correctly value expected is 614.400 bytes using this equation :

    fileSize = xres * yres * bpp/8 * numberOfFrames

    fileSize = 240 * 320 * 32/8 * 2 (android use double framebuffer) =
    614.400

    For my surprise i change width size on ffmpeg to 256 to match 655.360 bytes and worked (kind of, there are 16 extras pxs on the right side !
    I got the following images :

    enter image description here
    enter image description here

    So my question is WHY i have to use 256 width if my screen resolution is 240. And how to discovery this magic number for others resolutions.

  • How flipagram converts multiple images to video with watermark in android

    10 février 2014, par M. Usman Afzal

    I am a window user so need comments for window.
    I have tried for ffmpeg and javacv but not succeeded to integrate them in windows.