Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (104)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10455)

  • Warning : passthru() has been disabled for security reasons in _audioconverter_scheduler_ffmpeg_helper

    10 décembre 2012, par Meggy

    I am using the audioconverter module with the audiorecorderfield module in Drupal 7 with ffmpeg on my own vps running Aegir and Nginx. The audioconverter module has stopped converting wav files to mp3. Here's the error ;

    Warning: passthru() has been disabled for security reasons in _audioconverter_scheduler_ffmpeg_helper() (line 358 of /mysite/drupal-7.16/sites/all/modules/audioconverter/audioconverter.module).

    And in my logs ;

    MESSAGE: executing: /usr/bin/ffmpeg -i /mysite/drupal-7.16/sites/default/files/1354856044.wav /mysite/drupal-7.16/sites/default/files/1354856044.wav.mp3

    MESSAGE: Audio conversion failed. FFMPEG reported the following output:

    SEVERITY: error

    MESSAGE: converted file is an empty file.

    I can see the wav file is created by the audiorecorderfield module but the audioconverter module is failing on the conversion.

    Here is my ffmpeg info ;

    ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
    built on Jun 13 2012 14:01:54 with gcc 4.4.5
    configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
    libavutil    50. 43. 0 / 50. 43. 0
    libavcodec   52.123. 0 / 52.123. 0
    libavformat  52.111. 0 / 52.111. 0
    libavdevice  52.  5. 0 / 52.  5. 0
    libavfilter   1. 80. 0 /  1. 80. 0
    libswscale    0. 14. 1 /  0. 14. 1
    libpostproc  51.  2. 0 / 51.  2. 0
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Safe mod is OFF in php.ini so I don't know why audioconverter is not working.

  • Converting avi to mp4 (use ffmpeg library) is very slow [closed]

    7 décembre 2012, par yAnTar

    I have task - convert any video from user to mp4 format.
    I use command

    ffmpeg -i $file -vcodec libx264 -vpre ultrafast -bt 500k -acodec libfaac -ab 56k -ac 2 -s 480x320 $outputFileMp4

    I try to change options bitrate, dimensions, but spped of converting is slow - 3 mbytes convert arround 90 seconds.

    If i convert avi to flv - no problem.

    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
     built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libavfilter    1.19. 0 /  1.19. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Input #0, avi, from 'intro.avi':
     Duration: 00:07:48.53, start: 0.000000, bitrate: 244 kb/s
       Stream #0.0: Video: camtasia, bgr24, 800x600, 15 tbr, 15 tbn, 15 tbc
       Metadata:
         strn            : Camtasia Producer_render549ab1f.avi Video #1
       Stream #0.1: Audio: pcm_s16le, 12000 Hz, 1 channels, s16, 192 kb/s
       Metadata:
         strn            : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
    [libx264 @ 0x1202e40]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
    [libx264 @ 0x1202e40]profile Constrained Baseline, level 2.2
    [libx264 @ 0x1202e40]264 - core 107 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=0.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=200 ratetol=2.5 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=0
    Output #0, mp4, to 'test2.mp4':
     Metadata:
       encoder         : Lavf52.64.2
       Stream #0.0: Video: libx264, yuv420p, 640x480, q=10-51, 200 kb/s, 15 tbn, 15 tbc
       Metadata:
         strn            : Camtasia Producer_render549ab1f.avi Video #1
       Stream #0.1: Audio: libfaac, 12000 Hz, 2 channels, s16, 5 kb/s
       Metadata:
         strn            : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1

    and result of executing

    frame= 7028 fps= 52 q=10.0 Lsize=    2654kB time=468.31 bitrate=  46.4kbits/s
    video:1883kB audio:672kB global headers:0kB muxing overhead 3.876805%
    [libx264 @ 0xe1ee40]frame I:29    Avg QP:10.83  size: 25781
    [libx264 @ 0xe1ee40]frame P:6999  Avg QP:10.08  size:   169
    [libx264 @ 0xe1ee40]mb I  I16..4: 80.1%  0.0% 19.9%
    [libx264 @ 0xe1ee40]mb P  I16..4:  0.2%  0.0%  0.0%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
    [libx264 @ 0xe1ee40]final ratefactor: 5.71
    [libx264 @ 0xe1ee40]coded y,uvDC,uvAC intra: 37.1% 3.3% 3.1% inter: 0.1% 0.0% 0.0%
    [libx264 @ 0xe1ee40]i16 v,h,dc,p: 87% 12%  1%  0%
    [libx264 @ 0xe1ee40]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 27%  8%  6%  3%  3%  2%  8%
    [libx264 @ 0xe1ee40]i8c dc,h,v,p: 94%  6%  0%  0%
    [libx264 @ 0xe1ee40]kb/s:32.91
  • ffmpeg watermark bottom right corner

    8 décembre 2012, par John Doe

    I am not sure why, but I cannot seem to get a watermark rendered on the bottom right corner of my video using ffmpeg.

    I am using the following command :

    ffmpeg –i faded.mov -vf "movie=logo.png [watermark]; [in][watermark] overlay=(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 [out]" outputvideo.mov

    I see the following output :

    ffmpeg version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Nov  6 2012 16:50:25 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Input #0, avi, from 'faded.mov':
     Metadata:
       encoder         : MEncoder svn r34540 (Ubuntu), built with gcc-4.6
     Duration: 00:00:20.02, start: 0.000000, bitrate: 3136 kb/s
       Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 tbr, 50 tbn, 50 tbc
       Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
    [buffer @ 0x905b7a0] w:1280 h:720 pixfmt:yuv420p
    [movie @ 0x90527e0] seek_point:0 format_name:(null) file_name:logo2.png stream_index:0
    [overlay @ 0x9053080] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed filter 0 movie' and the filter 'Parsed filter 1 overlay'
    [scale @ 0x9054ba0] w:144 h:144 fmt:bgra -> w:144 h:144 fmt:yuva420p flags:0x4
    [overlay @ 0x9053080] main w:1280 h:720 fmt:yuv420p overlay x:568 y:288 w:144 h:144 fmt:yuva420p
    [overlay @ 0x9053080] main_tb:1/1000000 overlay_tb:1/25 -> tb:1/1000000 exact:1
    Output #0, mov, to 'outputvideo3.mov':
     Metadata:
       encoder         : Lavf53.21.0
       Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 tbn, 50 tbc
       Stream #0.1: Audio: libvo_aacenc, 48000 Hz, 2 channels, s16, 200 kb/s
    Stream mapping:
     Stream #0.0 -> #0.0
     Stream #0.1 -> #0.1
    Press ctrl-c to stop encoding
    frame= 1001 fps=137 q=31.0 Lsize=    3668kB time=20.02 bitrate=1501.1kbits/s    
    video:3159kB audio:492kB global headers:0kB muxing overhead 0.460112%

    hussan@ubuntu:~/Documents/testvideo$ ffmpeg –i faded.mov -vf "movie=logo2.png [watermark]; [in][watermark] overlay=(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 [out]" outputvideo3.mov
    ffmpeg version 0.8.4-4:0.8.4-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Nov  6 2012 16:50:25 with gcc 4.6.3
    *** THIS PROGRAM IS DEPRECATED ***
    This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
    Unable to find a suitable output format for '–i'

    If anyone has any ideas that would be greatly appreciated !