Recherche avancée

Médias (91)

Autres articles (60)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (5041)

  • Compiling Static FFMPEG Binary

    8 octobre 2015, par Nino Ninkovic

    I cannot seem to compile a static build of FFMPEG. All of my attempts result with a ffmpeg binary that looks for libraries outside of the binary. Does anything stand out in my configure options ?
    Some further details - On OSX 10.10.5 and  Xcode7. I used homebrew to build all of the dependencies in '/usr/local/Cellar/ffmpeg/2.8/' I then used the same compile options that the homebrew install used and extended it with further options.

    Compiling goes without a hitch. The only issue being the ffmpeg binary is not static. I tried specifying --disable--share --enable-static with no luck (though i’ve read that these are on by default and do not need explicit specification)

    ## Compile Options ##

     ./configure --prefix=/usr/local/Cellar/ffmpeg/2.8/  -enable-gpl --enable-    pthreads --disable-libfaac --disable-libfdk-aac --enable-ffplay --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libquvi --enable-libsoxr --enable-libssh --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-videotoolbox --enable-libwebp --enable-libx265 --enable-libzmq --disable-shared --enable-static --enable-avresample --disable-openssl --enable-opengl --disable-nvenc --enable-filters --arch=x86_64 --enable-runtime-cpudetect && make -j        4 && make install`

    ## Compiled FFMPEG Binary ##

    ./ffmpeg -buildconf
    ffmpeg version N-75841-g5911eeb Copyright (c) 2000-2015 the FFmpeg developers
    built with Apple LLVM version 7.0.0 (clang-700.0.72)
    configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8/ --enable-gpl --enable-pthreads --disable-libfaac --disable-libfdk-aac --enable-ffplay --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libquvi --enable-libsoxr --enable-libssh --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libopenjpeg --enable-openssl --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-videotoolbox --enable-libwebp --enable-libx265 --enable-libzmq --disable-shared --enable-static --enable-avresample --disable-openssl --enable-opengl --disable-nvenc --enable-filters --arch=x86_64 --enable-runtime-cpudetectlibavutil      55.  2.100 / 55.  2.100
    libavcodec     57.  4.100 / 57.  4.100
    libavformat    57.  3.100 / 57.  3.100
    libavdevice    57.  0.100 / 57.  0.100
    libavfilter     6. 10.100 /  6. 10.100
    libavresample   3.  0.  0 /  3.  0.  0
    libswscale      4.  0.100 /  4.  0.100
    libswresample   2.  0.100 /  2.  0.100
    libpostproc    54.  0.100 / 54.  0.100

    configuration:
    --enable-gpl
    --enable-pthreads
    --disable-libfaac
    --disable-libfdk-aac
    --enable-ffplay
    --enable-fontconfig
    --enable-libfreetype
    --enable-frei0r
    --enable-libbluray
    --enable-libbs2b
    --enable-libcaca
    --enable-libquvi
    --enable-libsoxr
    --enable-libssh
    --enable-libvidstab
    --enable-libvorbis
    --enable-libvpx
    --enable-libopenjpeg
    --enable-openssl
    --enable-libopus
    --enable-librtmp
    --enable-libschroedinger
    --enable-libspeex
    --enable-libtheora
    --enable-videotoolbox
    --enable-libwebp
    --enable-libx265
    --enable-libzmq
    --disable-shared
    --enable-static
    --enable-avresample
    --disable-openssl
    --enable-opengl
    --disable-nvenc
    --enable-filters
    --arch=x86_64
    --enable-runtime-cpudetect

    Is there somethign glaringly wrong in my configuration ? Is it a licensing thing - where certain libraries wont compile statically ?
    I deeply appreciate any guidance in compiling a static ffmpeg binary.

    Thanks for your help !

  • Using ffmpeg with Visual Studio 2013 and C

    19 juin 2016, par user5000935

    I’m try
    main.c
    av_register_all() ;

    AVFormatContext *pFormatCtx = NULL;

    // Open video file
    if (avformat_open_input(&pFormatCtx, argv[1], NULL, NULL) != 0)
       return -1; // Couldn't open file

    if (avformat_find_stream_info(pFormatCtx, NULL) < 0)
       return -1; // Couldn't find stream information
    }
    • I’ve added the include (C :\ffmpeg\include) directory to my C/C++ > General > Additional Include Directories ;
    • I’ve added
      I’m using "Zeranoe FFmpeg Build Version : git-5911eeb (2015-10-08)". I tried both 32/64bits versions as said in another question here in SO.

    These are the errors I’m getting :

    Error   3   error C2143: syntax error : missing ';' before '{'  c:\ffmpeg\include\libavutil\error.h 110 1   FFMpeg Test
    Error   6   error C2143: syntax error : missing ';' before '{'  c:\ffmpeg\include\libavutil\mem.h   94  1   FFMpeg Test
    Error   9   error C2143: syntax error : missing ';' before '{'  c:\ffmpeg\include\libavutil\mem.h   229 1   FFMpeg Test
    Error   12  error C2143: syntax error : missing ';' before '{'  c:\ffmpeg\include\libavutil\mem.h   338 1   FFMpeg Test
    Error   15  error C2143: syntax error : missing ';' before '{'  c:\ffmpeg\include\libavutil\rational.h  54  1   FFMpeg Test
    Error   18  error C21in formal parameter list   c:\ffmpeg\include\libavutil\mem.h   338 1   FFMpeg Test
    Error   20  error C2085: 'av_q2d' : not in formal parameter list    c:\ffmpeg\include\libavutil\rational.h  80  1   FFMpeg Test
    Error   8   error C2085: 'av_mallocz_array' : not in formal parameter list  c:\ffmpeg\include\libavuormal parameter list    c:\ffmpeg\include\libavutil\rational.h  54  1   FFMpeg Test
  • Video Created By FFMPEG is Blank [on hold]

    11 octobre 2015, par Larry Holze

    New to FFMPEG and trying to use it very simplistically. I have a sequence of images that I want to make into a video. Using this command :

    ffmpeg -framerate 30 -i "fr_%05d.jpg" out.mp4

    Creates the out.mp4 file OK, but when I play it back it is just blank.
    Pictures in the .jpg sequence are definitely not blank.

    Am I missing some option(s) ?

    Command window output :

    ffmpeg version N-74700-g628a73f Copyright (c) 2000-2015 the FFmpeg developers

    Built with gcc 4.9.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-libbs2b --enable-libcaca --

    enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l

    ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab

    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en

    able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena

    ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc

    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl

    e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena

    ble-decklink --enable-zlib

     libavutil      54. 31.100 / 54. 31.100

     libavcodec     56. 59.100 / 56. 59.100

     libavformat    56. 40.101 / 56. 40.101

     libavdevice    56.  4.100 / 56.  4.100

     libavfilter     5. 39.100 /  5. 39.100

     libswscale      3.  1.101 /  3.  1.101

     libswresample   1.  2.101 /  1.  2.101

     libpostproc    53.  3.100 / 53.  3.100

    Input #0, image2, from 'fr_%05d.jpg':

     Duration: 00:00:30.03, start: 0.000000, bitrate: N/A

       Stream #0:0: Video: mjpeg, gray(bt470bg/unknown/unknown), 300x200 [SAR 90:90

    DAR 3:2], 30 fps, 30 tbr, 30 tbn, 30 tbc

    [swscaler @ 0000000002f88c60] deprecated pixel format used, make sure you did se

    t range correctly

    No pixel format specified, yuvj444p for H.264 encoding chosen.

    Use -pix_fmt yuv420p for compatibility with outdated media players.

    [libx264 @ 000000000589b0c0] using SAR=1/1

    [libx264 @ 000000000589b0c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

    AVX

    [libx264 @ 000000000589b0c0] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-b

    it

    [libx264 @ 000000000589b0c0] 264 - core 148 r2597 e86f3a1 - H.264/MPEG-4 AVC cod

    ec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 r

    ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed

    _ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski

    p=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decim

    ate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_a

    dapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25

    scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60

    qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

    Output #0, mp4, to 'out.mp4':

     Metadata:

       encoder         : Lavf56.40.101

       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj444p(pc), 3

    00x200 [SAR 1:1 DAR 3:2], q=-1--1, 30 fps, 15360 tbn, 30 tbc

       Metadata:

         encoder         : Lavc56.59.100 libx264

    Stream mapping:

     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))

    Press [q] to stop, [?] for help

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    frame=  244 fps=0.0 q=29.0 size=      15kB time=00:00:06.40 bitrate=  19.6kbits/

    Input stream #0:0 frame changed from size:300x200 fmt:yuvj444p to size:300x200 f

    mt:gray

    [swscaler @ 00000000095b75c0] deprecated pixel format used, make sure you did se

    t range correctly

    Input stream #0:0 frame changed from size:300x200 fmt:gray to size:300x200 fmt:y

    uvj444p

    frame=  325 fps=316 q=29.0 size=      23kB time=00:00:09.10 bitrate=  20.4kbits/

    frame=  382 fps=247 q=29.0 size=      34kB time=00:00:11.00 bitrate=  25.1kbits/

    frame=  417 fps=203 q=29.0 size=      36kB time=00:00:12.16 bitrate=  24.5kbits/

    frame=  482 fps=187 q=29.0 size=      38kB time=00:00:14.33 bitrate=  21.7kbits/

    frame=  541 fps=175 q=29.0 size=      39kB time=00:00:16.30 bitrate=  19.8kbits/

    frame=  611 fps=170 q=29.0 size=      41kB time=00:00:18.63 bitrate=  18.1kbits/

    frame=  881 fps=214 q=29.0 size=      54kB time=00:00:27.63 bitrate=  15.9kbits/

    frame=  901 fps=214 q=-1.0 Lsize=      66kB time=00:00:29.96 bitrate=  18.1kbits

    /s

    video:55kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov

    erhead: 20.648893%

    [libx264 @ 000000000589b0c0] frame I:8     Avg QP:18.01  size:  2331

    [libx264 @ 000000000589b0c0] frame P:239   Avg QP:22.95  size:    91

    [libx264 @ 000000000589b0c0] frame B:654   Avg QP:33.33  size:    23

    [libx264 @ 000000000589b0c0] consecutive B-frames:  2.9%  0.7%  1.0% 95.4%

    [libx264 @ 000000000589b0c0] mb I  I16..4: 36.6% 53.8%  9.6%

    [libx264 @ 000000000589b0c0] mb P  I16..4:  0.1%  0.4%  0.2%  P16..4:  0.6%  0.0

    %  0.0%  0.0%  0.0%    skip:98.6%

    [libx264 @ 000000000589b0c0] mb B  I16..4:  0.0%  0.9%  0.0%  B16..8:  1.7%  0.0

    %  0.0%  direct: 0.0%  skip:97.4%  L0:55.9% L1:44.1% BI: 0.0%

    [libx264 @ 000000000589b0c0] 8x8 transform intra:70.8% inter:12.0%

    [libx264 @ 000000000589b0c0] coded y,u,v intra: 5.9% 4.9% 5.0% inter: 0.0% 0.0%

    0.0%

    [libx264 @ 000000000589b0c0] i16 v,h,dc,p: 54% 46%  0%  0%

    [libx264 @ 000000000589b0c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13%  5% 83%  0%  0%

    0%  0%  0%  0%

    [libx264 @ 000000000589b0c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 47% 15% 10%  4%  6%

    5%  4%  4%  4%

    [libx264 @ 000000000589b0c0] Weighted P-Frames: Y:0.0% UV:0.0%

    [libx264 @ 000000000589b0c0] ref P L0: 47.6%  2.6% 44.9%  5.0%

    [libx264 @ 000000000589b0c0] ref B L0: 55.9% 40.1%  4.0%

    [libx264 @ 000000000589b0c0] ref B L1: 93.3%  6.7%

    [libx264 @