Recherche avancée

Médias (91)

Autres articles (28)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 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 (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (3224)

  • Compiling FFMPEG for android app

    7 mars 2016, par Sanat Pandey

    I have to extract audio from Video file and join multiple images to single video with audio, therefore I have to compile FFMPEG source for our android app. But when I run my build_android.sh it returns some unexpected error. Please suggest any solution regarding the same.

    build_android.sh :

    #!/bin/bash

    NDK=/Users/sanatpandey/Desktop/android-sdk-macosx/android-ndk-r10e
    PLATFORM=$NDK/platforms/android-9/arch-arm/
    PREBUILT=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64

    function build_one
    {
       ./configure --target-os=linux \
           --prefix=$PREFIX \
           --enable-cross-compile \
           --extra-libs="-lgcc" \
           --arch=arm \
           --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=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex \
           -fasm -Wno-psabi -fno-short-enums  -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS " \
           --disable-shared \
           --enable-static \
           --extra-ldflags="-Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib  -nostdlib -lc -lm -ldl -llog" \
           --enable-parsers \
           --enable-encoders  \
           --enable-decoders \
           --disable-muxers \
           --enable-demuxers \
           --enable-swscale  \
           --disable-ffmpeg \
           --disable-ffplay \
           --disable-ffprobe \
           --disable-ffserver \
           --enable-network \
           --enable-indevs \
           --disable-bsfs \
           --enable-filters \
           --enable-protocols  \
           --enable-asm \
           $ADDITIONAL_CONFIGURE_FLAG

           #make clean
           make  -j4 install
           $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 \
               -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so \
               libavcodec/libavcodec.a libavdevice/libavdevice.a libavfilter/libavfilter.a \
               libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a \
               libswresample/libswresample.a -lc -lm -lz -ldl -llog \
               --dynamic-linker=/system/bin/linker \
               $PREBUILT/lib/gcc/arm-linux-androideabi/4.6/libgcc.a
    }

    #arm v6 ¹öÀü ÄÄÆÄÀÏ
    CPU=armv6
    OPTIMIZE_CFLAGS="-marm -march=$CPU"
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=
    #build_one

    #arm v7vfpv3 ¹öÀü ÄÄÆÄÀÏ
    CPU=armv7-a
    OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$CPU "
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=
    #build_one

    #arm v7vfp ¹öÀü ÄÄÆÄÀÏ
    CPU=armv7-a
    OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU "
    PREFIX=./android/$CPU-vfp
    ADDITIONAL_CONFIGURE_FLAG=
    build_one

    #arm v7n ¹öÀü ÄÄÆÄÀÏ
    CPU=armv7-a
    OPTIMIZE_CFLAGS="-mfloat-abi=softfp -mfpu=neon -marm -march=$CPU -mtune=cortex-a8"
    PREFIX=./android/$CPU
    ADDITIONAL_CONFIGURE_FLAG=--enable-neon
    #build_one

    #arm v6+vfp ¹öÀü ÄÄÆÄÀÏ
    CPU=armv6
    OPTIMIZE_CFLAGS="-DCMP_HAVE_VFP -mfloat-abi=softfp -mfpu=vfp -marm -march=$CPU"
    PREFIX=./android/${CPU}_vfp
    ADDITIONAL_CONFIGURE_FLAG=
    #build_one

    Error :

    :android-sdk-macosx sanatpandey$ ./build_android.sh
    ./build_android.sh : line 1 : rtf1ansiansicpg1252cocoartf1347cocoasubrtf570 : command not found
    ./build_android.sh : line 2 : syntax error near unexpected token

    }'
    ./build_android.sh: line 2:

    \fonttbl\f0\fmodern\fcharset0 Courier ;
    :android-sdk-macosx sanatpandey$

    Thanks in advance

  • How to install this nodejs Application

    15 février 2016, par metalbug

    https://github.com/hexator/live4chan

    i have VMware run ubuntu-14.10-server and 15.10-server

    sudo apt-get install -y
        git mongodb imagemagick libcairo2-dev libjpeg8-dev
        libpango1.0-dev libgif-dev build-essential g++ ffmpeg curl

    install success

    git clone https://github.com/hexator/live4chan.git;
    cd live4chan;
    npm install

    but have errors

    test@ubuntu:~/live4chan$ npm start

       LiveChan@0.0.1 start /home/test/live4chan
       node lib/index.js

    Missing certificate or private key
    Running with insecure server
    info - socket.io started
    connect.limit() will be removed in connect 3.0
    connect.multipart() will be removed in connect 3.0
    visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
    connect.limit() will be removed in connect 3.0

    module.js:340
    throw err;
    ^
    Error: Cannot find module 'carrier'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object. (/home/test/ircd.js/lib/server.js:24:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

    npm ERR! Linux 4.2.0-16-generic
    npm ERR! argv "node" "/usr/local/bin/npm" "start"
    npm ERR! node v0.10.42
    npm ERR! npm v3.7.2
    npm ERR! code ELIFECYCLE
    npm ERR! LiveChan@0.0.1 start: node lib/index.js
    npm ERR! Exit status 8
    npm ERR!
    npm ERR! Failed at the LiveChan@0.0.1 start script 'node lib/index.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the LiveChan package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! node lib/index.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs LiveChan
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls LiveChan
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/test/live4chan/npm-debug.log

    ==========================================================
    /home/test/live4chan/npm-debug.log

    0 info it worked if it ends with ok
    1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
    2 info using npm@3.7.2
    3 info using node@v0.10.42
    4 verbose run-script [ 'prestart', 'start', 'poststart' ]
    5 info lifecycle LiveChan@0.0.1~prestart: LiveChan@0.0.1
    6 silly lifecycle LiveChan@0.0.1~prestart: no script for prestart, continuing
    7 info lifecycle LiveChan@0.0.1~start: LiveChan@0.0.1
    8 verbose lifecycle LiveChan@0.0.1~start: unsafe-perm in lifecycle true
    9 verbose lifecycle LiveChan@0.0.1~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/test/live4chan/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    10 verbose lifecycle LiveChan@0.0.1~start: CWD: /home/test/live4chan
    11 silly lifecycle LiveChan@0.0.1~start: Args: [ '-c', 'node lib/index.js' ]
    12 silly lifecycle LiveChan@0.0.1~start: Returned: code: 8 signal: null
    13 info lifecycle LiveChan@0.0.1~start: Failed to exec start script
    14 verbose stack Error: LiveChan@0.0.1 start: node lib/index.js
    14 verbose stack Exit status 8
    14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
    14 verbose stack at EventEmitter.emit (events.js:98:17)
    14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
    14 verbose stack at ChildProcess.emit (events.js:98:17)
    14 verbose stack at maybeClose (child_process.js:766:16)
    14 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:833:5)
    15 verbose pkgid LiveChan@0.0.1
    16 verbose cwd /home/test/live4chan
    17 error Linux 4.2.0-16-generic
    18 error argv "node" "/usr/local/bin/npm" "start"
    19 error node v0.10.42
    20 error npm v3.7.2
    21 error code ELIFECYCLE
    22 error LiveChan@0.0.1 start: node lib/index.js
    22 error Exit status 8
    23 error Failed at the LiveChan@0.0.1 start script 'node lib/index.js'.
    23 error Make sure you have the latest version of node.js and npm installed.
    23 error If you do, this is most likely a problem with the LiveChan package,
    23 error not with npm itself.
    23 error Tell the author that this fails on your system:
    23 error node lib/index.js
    23 error You can get information on how to open an issue for this project with:
    23 error npm bugs LiveChan
    23 error Or if that isn't available, you can get their info via:
    23 error npm owner ls LiveChan
    23 error There is likely additional logging output above.
    24 verbose exit [ 1, true ]

    I tried this :
    npm install carrier

    Or an error.

    and install Other versions of nodejs

    wget http://nodejs.org/dist/latest-v0.10.x/node-v0.10.42.tar.gz
    wget http://nodejs.org/dist/latest-v0.12.x/node-v0.12.10.tar.gz
    wget http://nodejs.org/dist/latest-v4.x/node-v4.3.0.tar.gz
    wget http://nodejs.org/dist/latest-v5.x/node-v5.6.0.tar.gz
    tar zxvf node-v4.3.0.tar.gz
    cd node-v4.3.0
    ./configure
    make
    sudo make install

    Nothing happened

    please help me
    Or you can tell me how to install, detailed, thank you very much !

  • FFMPEG gives an error for rtp_mpegts on fedora

    6 mars 2017, par chaitanya kiran

    While executing below ffmpeg command on fedora 21 i m facing "Requested output format ’rtp_mpegts’ is not a suitable output format" ; whereas same works on Ubuntu any ideas please.

    ffmpeg -f v4l2 -i /dev/video0 -s 720x480 -pix_fmt yuv420p -vcodec h264 -r 30 -g 15 -ar 0 -streamid 0:48 -bf 2  -f rtp_mpegts rtp://239.0.32.0:50000

    ffmpeg version 2.4.11 Copyright (c) 2000-2015 the FFmpeg developers
    built on Aug 26 2015 19:46:08 with gcc 4.9.2 (GCC) 20150212 (Red Hat
    4.9.2-6) configuration : —prefix=/usr —bindir=/usr/bin —datadir=/usr/share/ffmpeg —incdir=/usr/include/ffmpeg —libdir=/usr/lib —mandir=/usr/share/man —arch=i686 —optflags=’-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong —param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables’ —enable-bzlib —disable-crystalhd —enable-frei0r —enable-gnutls —enable-ladspa —enable-libass —enable-libcdio —enable-libdc1394 —disable-indev=jack —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-openal —enable-opencl —enable-libopencv —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libvorbis —enable-libv4l2 —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-x11grab —enable-avfilter —enable-avresample —enable-postproc —enable-pthreads —disable-static —enable-shared —enable-gpl —disable-debug —disable-stripping —shlibdir=/usr/lib —cpu=i686 —enable-runtime-cpudetect libavutil 54. 7.100 / 54. 7.100 libavcodec 56. 1.100 / 56. 1.100 libavformat 56. 4.101 /
    56. 4.101 libavdevice 56. 0.100 / 56. 0.100 libavfilter 5. 1.100 / 5. 1.100 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 0.100 / 3. 0.100 libswresample 1. 1.100 /
    1. 1.100 libpostproc 53. 0.100 / 53. 0.100 Input #0, video4linux2,v4l2, from ’/dev/video0’ : Duration : N/A, start :
    554538.584009, bitrate : 199065 kb/s
    Stream #0:0 : Video : rawvideo (YUY2 / 0x32595559), yuyv422, 1920x1080, 199065 kb/s, 6 fps, 6 tbr, 1000k tbn, 1000k tbc

    [NULL @ 0x8e94d00] Requested output format ’rtp_mpegts’ is not a suitable output format rtp ://239.0.32.0:50000 : Invalid argument