Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (63)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • how to use ffmpeg library to stream audio from mms links on Android ?

    3 juillet 2012, par Caique

    i have searched a lot about the ffmpeg library. I have already installed it, the android ndk too... and i don't know how to stream links mms. I understand that it uses native methods, but i never used native methods before, how we can use ? anyone already did something like ?
    what i need is play a radio from a url, what uses mms protocol, is there a way to do it with ffmpeg library ? apparently, in the iphone is so simple to use this library.
    i know that is possible with the vitamio plugin, but i want to know how to use with the ffmpeg library.
    sorry for my english
    thanks

  • Embedding SMPTE 336M KLV data into video

    8 décembre 2023, par Mateo

    I have a drone video in .MP4 format, and an accompanying log file containing various timecoded data, e.g. GPS location, altitude.

    



    I need to embed the data into the video in the SMPTE 336M (KLV Data Encoding Protocol Using Key-Length-Value) standard format.

    



    I've successfully extracted KLV data from a MPEG2-TS file using FFMPEG and a parser in Node.

    



    Now I need to go the other way : to generate KLV data from my log file and insert it into the relevant video. How this is done ?

    


  • ffmpeg ndk multiple definition libavcodec.a(golomb.o)

    4 décembre 2014, par WLGfx

    I’m trying to link ffmpeg as static libraries with android NDK but I’m getting ’multiple definition’ error’ errors as below. I’ve also included my build script which runs through everything just fine but when I come to using the libraries in Eclipse with the ADT plugin, I can’t get anywhere.

    From this it looks like it wants something to do with VLC. I don’t want anything to do with VLC, just ffmpeg for video streaming. Everything works fine with shared libraries, but I’m after a very tiny player because I’m restricted to space on the device.

    EDIT : Also ’log2_tab_tab.o’ has multiple definitions.

    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_golomb_vlc_len'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_interleaved_dirac_golomb_vlc_code'   Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_interleaved_golomb_vlc_len'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_interleaved_se_golomb_vlc_code'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_interleaved_ue_golomb_vlc_code'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_se_golomb_vlc_code'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_ue_golomb_len'   Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(golomb.o): multiple definition of 'ff_ue_golomb_vlc_code'  Ffplayer            C/C++ Problem
    error: jni/libs\libavcodec.a(log2_tab.o): multiple definition of 'ff_log2_tab'  Ffplayer            C/C++ Problem
    error: jni/libs\libavformat.a(log2_tab.o): multiple definition of 'ff_log2_tab' Ffplayer            C/C++ Problem
    jni/libs\libavformat.a(golomb_tab.o): previous definition here  Ffplayer            C/C++ Problem
    jni/libs\libavutil.a(log2_tab.o): previous definition here  Ffplayer            C/C++ Problem
    make.exe: *** [obj/local/armeabi-v7a-hard/libffplayer.so] Error 1   Ffplayer            C/C++ Problem

    Using the latest branch of ffmpeg (2.4.3) my build script for Android (using toolchain 8 because it’s old hardware I’m working with) and wanting the NEON hardware support :

    export ANDROID_NDK=/home/carl/dev/ndk
    export TOOLCHAIN=/home/carl/temp/ffmpeg
    export SYSROOT=$TOOLCHAIN/sysroot/
    $ANDROID_NDK/build/tools/make-standalone-toolchain.sh \
       --platform=android-8 --install-dir=$TOOLCHAIN

    export PATH=$TOOLCHAIN/bin:$PATH
    export CC=arm-linux-androideabi-gcc
    export LD=arm-linux-androideabi-ld
    export AR=arm-linux-androideabi-ar

    CFLAGS="-O3 -Wall -mthumb -pipe -fpic -fasm \
     -finline-limit=300 -ffast-math \
     -fstrict-aliasing -Werror=strict-aliasing \
     -fmodulo-sched -fmodulo-sched-allow-regmoves \
     -Werror=implicit-function-declaration \
     -Wno-psabi -Wa,--noexecstack"
    #  -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ \
    #  -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
    #  -DANDROID -DNDEBUG"

    EXTRA_CFLAGS="-march=armv7-a -mfpu=neon \
                 -mfloat-abi=softfp -mvectorize-with-neon-quad \
                 -DHAVE_ISNAN -DHAVE_ISINF
                 -std=c99"
    EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"

    FFMPEG_FLAGS="--prefix=/home/dev/ffmpeg/build \
     --target-os=linux \
     --arch=arm \
     --enable-cross-compile \
     --cross-prefix=arm-linux-androideabi- \
     --enable-shared \
     --enable-static \
     --enable-small \
     --disable-symver \
     --disable-doc \
     --disable-ffplay \
     --disable-ffmpeg \
     --disable-ffprobe \
     --disable-ffserver \
     --disable-avdevice \
     --disable-avfilter \
     --disable-encoders  \
     --disable-muxers \
     --disable-demuxers \
     --disable-filters \
     --disable-devices \
     --disable-decoders \
     --enable-decoder=mjpeg \
     --enable-decoder=mp1 \
     --enable-decoder=mp2 \
     --enable-decoder=mp3 \
     --enable-decoder=mpeg1_vdpau \
     --enable-decoder=mpeg1video \
     --enable-decoder=mpeg2video \
     --enable-decoder=mpeg4 \
     --enable-decoder=mpeg4_vdpau \
     --enable-decoder=mpegvideo \
     --enable-decoder=mpeg_xvmc \
     --enable-decoder=h261 \
     --enable-decoder=h263 \
     --enable-decoder=h263i \
     --enable-decoder=h263p \
     --enable-hwaccel=h263_vaapi \
     --enable-hwaccel=h263_vdpau \
     --enable-hwaccel=mpeg1_vdpau \
     --enable-hwaccel=mpeg1_xvmc \
     --enable-hwaccel=mpeg2_dxva2 \
     --enable-hwaccel=mpeg2_vaapi \
     --enable-hwaccel=mpeg2_vdpau \
     --enable-hwaccel=mpeg2_xvmc \
     --enable-hwaccel=mpeg4_vaapi \
     --enable-hwaccel=mpeg4_vdpau \
     --enable-demuxer=aac \
     --enable-demuxer=ac3 \
     --enable-demuxer=h261 \
     --enable-demuxer=h263 \
     --enable-demuxer=pcm_s16be \
     --enable-demuxer=pcm_s16le \
     --enable-demuxer=pcm_s8 \
     --enable-demuxer=mpegps \
     --enable-demuxer=mpegts \
     --enable-demuxer=mpegtsraw \
     --enable-demuxer=mpegvideo \
     --enable-demuxer=rtp \
     --enable-demuxer=rtsp \
     --enable-parser=aac \
     --enable-parser=mpegvideo \
     --enable-parser=ac3 \
     --enable-parser=h261 \
     --enable-parser=h263 \
     --enable-parser=mjpeg \
     --enable-parser=mpeg4video \
     --enable-parser=mpegaudio \
     --enable-protocol=rtp \
     --enable-protocol=file \
     --enable-protocol=ftp \
     --enable-protocol=tcp \
     --enable-protocol=http \
     --enable-protocol=udp \
     --enable-protocol=pipe \
     --enable-protocol=unix \
     --enable-network \
     --disable-swscale  \
     --enable-asm \
     --enable-memalign-hack \
     --disable-golomb \
     --enable-stripping \
     --enable-pthreads \
     --disable-symver \
     --enable-version3"

    ./configure $FFMPEG_FLAGS --extra-cflags="$CFLAGS $EXTRA_CFLAGS" \
     --extra-ldflags="$EXTRA_LDFLAGS"

    make clean
    echo "Project now cleaned"
    make -j4

    echo "Stripping multiple references from libraries"
    arm-linux-androideabi-ar d libavcodec.a log2_tab.o
    arm-linux-androideabi-ar d libavutil.a log2_tab.o

    echo "Done..."

    And this is the Android.mk file which works fine.

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)
    LOCAL_MODULE    := avutil
    LOCAL_SRC_FILES := libs\libavutil.a
    include $(PREBUILT_STATIC_LIBRARY)

    include $(CLEAR_VARS)
    LOCAL_MODULE    := avformat
    LOCAL_SRC_FILES := libs\libavformat.a
    include $(PREBUILT_STATIC_LIBRARY)

    include $(CLEAR_VARS)
    LOCAL_MODULE    := avcodec
    LOCAL_SRC_FILES := libs\libavcodec.a
    include $(PREBUILT_STATIC_LIBRARY)

    include $(CLEAR_VARS)

    LOCAL_MODULE    := ffplayer
    LOCAL_SRC_FILES := ffplayer.cpp

    LOCAL_C_INCLUDES := C:\DEV\ffmpeg\

    LOCAL_LDLIBS    += -llog -ljnigraphics -lGLESv2 -ldl
    LOCAL_LDLIBS    += -lstdc++ -lc
    LOCAL_LDLIBS    += -lz -lm

    LOCAL_WHOLE_STATIC_LIBRARIES += libavutil libavformat libavcodec

    include $(BUILD_SHARED_LIBRARY)

    If anybody can spot what’s wrong with this it would be so appreciated.