Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (37)

  • 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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4724)

  • FFMPEG undefined reference to `avdevice_register_all'

    23 février 2016, par user3177342

    I’m trying to build simple programm using ffmpeg

    #include
    #include
    #define __STDC_CONSTANT_MACROS
    extern "C" {
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libavformat></libavformat>avio.h>
    #include <libavdevice></libavdevice>avdevice.h>
    #include <libavutil></libavutil>time.h>
    }


    #include <iostream>


    int main( int argc, char* argv[] )
    {
      AVCodec *icodec;
     AVFormatContext *ifcx = NULL;
     AVInputFormat *ifmt;
     AVCodecContext *iccx;
      AVStream *ist;
      AVStream *ost;
      AVPacket pkt;
      int i_index;
     int64_t timenow, timestart;
      int got_key_frame = 0;

      AVFormatContext *ofcx;

      const char *sProg = argv[ 0 ];
      const char *sFileInput;
      const char *sFileOutput;
     int64_t bRunTime;

     bRunTime = atoi( argv[ 2 ] ) * 1000000;

      // Initialize library
      av_log_set_level( AV_LOG_DEBUG );
      av_register_all();
      avcodec_register_all();
      avformat_network_init();
      avdevice_register_all();
    </iostream>

    And i get these errors

    g++ -o rtsp3 -I/usr/include -I/usr/local/include rtsp3.cpp -lavformat -lavcodec -lavutil -lm -lz -lva -lpthread
    /tmp/ccAXDgvi.o : In function

    main':
    rtsp3.cpp:(.text+0x115): undefined reference to

    avdevice_register_all’
    /usr/local/lib/libavformat.a(matroskadec.o) : In function

    matroska_decode_buffer':
    /home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1242: undefined reference to

    BZ2_bzDecompressInit’
    /home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1257 : undefined reference to

    BZ2_bzDecompress'
    /home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1250: undefined reference to

    BZ2_bzDecompressEnd’
    /home/user/projects/ffmpeg-git/ffmpeg/libavformat/matroskadec.c:1262 : undefined reference to `BZ2_bzDecompressEnd’
    collect2 : error : ld returned 1 exit status

    I have git version of ffmpeg and successfully compiled it and make install.

  • How many "Ruby on Rails" sites can be hosted using sub url in apache configuration file on apache4 with passenger4 on Ubuntu server ?

    17 octobre 2013, par user1731249

    Server's Hardware config :
    Ubuntu server 12.04, CPU : dual code (64-bit), RAM : 8GB, Disk : 200GB.

    Server's Software config :
    Apache2, Passenger4, Rails4, ruby2, MySQL.

    I'm developing a Ruby on Rails website which performs following tasks.

    1. Upload a series of images as zip.
    2. Extract zip images to temp directory.
    3. Convert series of images to video using FFMPEG.
    4. updating video info in MySQL db
    5. Viewing the video in HTML5 video tag.

    Maximum length of single video being 1min and on an average there may be 50 videos to be converted per day. I created three copies (Don't ask me why !) of same website and hosting three sites as sub-URLs like "example.com" being the domain and example.com/site1, example.com/site2, example.com/site3. Below is the Apache configuration :
    RailsAutoDetect off

    ServerName 127.0.0.1

       DocumentRoot /home/ubuntuuser/work/public
       ErrorDocument 404 /404.html

    RailsBaseURI /site1

       <directory></directory>home/ubuntuuser/work/site1/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    RailsBaseURI /site2

    <directory></directory>home/ubuntuuser/work/site2/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

       RailsBaseURI /site3

    <directory></directory>home/ubuntuuser/work/site3/advisor/public>
               Allow from all
       Options -MultiViews
               RailsEnv production
       

    How many such sites can I host with sub-URLs without big performance drag ?
    Also please help to do a performance test for all the sub-URLs.

  • FFmpeg Android compilation : command not found

    18 février 2019, par maxest

    So I’m trying to build, on Ubuntu, FFmpeg from sources. Here’s a script I assembled from here and there :

    #!/bin/bash

    NDK=$HOME/Desktop/adt/android-ndk-r19b
    SYSROOT=$NDK/platforms/android-26/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64

    function build_one
    {
    ./configure
     --prefix=$PREFIX
     --arch=arm
     --target-os=linux
     --enable-cross-compile
     --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi-
     --sysroot=$SYSROOT
     --extra-cflags="-Os -fpic $ADDI_CFLAGS"
     --extra-ldflags="$ADDI_LDFLAGS"
     $ADDITIONAL_CONFIGURE_FLAG

     make clean
     make -j9
     make install
    }

    CPU=arm
    PREFIX=$(pwd)/android/$CPU
    ADDI_CFLAGS="-marm"

    build_one

    Unfortunately I get a list of following outputs :

    ffbuild/config.sh is unchanged

    ./build_android_2.sh: line 26: --prefix=/home/maxest/Desktop/adt/android-ndk-r19b/sources/ffmpeg-4.1/android/arm: No such file or directory

    ./build_android_2.sh: line 27: --arch=arm: command not found

    ./build_android_2.sh: line 28: --target-os=linux: command not found

    ./build_android_2.sh: line 29: --enable-cross-compile: command not found

    ./build_android_2.sh: line 30: --cross-prefix=/home/maxest/Desktop/adt/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-: No such file or directory

    ./build_android_2.sh: line 31: --sysroot=/home/maxest/Desktop/adt/android-ndk-r19b/platforms/android-26/arch-arm/: No such file or directory

    ./build_android_2.sh: line 32: --extra-cflags=-Os -fpic -marm: command not found

    ./build_android_2.sh: line 34: --extra-ldflags=: command not found

    I’ve double checked all the paths are correct. Although I create by hand folder /home/maxest/Desktop/adt/android-ndk-r19b/sources/ffmpeg-4.1/android/arm because there were no folder android/arm.