Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (78)

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

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

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

  • android ffmpeg : file protocol not found

    18 octobre 2012, par Abdul Mateen

    I am trying to run ffmpeg commands through android programmatically and have build ffmpeg for android. Some commands working properly, but the commands having file path like "/mnt/sdcard/video.mp4" is giving error(Exception) that : file protocol not found.

    How to run such commands ?

    Thanking you !

  • Accessing webcam mic from command line version of FFMPEG for android

    19 mai 2014, par user1545779

    I am currently testing audio and video streaming from a webcam using a command line version of FFMPEG on an android box. I am having a problem accessing the webcam mic

    Using Ubuntu as a reference, the correct command to determine the recording devices available is arecord -L . Unfortunately arecord -L does not work on the Android box

    The current command option alsa for accessing the webcam mic is ffmpeg -f alsa -alsa_device_name.. and the previous option of oss does not work either, ie ffmpeg -f -oss.. does not work either.

    The listed audio devices shown in /dev/snd shows the mic portion of the webcam as pcmC3D0c and controlC3. The reason I know this is because if I unplug the webcam these values vanish from the directory listing.

    Has anyone tried successfully to access the mic portion of a webcam using ffmpeg on an android box ?
    How do you formulate the correct format of the command to access the webcam mic.

    Please note that I am able to access the audio and video on my Ubuntu PC using ffmpeg hence i know that both devices work

  • Build ffmpeg on Android. Using NEON (Tegra3) and Cygwin

    22 août 2012, par intox2001

    I have some issues building ffmpeg for Android using NEON instructions (for Tegra3).
    I am able to create the libffmpeg.so WITHOUT the optmization : -mfpu=neon

    I am using lastest ffmpeg 0.11.1 with Cygwin on Windows.

    Please find below the build.sh file i'm using (found on the web and tweaked)

    #!/bin/bash
    export TMPDIR=C:/Arnaud/Private/Android/temp
    NDK=C:/Arnaud/Private/Android/android-ndk-r8b
    ###Path for Android 8
    PLATFORM=$NDK/platforms/android-8/arch-arm/
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows

    function build_one
    {
    ./configure --target-os=linux \
       --prefix=$PREFIX \
       --enable-cross-compile \
       --extra-libs="-lgcc" \
       --enable-asm \
       --enable-neon \
       --arch=armv7 \
       --cpu=cortex-a8 \
       --enable-memalign-hack \
       --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="$OPTIMIZE_CFLAGS" \
       --disable-shared \
       --enable-memalign-hack \
       --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-protocols \
       --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

    sed -i 's/HAVE_LRINT 0/HAVE_LRINT 1/g' config.h
    sed -i 's/HAVE_LRINTF 0/HAVE_LRINTF 1/g' config.h
    sed -i 's/HAVE_ROUND 0/HAVE_ROUND 1/g' config.h
    sed -i 's/HAVE_ROUNDF 0/HAVE_ROUNDF 1/g' config.h
    sed -i 's/HAVE_TRUNC 0/HAVE_TRUNC 1/g' config.h
    sed -i 's/HAVE_TRUNCF 0/HAVE_TRUNCF 1/g' config.h

    make clean
    make  -j4 install

    #Old Prebuilt (R8)
    $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 v7n
    CPU=armv7-a
    OPTIMIZE_CFLAGS='-I$PLATFORM/usr/include -mfpu=neon -mfloat-abi=softfp -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300'
    PREFIX=./android/$CPU
    build_one

    With this option, on optimize_cflags, -mfpu=neon, the build fails with those errors :

    CP ffprobe
    STRIP ffprobe
    INSTALL install-progs-yes
    INSTALL ffprobe
    libavcodec/libavcodec.a(fft_fixed_init_arm.o) : In function

    ff_fft_fixed_init_arm':
    C:\Arnaud\Private\Android\DVBStream\jni\ffmpeg-0.11.1/libavcodec/arm/fft_fixed_init_arm.c:36: undefined reference to

    ff_fft_fixed_calc_neon'
    libavcodec/libavcodec.a(fft_init_arm.o) : In function

    ff_fft_init_arm':
    C:\Arnaud\Private\Android\DVBStream\jni\ffmpeg-0.11.1/libavcodec/arm/fft_init_arm.c:47: undefined reference to

    ff_fft_permute_neon'
    C :\Arnaud\Private\Android\DVBStream\jni\ffmpeg-0.11.1/libavcodec/arm/fft_init_arm.c:47 : undefined reference to `ff_fft_calc_neon'

    Seems that some dependencies are missing / not set. Do you have any clue what's happening / how to build with neon ?