Recherche avancée

Médias (91)

Autres articles (82)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (12879)

  • -vf unrecognized with php exec() function

    29 septembre 2011, par Rajat

    I am using php to create a video with fade effects. But exec() function gives following output :

    array(19)
    [0]=>
    string(67) "FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers"

    [1]=>
    string(74) " built on Dec 4 2010 15:35:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)"

    [2]=>
    string(649) " 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-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-gpl —enable-nonfree —enable-postproc —enable-pthreads —enable-shared —enable-swscale —enable-vdpau —enable-version3 —enable-x11grab"

    [3]=>
    string(35) " libavutil 50.15. 1 / 50.15. 1"

    [4]=>
    string(35) " libavcodec 52.72. 2 / 52.72. 2"

    [5]=>
    string(35) " libavformat 52.64. 2 / 52.64. 2"

    [6]=>
    string(35) " libavdevice 52. 2. 0 / 52. 2. 0"

    [7]=>
    string(35) " libavfilter 1.19. 0 / 1.19. 0"

    [8]=>
    string(35) " libswscale 0.11. 0 / 0.11. 0"

    [9]=>
    string(35) " libpostproc 51. 2. 0 / 51. 2. 0"

    [10]=>
    string(122) "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/slideshow/frame1.mp4' :"

    [11]=>
    string(11) " Metadata :"

    [12]=>
    string(26) " major_brand : isom"

    [13]=>
    string(25) " minor_version : 512"

    [14]=>
    string(35) " compatible_brands : isomiso2mp41"

    [15]=>
    string(33) " encoder : Lavf52.64.2"

    [16]=>
    string(58) " Duration : 00:00:05.00, start : 0.000000, bitrate : 31 kb/s"

    [17]=>
    string(107) " Stream #0.0(und) : Video : mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 29
    kb/s, 1 fps, 1 tbr, 1 tbn, 1 tbc"

    [18]=>
    string(24) "Unrecognized option 'vf'"

    Why it is giving unrecognized option 'vf' while it works fine when run directly on server.My command is : "ffmpeg -i /usr/slideshow/frame1.mp4 -vf 'fade=out:0:5' /usr/slideshow/fade1.mp4"

    I am executing it with exec() function. Why the error is coming and what should i use to apply filter to my input video. I am working on CentOS server.

    Please guide me...

  • Unknown OS 'msys_nt-6.1'. using Minw on win7 64bit

    31 mai 2015, par user63898

    i try to compile FFmpeg from source using MSYS2 and MIngW im using win7 64 bit .
    using .

    $ ./configure --enable-shared

    im getting this error :

    Unknown OS 'msys_nt-6.1'.

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solve the problem.

    looking in to config.log
    i see ( the end of the log ) :

    gcc -std=c99 -Wall -O3 -c -o /tmp/ffconf.fnJeLuIu.o /tmp/ffconf.e8DJYGJM.c
    check_code cc  int test[2*(sizeof(void *) > 4) - 1]
    check_cc
    BEGIN /tmp/ffconf.e8DJYGJM.c
       1   int main(void) { int test[2*(sizeof(void *) > 4) - 1]; return 0; }
    END /tmp/ffconf.e8DJYGJM.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -c -o /tmp/ffconf.fnJeLuIu.o /tmp/ffconf.e8DJYGJM.c
    G:/msys64/tmp/ffconf.e8DJYGJM.c: In function 'main':
    G:/msys64/tmp/ffconf.e8DJYGJM.c:1:22: error: size of array 'test' is negative
    int main(void) { int test[2*(sizeof(void *) > 4) - 1]; return 0; }
                         ^
    check_cpp_condition stddef.h defined(__x86_64__)
    check_cpp
    BEGIN /tmp/ffconf.e8DJYGJM.c
       1   #include
       2   #if !(defined(__x86_64__))
       3   #error "unsatisfied condition: defined(__x86_64__)"
       4   #endif
    END /tmp/ffconf.e8DJYGJM.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -std=c99 -E -o /tmp/ffconf.fnJeLuIu.o /tmp/ffconf.e8DJYGJM.c
    G:/msys64/tmp/ffconf.e8DJYGJM.c:3:2: error: #error "unsatisfied condition: defined(__x86_64__)"
    #error "unsatisfied condition: defined(__x86_64__)"
     ^
    Unknown OS 'msys_nt-6.1'.

    what did i miss ? what did i do wrong ?
    Thanks

  • Unrecognized option 'c:v' ffmpeg error for converting videos to H264

    16 mai 2015, par user3528346

    I told my server to upgrade to latest version of ffmpeg and they told me they did and I have the latest version that is 2.2.1 .
    I test several codes to convert a video to x264 , here is the one ;

    passthru("$ffmpegpath -i aatest/a.AVI -c:v libx264 -c:a libfaac -preset veryslow -qp 0 aatest/output.mp4 2>&1");

    the result

    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 [mpeg4 @ 0x1111960]Invalid and inefficient vfw-avi packed B frames detected [mpeg4 @ 0x1111960]frame skip 8 Input #0,
    avi, from ’aatest/a.AVI’ : Duration : 00:02:04.04, start : 0.000000,
    bitrate : 885 kb/s Stream #0.0 : Video : mpeg4, yuv420p, 480x360 [PAR 4:3
    DAR 16:9], 25 tbr, 25 tbn, 25 tbc Stream #0.1 : Audio : mp3, 44100 Hz, 2
    channels, s16, 128 kb/s Unrecognized option ’c:v’

    the last line says "Unrecognized option ’c:v’"

    What should I do ?
    Thanks