Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (73)

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

  • FFMPEG compiling on heroku

    17 juillet 2013, par Jan

    I have a Rails app running in heroku.

    I wanna watermark an original AUDIO-file with another AUDIO-file through a merging/mixing (amerge or amix) filter. Also fades and looping should work.

    FFMPEG must be compiled for this feature to run on heroku.
    My steps I got from this GIST which uses Vuclan

    https://gist.github.com/liufengyun/5055354

    Locally I use the following term to convert with Carrierwave which is an uploader :

    "-i Original.aiff -i public/watermark/#{ENV['WATERMARK_FILENAME']}.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=#{self.evaluate_length-2}:d=2[5];[5][0]amix=duration=shortest[out]' -map [out]"

    This works with the ffmpeg built in on my mac.

    My compiled version for heroku does contain amerge, amix and the libavformat library.

    This is the log which I got from heroku when I go to my upload form and uplaod a file :
    (all this works, but only locally).

    Started POST "/sounds" for 84.113.97.32 at 2013-07-15 21:14:33 +0000
    2013-07-15T21:14:33.175631+00:00 app[web.1]: Running transcoding...
    2013-07-15T21:14:33.175631+00:00 app[web.1]: ffmpeg -y -i /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff -i public/watermark/1khz.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=-2.0:d=2[5];[5][0]amix=duration=shortest[out]' -map [out] /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff
    2013-07-15T21:14:33.175631+00:00 app[web.1]:
    2013-07-15T21:14:33.241221+00:00 app[web.1]: Failed encoding...
    2013-07-15T21:14:33.241221+00:00 app[web.1]: ffmpeg -y -i /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff -i public/watermark/1khz.aiff -loop 1 -filter_complex '[1]afade=t=in:ss=0:d=1[4];[4]afade=t=out:st=-2.0:d=2[5];[5][0]amix=duration=shortest[out]' -map [out] /tmp/sounds/1373922873-2-5714/watermark_loop-95.aiff
    2013-07-15T21:14:33.241221+00:00 app[web.1]:
    2013-07-15T21:14:33.241221+00:00 app[web.1]: ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
    2013-07-15T21:14:33.241221+00:00 app[web.1]:
    2013-07-15T21:14:33.241221+00:00 app[web.1]: Errors: encoded file is invalid.
    2013-07-15T21:14:33.241221+00:00 app[web.1]:
    2013-07-15T21:14:33.277487+00:00 app[web.1]:
    2013-07-15T21:14:33.277487+00:00 app[web.1]: FFMPEG::Error (Failed encoding.Errors: encoded file is invalid. Full output: ffmpeg: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory
    2013-07-15T21:14:33.277487+00:00 app[web.1]: ):
    2013-07-15T21:14:33.277487+00:00 app[web.1]:   app/uploaders/sound_uploader.rb:39:in `watermarking'
    2013-07-15T21:14:33.277487+00:00 app[web.1]:

    It's my 6th attempt to compile, get ffmpeg running correctly and watermarking my sounds on heroku.

    Please help me out of this neverending story.

  • How to convert any format to H264 (html5) video using ffmpeg ? [on hold]

    14 juillet 2013, par kheya

    I am trying to use a single command to convert avi, mov, wmv etc to H264 (HTML5 playback)
    I have command that converted the avi correctly to H264 (created .mp4 file)
    But the same command fails to convert a quicktime mov file.

    I am using the 64bit static built on windows.

    Here is the command I used to convert AVI to H264. This one works.

    for %%a in ("*.avi") do (
       ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "%%~na.mp4"
    )

    I am trying this to convert mov to H264 :

    for %%a in ("*.mov") do (
       ffmpeg -i "%%a" -vcodec mpeg4 -acodec libvo_aacenc "%%~na.mp4" //fails
       ffmpeg -i "%%a" -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a 128k "%%~na.mp4" //fails with error )

    Appreciate if you kindly help me.

    EDIT :
    Here is the error :
    [graph 1 input from stream 0:1 @ 0000000002689260] Invalid sample format (null)
    Error opening filters !

    Output of the command :

    ffmpeg -i "file2.mov" -vcodec libx264 -vprofile high -preset slow -b:v 500k -ma
    xrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -acodec libvo_aacenc -b:a
    128k "file2.mp4"

    The system cannot find the drive specified.
    ffmpeg version N-54691-g7f4a1fd Copyright (c) 2000-2013 the FFmpeg developers
     built on Jul 12 2013 16:31:48 with gcc 4.7.3 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
     libavutil      52. 39.100 / 52. 39.100
     libavcodec     55. 18.102 / 55. 18.102
     libavformat    55. 12.102 / 55. 12.102
     libavdevice    55.  3.100 / 55.  3.100
     libavfilter     3. 80.101 /  3. 80.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file2.mov':
     Metadata:
       creation_time   : 1998-11-12 18:28:20
     Duration: 00:00:28.60, start: 0.000000, bitrate: 111 kb/s
       Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 160x120, 90 kb/s
    , 7.52 fps, 7.50 tbr, 600 tbn, 600 tbc
       Metadata:
         creation_time   : 1998-11-12 18:28:20
         handler_name    : Apple Alias Data Handler
       Stream #0:1(eng): Audio: qdmc (QDMC / 0x434D4451), 44100 Hz, mono
       Metadata:
         creation_time   : 1998-11-12 18:28:20
         handler_name    : Apple Alias Data Handler
    [graph 1 input from stream 0:1 @ 000000000251a080] Invalid sample format (null)
    Error opening filters!
  • Ffmpeg didn't burn srt subtitle on mkv

    19 juillet 2013, par user2600010

    `ffmpeg version:git-fc6de70 (2013-07-18) with libass and fontconfig support.
    command line:ffmpeg.exe -i test.mkv -vf subtitles=test.srt out.mkv
    and i got this error. :

    Metadata:
       encoder         : Lavf55.12.102
       Stream #0:0(eng): Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1280x5
    76 [SAR 1:1 DAR 20:9], q=-1--1, 1k tbn, 23.98 tbc (default)
       Stream #0:1: Audio: vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo
    , fltp (default)
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libvorbis)
    Press [q] to stop, [?] for help
    [Parsed_subtitles_0 @ 00000000027b9960] Neither PlayResX nor PlayResY defined. A
    ssuming 384x288

    http://tinypic.com/r/2ag52so/5