Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (44)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6157)

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

  • Find the files that have been modified in last 24 Hours only once(skip if its modified more than once) [duplicate]

    4 janvier 2020, par Vijay Chandra

    Im using this command to get all modified files in the last 24 hours in ubuntu,
    find -type f -name "*.mp4" -mtime -1 -printf "%f\n"
    How can i modify this to detect same file only once which means if same file is modified more than 1 time in the last 24 hours,It shouldnt consider this file,It should skip the file,Is there anyway to do this ?
    I need this to create a watermarking script which will find the latest files within 24hours and save the list to a txt file and with the help of this text file,I use ffmpeg to watermark the videos and move them to original location.If i do this,the find command is considering the new updated video as modified file and adding watermark again and again,The process isnt getting stopped,Someone please help to fix this.

    My code is attached below :

    #!/bin/bash find -type f -name "*.mp4" -mtime -1 -printf "%f\n" >> /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/file.txt filename='/home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/file.txt' all_lines=`cat $filename` for item in $all_lines; do  cp $item /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp ffmpeg -i $item -i watermark.png -filter_complex "[1][0]scale2ref=w='iw*30/100':h='ow/mdar'[wm][vid];[vid][wm]overlay=(main_w-overlay_w):(main_h-overlay_h)"
    -y /home/domain.com/public_html/admin_panel/public_html/uploads/mp4/temp/$item
    done
  • 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.