Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (64)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (11189)

  • linking against SDL library on ubuntu

    18 novembre 2013, par ali129

    this is my first post
    I have this problem with SDL library and "ffmpeg's ffplay" and "dosbox" on ubuntu. Here is what happenning :
    I have installed SDL and code::blocks.
    I also wrote a simple sdl program that shows a picture and tried to compile it tree ways :

    1- On command prompt which compiled and works perfectly. ( i mean : gcc -o hellosdl hellosd.c -lsdlmain -lsdl)

    2- On code::blocks by choosing file->new->project->SDL project
    which compiled but gives an error regarding i can't initialize graphic

    and finally
    3- On code::blocks but this time i manually configured sdl. i mean i simply choosed a blanked c file.then added sdl linker options "-lsdlmain and -lsdl" in code::blocks linker settings. and this time the program workes perfectly.

    Now the problem i have with dosbox and ffmpeg. I tried to compile these programs by running ./configure and make and they compiled without any error. but when i try to run dosbox or ffplay they give me these errors :

    ffplay error :
    ffplay version 0.11.1.git Copyright (c) 2003-2012 the FFmpeg developers
    built on Oct 15 2013 04:34:36 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    configuration :
    libavutil 51. 73.101 / 51. 73.101
    libavcodec 54. 56.100 / 54. 56.100
    libavformat 54. 27.101 / 54. 27.101
    libavdevice 54. 2.100 / 54. 2.100
    libavfilter 3. 16.104 / 3. 16.104
    libswscale 2. 1.101 / 2. 1.101
    libswresample 0. 15.100 / 0. 15.100
    Could not initialize SDL - No available video device
    (Did you set the DISPLAY variable ?)

    and yes my DISPLAY variable is set correctly

    echo $DISPLAY
    :0.0

    and

    dosbox error :


    Exit to error : Can't init SDL No available video device

    i also tried installing dosbox using sudo apt-get install dosbox and it works perfectly.

    i don't know why for some occasion my sdl library works and for some doesn't .
    it would be great if you could help me.

  • ffmpeg on Heroku : unrecognized option 'preset'

    17 novembre 2013, par scientiffic

    I'm using ffmpeg version 1.2.4 in my local Rails app to convert video files. Everything works as expected when I run the app locally. When I deployed to heroku, I added a buildpack for ffmpeg :

    https://github.com/shunjikonishi/heroku-buildpack-ffmpeg

    This installs ffmpeg version git-2013-06-02-5711e4f. When I try to transcode a video to mp4, I get the following error :

    Unrecognized option 'preset'. Error splitting the argument list : Option not found

    Here is the complete log :

    2013-11-17T19:45:05.255059+00:00 app[web.1]: Running transcoding...
    2013-11-17T19:45:05.255059+00:00 app[web.1]: ffmpeg -y -i /app/public/uploads/tmp/1384717504-2-9158/Untitled.mov -vcodec libx264 -acodec libfaac -s 640x360  -qscale 0 -preset slow -g 30 -aspect 1.7777777777777777 /app/public/uploads/tmp/1384717504-2-9158/tmpfile.mp4
    2013-11-17T19:45:05.255059+00:00 app[web.1]:
    2013-11-17T19:45:05.317895+00:00 app[web.1]: Failed encoding...
    2013-11-17T19:45:05.317895+00:00 app[web.1]: ffmpeg -y -i /app/public/uploads/tmp/1384717504-2-9158/Untitled.mov -vcodec libx264 -acodec libfaac -s 640x360  -qscale 0 -preset slow -g 30 -aspect 1.7777777777777777 /app/public/uploads/tmp/1384717504-2-9158/tmpfile.mp4
    2013-11-17T19:45:05.317895+00:00 app[web.1]:
    2013-11-17T19:45:05.317895+00:00 app[web.1]: ffmpeg version git-2013-06-02-5711e4f Copyright (c) 2000-2013 the FFmpeg developers
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   built on Jun  2 2013 07:38:40 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   configuration: --enable-shared --disable-asm --prefix=/app/vendor/ffmpeg
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   libavutil      52. 34.100 / 52. 34.100
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   libavcodec     55. 13.100 / 55. 13.100
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   libavformat    55.  8.102 / 55.  8.102
    2013-11-17T19:45:05.317895+00:00 app[web.1]:   libavdevice    55.  2.100 / 55.  2.100
    2013-11-17T19:45:05.318137+00:00 app[web.1]:   libavfilter     3. 74.101 /  3. 74.101
    2013-11-17T19:45:05.318137+00:00 app[web.1]:   libswscale      2.  3.100 /  2.  3.100
    2013-11-17T19:45:05.318137+00:00 app[web.1]:   libswresample   0. 17.102 /  0. 17.102
    2013-11-17T19:45:05.318137+00:00 app[web.1]: Unrecognized option 'preset'.
    2013-11-17T19:45:05.318137+00:00 app[web.1]: Error splitting the argument list: Option not found
    2013-11-17T19:45:05.318137+00:00 app[web.1]:
    2013-11-17T19:45:05.318137+00:00 app[web.1]: Errors: no output file created.

    I think that the error may be a result of differences in the version of ffmpeg that I'm using locally and on Heroku. Does anyone have suggestions for how to resolve this issue ?

  • Getting ffmpeg to work with Heroku

    23 octobre 2016, par scientiffic

    I attempted to install ffmpeg for my Heroku Rails app and now my app is crashing.

    I added a buildpack using the following command :

    heroku config:add BUILDPACK_URL=https://github.com/shunjikonishi/heroku-buildpack-ffmpeg

    After pushing to Heroku, I get the following error according to my logs :

    2013-11-17T17:50:44.022351+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 47171`
    2013-11-17T17:50:46.295602+00:00 app[web.1]: bash: bundle: command not found
    2013-11-17T17:50:47.589491+00:00 heroku[web.1]: Process exited with status 127
    2013-11-17T17:50:47.597968+00:00 heroku[web.1]: State changed from starting to crashed
    2013-11-17T17:50:48.620853+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ (...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes=
    2013-11-17T17:50:48.847288+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=(...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes=

    When I run heroku run rake db:migrate, I get the error :

    Running `rake db:migrate` attached to terminal... up, run.9791
    (in /app)
    rake aborted!
    no such file to load -- bundler/setup
    rubygems/custom_require>:29:in `require'
    rubygems/custom_require>:29:in `require'
    /app/config/boot.rb:6:in `<top>'
    rubygems/custom_require>:29:in `require'
    rubygems/custom_require>:29:in `require'
    /app/config/application.rb:1:in `<top>'
    rubygems/custom_require>:29:in `require'
    rubygems/custom_require>:29:in `require'
    /app/Rakefile:5:in `<top>'
    /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
    /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
    /usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
    /usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
    /usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
    /usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
    /usr/local/bin/rake:31:in `<main>'
    </main></top></top></top>

    When I check the version of bundler I’m using (bundle show bundler), I get :

    /Users/(...).rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5/lib/bundler.rb:284: warning: Insecure world writable dir /usr/local in PATH, mode 040777
    /Users/(...)/.rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5

    How can I solve this problem ?