Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (61)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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

Sur d’autres sites (9692)

  • ffmpeg for android build - is it complete

    3 février 2015, par Robert Rowntree

    //EDIT save time and refer to the SF project . IMO, it may save a ton of work getting up to speed.....

    after more work on this issue :

    added a git project

    build is easier with custom toolchain installed so that you can invoke compiler the easy way

    sample stdout from ndk-build


    originally used ubuntu 12.04 inside vmplayer on windows vista. IMO linux is better for builds than cygwin.

    I follow these instructions getting a indeterminant outcome in which the following conditions exist.

    build_android.sh seems to exit normally
    config.log has error where confirming gcc from crosstoolchain
    all the static libs are built ok
    (./libavfilter, ./libavcodec etc )
    ffmpeg.o is there and executes ok
    no ./android directory as per the prefix setting to config

    it looks like i can just push the binaries to my phone and test in a shell. If that’s ok then i can look to a jni wrapper for the static libs.

    But why didn’t the build write anything to —prefix=./android/armv7-a ??
    that path does not exist at the conclusion of the build

    Details :

    config log what was processed :

    FFMPEG_CONFIGURATION='--target-os=linux --prefix=./android/armv7-a
    --enable-libvpx --enable-libvorbis --enable-pthreads --logfile=config.log
    --enable-cross-compile --extra-libs=-lgcc --arch=arm
    --cc=/home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
    --cross-prefix=/home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
    --nm=/home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-nm
    --sysroot=/home/rob/src/android-ndk-r8/platforms/android-14/arch-arm/ --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 -mfloat-abi=softfp  -marm -march=armv7-a -mtune=cortex-a9 '"'"'
    --disable-shared --enable-static --extra-ldflags='"'"'
    -Wl,-rpath-link=/home/rob/src/android-ndk-r8/platforms/android-14/arch-arm//usr/lib -L/home/rob/src/android-ndk-r8/platforms/android-14/arch-arm//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'

    tail of config log contains error on compiler check

    zmbv_test='yes'
    zmbv_test_deps='zlib'
    WARNING: /home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
    mktemp -u XXXXXX
    Yd2A0h
    WARNING: Unknown C compiler /home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc, unable to select optimal CFLAGS
    check_ld cc
    check_cc
    BEGIN /tmp/ffconf.m9Kg3cqt.c
       1   int main(void){ return 0; }
    END /tmp/ffconf.m9Kg3cqt.c
    /home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums -fno-strict-aliasing -finline-limit=300 -mfloat-abi=softfp -marm -march=armv7-a -mtune=cortex-a9 -c -o /tmp/ffconf.tO2EIBz5.o /tmp/ffconf.m9Kg3cqt.c
    ./configure: 640: ./configure: /home/rob/src/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found
    C compiler test failed.

    tail of build_android.sh stdout looks OK

    libavutil/opt.c: In function ‘av_find_opt’:
    libavutil/opt.c:41:5: warning: ‘av_next_option’ is deprecated (declared at libavutil/opt.h:347) [-Wdeprecated-declarations]
    CC  libavutil/pixdesc.o
    libavutil/opt.c: In function ‘av_opt_set_defaults’:
    libavutil/opt.c:601:5: warning: ‘av_opt_set_defaults2’ is deprecated (declared at libavutil/opt.h:370) [-Wdeprecated-declarations]
    CC  libavutil/random_seed.o
    CC  libavutil/rational.o
    CC  libavutil/rc4.o
    CC  libavutil/samplefmt.o
    CC  libavutil/sha.o
    CC  libavutil/timecode.o
    CC  libavutil/tree.o
    CC  libavutil/utils.o
    CC  libavutil/x86/cpu.o
    INSTALL libavdevice/avdevice.h
    INSTALL presets/libvpx-1080p50_60.ffpreset
    INSTALL presets/libvpx-1080p.ffpreset
    INSTALL presets/libvpx-360p.ffpreset
    INSTALL presets/libvpx-720p50_60.ffpreset
    INSTALL presets/libvpx-720p.ffpreset
    INSTALL presets/libx264-ipod320.ffpreset
    INSTALL presets/libx264-ipod640.ffpreset
    INSTALL doc/ffprobe.xsd
    INSTALL libavdevice/libavdevice.pc
    INSTALL libavfilter/asrc_abuffer.h
    INSTALL libavfilter/avcodec.h
    INSTALL libavfilter/avfilter.h
    INSTALL libavfilter/avfiltergraph.h
    INSTALL libavfilter/buffersink.h
    INSTALL libavfilter/version.h
    INSTALL libavfilter/vsrc_buffer.h
    INSTALL libavfilter/libavfilter.pc
    INSTALL libavformat/avformat.h
    INSTALL libavformat/avio.h
    INSTALL libavformat/version.h
    INSTALL libavformat/libavformat.pc
    INSTALL libavresample/avresample.h
    INSTALL libavresample/version.h
    INSTALL libavresample/libavresample.pc
    INSTALL libavcodec/avcodec.h
    INSTALL libavcodec/avfft.h
    INSTALL libavcodec/dxva2.h
    INSTALL libavcodec/vaapi.h
    INSTALL libavcodec/vda.h
    INSTALL libavcodec/vdpau.h
    INSTALL libavcodec/version.h
    INSTALL libavcodec/xvmc.h
    INSTALL libavcodec/libavcodec.pc
    INSTALL libswresample/libswresample.pc
    INSTALL libswresample/swresample.h
    INSTALL libswscale/swscale.h
    INSTALL libswscale/libswscale.pc
    INSTALL libavutil/adler32.h
    INSTALL libavutil/aes.h
    INSTALL libavutil/attributes.h
    INSTALL libavutil/audio_fifo.h
    INSTALL libavutil/audioconvert.h
    INSTALL libavutil/avassert.h
    INSTALL libavutil/avstring.h
    INSTALL libavutil/avutil.h
    INSTALL libavutil/base64.h
    INSTALL libavutil/bprint.h
    INSTALL libavutil/bswap.h
    INSTALL libavutil/common.h
    INSTALL libavutil/cpu.h
    INSTALL libavutil/crc.h
    INSTALL libavutil/error.h
    INSTALL libavutil/eval.h
    INSTALL libavutil/fifo.h
    INSTALL libavutil/file.h
    INSTALL libavutil/imgutils.h
    INSTALL libavutil/intfloat.h
    INSTALL libavutil/intfloat_readwrite.h
    INSTALL libavutil/intreadwrite.h
    INSTALL libavutil/lfg.h
    INSTALL libavutil/log.h
    INSTALL libavutil/lzo.h
    INSTALL libavutil/mathematics.h
    INSTALL libavutil/md5.h
    INSTALL libavutil/mem.h
    INSTALL libavutil/dict.h
    INSTALL libavutil/opt.h
    INSTALL libavutil/parseutils.h
    INSTALL libavutil/pixdesc.h
    INSTALL libavutil/pixfmt.h
    INSTALL libavutil/random_seed.h
    INSTALL libavutil/rational.h
    INSTALL libavutil/samplefmt.h
    INSTALL libavutil/sha.h
    INSTALL libavutil/timecode.h
    INSTALL libavutil/timestamp.h
    INSTALL libavutil/avconfig.h
    INSTALL libavutil/libavutil.pc
    AR  libavdevice/libavdevice.a
    AR  libavfilter/libavfilter.a
    AR  libavformat/libavformat.a
    AR  libavresample/libavresample.a
    AR  libavcodec/libavcodec.a
    AR  libswresample/libswresample.a
    AR  libswscale/libswscale.a
    AR  libavutil/libavutil.a
    INSTALL libavdevice/libavdevice.a
    INSTALL libavfilter/libavfilter.a
    INSTALL libavresample/libavresample.a
    INSTALL libswresample/libswresample.a
    INSTALL libswscale/libswscale.a
    INSTALL libavutil/libavutil.a
    INSTALL libavformat/libavformat.a
    LD  ffmpeg_g
    INSTALL libavcodec/libavcodec.a
    CP  ffmpeg
    STRIP   ffmpeg
    INSTALL install-progs-yes
    INSTALL ffmpeg
  • Can I just use the libraries from FFmpeg in an Android app ?

    23 août 2015, par LMDS

    After some time on the Web, I found that I have to use the FFmpeg in my app. I found a lot of things related with Android and FFmpeg. I just want to use FFmpeg, but I can’t create the libraries and also I don’t know how I can use them.

    I just want to receive an RTSP stream and then somehow put it in a videoview or mediaplayer. I have the NDK already installed in my eclipse, and I know how to use CYGWIN.

  • Transcoding Mp4 video on Android with FFMPEG

    18 octobre 2012, par geeknizer

    I've compiled FFMPEG binary from Bambuser project (refer question) and have pushed binary and .so files to application directory.

    But when I try running FFMPEG with input file, it always complains file not found.

    1|root@android:/data/data/com.bambuser.broadcaster # ls                        
    cache           libavcodec.so   libavfilter.so  libswscale.so
    ffmpeg          libavcore.so    libavformat.so  tutorial.mp4
    lib             libavdevice.so  libavutil.so
    1|root@android:/data/data/com.bambuser.broadcaster # ./ffmpeg -i tutorial.mp4 out.mp4                                                              
    FFmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
     built on May  8 2012 10:11:37 with gcc 4.4.3
     configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --sysroot=/home/tarandeep/tools/android-ndk/platforms/android-3/arch-arm --soname-prefix=/data/data/com.bambuser.broadcaster/lib/ --enable-shared --disable-symver --enable-small --optimization-flags=-O2 --disable-everything --enable-encoder=mpeg2video --enable-encoder=nellymoser --prefix=../build/ffmpeg/armeabi-v7a --extra-cflags='-march=armv7-a -mfloat-abi=softfp' --extra-ldflags=
     libavutil     50.34. 0 / 50.34. 0
     libavcore      0.16. 0 /  0.16. 0
     libavcodec    52.99. 1 / 52.99. 1
     libavformat   52.88. 0 / 52.88. 0
     libavdevice   52. 2. 2 / 52. 2. 2
     libavfilter    1.69. 0 /  1.69. 0
     libswscale     0.12. 0 /  0.12. 0
    tutorial.mp4: No such file or directory

    I've tried placing file in /sdcard and other locations, I always get same output