Recherche avancée

Médias (91)

Autres articles (32)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (4539)

  • FFMPEG command faild

    11 octobre 2015, par Asad kamran

    I am experimenting FFMPEG command to convert any video format to mp4.

    Server admin execute the below command created by me and show me the errors :

    ffmpeg -ss 00:03:00  -i  /home/bbma7roo/public_html/site_data/video/1444107854.mov -c:v libx264 /home/bbma7roo/public_html/site_data/video/player/1444107854.mp4  -vframes 1 /home/bbma7roo/public_html/site_data/video/thumb/1444107854.jpg

    This is error :

    [aac @ 0x2b845a0] The encoder ’aac’ is experimental but experimental
    codecs are not enabled, add ’-strict -2’ if you want to use it.

    how can i avoid this error and also experimental codec, so can any one let me know what can be best codec if i explicitly specify it.

    my ffmpeg and server are as follow :

    ffmpeg version N-75903-g14573b9 Copyright (c) 2000-2015 the FFmpeg
    developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)

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