Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (87)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (8939)

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

  • ASP.net swf game file preview (thumbnail)

    12 avril 2015, par Moatasem bakri

    Scenario :

    I really in need for your help.
    I have multiple swf game files which I want to view them on the page as thumbnails and let the visitor click on it to play the game.

    Required :

    I want a tool that let make take a thumbnail from swf file, maybe the first frame of the file as image to view it.

    maybe if there another way to preview the files in asp.net pages without the need to the following way could be better.

    Bad news

    I have viewed all the possible answers on StackOverFlow and even on Google but with no luck, they lead my to the following :

    • use : https://swf.codeplex.com/ : I have tried it and now result
    • use ffmpeg : but the feature is not available yet, and I’m getting the following error
      ’swf : could not find codec parameters’
  • Video Conferencing in HTML5 : WebRTC via Socket.io

    http://mirror.linux.org.au/linux.conf.au/2013/mp4/Code_up_your_own_video_conference_in_HTML5.mp4
    1er janvier 2014, par silvia

    Six months ago I experimented with Web sockets for WebRTC and the early implementations of PeerConnection in Chrome. Last week I gave a presentation about WebRTC at Linux.conf.au, so it was time to update that codebase.

    I decided to use socket.io for the signalling following the idea of Luc, which made the server code even smaller and reduced it to a mere reflector :

     var app = require(’http’).createServer().listen(1337) ;
     var io = require(’socket.io’).listen(app) ;
    

    io.sockets.on(’connection’, function(socket)
    socket.on(’message’, function(message)
    socket.broadcast.emit(’message’, message) ;
    ) ;
    ) ;

    Then I turned to the client code. I was surprised to see the massive changes that PeerConnection has gone through. Check out my slide deck to see the different components that are now necessary to create a PeerConnection.

    I was particularly surprised to see the SDP object now fully exposed to JavaScript and thus the ability to manipulate it directly rather than through some API. This allows Web developers to manipulate the type of session that they are asking the browsers to set up. I can imaging e.g. if they have support for a video codec in JavaScript that the browser does not provide built-in, they can add that codec to the set of choices to be offered to the peer. While it is flexible, I am concerned if this might create more problems than it solves. I guess we’ll have to wait and see.

    I was also surprised by the need to use ICE, even though in my experiment I got away with an empty list of ICE servers – the ICE messages just got exchanged through the socket.io server. I am not sure whether this is a bug, but I was very happy about it because it meant I could run the whole demo on a completely separate network from the Internet.

    The most exciting news since my talk is that Mozilla and Google have managed to get a PeerConnection working between Firefox and Chrome – this is the first cross-browser video conference call without a plugin ! The code differences are minor.

    Since the specification of the WebRTC API and of the MediaStream API are now official Working Drafts at the W3C, I expect other browsers will follow. I am also looking forward to the possibilities of :

    The best places to learn about the latest possibilities of WebRTC are webrtc.org and the W3C WebRTC WG. code.google.com has open source code that continues to be updated to the latest released and interoperable features in browsers.

    The video of my talk is in the process of being published. There is a MP4 version on the Linux Australia mirror server, but I expect it will be published properly soon. I will update the blog post when that happens.