Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (40)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6811)

  • How to convert H.264 format videos to H.263 using avconv or ffmpeg tool

    15 juillet 2013, par Bagesh Sharma

    I run below given command but getting error -

    avconv -y -i song_family.mp4 -c:v h263 -s 352x288 1.mp4

    The log generated is -

    avconv version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers built on Mar 30 2013 22:23:21 with gcc 4.7.2 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'song_family.mp4' : Metadata : major_brand : M4V minor_version : 1 compatible_brands : M4V mp42isom creation_time : 2013-02-19 22:12:33 Duration : 00:01:17.90, start : 0.000000, bitrate : 493 kb/s Stream #0.0(eng) : Video : h264 (Baseline), yuv420p, 1024x768 [PAR 1:1 DAR 4:3], 397 kb/s, 15 fps, 15 tbr, 15k tbn, 30 tbc Metadata : creation_time : 2013-02-19 22:12:33 Stream #0.1(eng) : Audio : aac, 44100 Hz, stereo, s16, 93 kb/s Metadata : creation_time : 2013-02-19 22:12:33 [buffer @ 0x98b9d00] w:1024 h:768 pixfmt:yuv420p [scale @ 0x98b9f60] w:1024 h:768 fmt:yuv420p -> w:352 h:288 fmt:yuv420p flags:0x4 [mp4 @ 0x98b8e60] track 0 : could not find tag, codec not currently supported in container Output #0, mp4, to '1.mp4' : Metadata : major_brand : M4V minor_version : 1 compatible_brands : M4V mp42isom creation_time : 2013-02-19 22:12:33 encoder : Lavf53.21.1 Stream #0.0(eng) : Video : h263, yuv420p, 352x288 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 15 tbc Metadata : creation_time : 2013-02-19 22:12:33 Stream #0.1(eng) : Audio : libvo_aacenc, 44100 Hz, stereo, s16, 200 kb/s Metadata : creation_time : 2013-02-19 22:12:33 Stream mapping : Stream #0:0 -> #0:0 (h264 -> h263) Stream #0:1 -> #0:1 (aac -> libvo_aacenc) Could not write header for output file #0 (incorrect codec parameters ?)

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