Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (14)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • 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) (...)

Sur d’autres sites (3177)

  • ffmpeg filters image processing

    15 décembre 2017, par Ja_cpp

    ffmpeg is applying some filters to the images before constructing the video. Is there any way to know those filters ?

    I’m using this command (so every parameters are kept by default) :

    ffmpeg -framerate 12 -i frame%02d.jpg out.mp4

    Example of one frame :

    Image file :

    enter image description here

    From the video :
    enter image description here

    I’m working on image processing with c++ and I’m interested in the way ffmpeg filtering the images

    EDIT

    When I launch the command line, that what I get in the terminal :

    ffmpeg -framerate 5 -i frame%02d.jpg output.mp4


    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
     libavutil      54. 31.100 / 54. 31.100
     libavcodec     56. 60.100 / 56. 60.100
     libavformat    56. 40.101 / 56. 40.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 40.101 /  5. 40.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.101 /  1.  2.101
     libpostproc    53.  3.100 / 53.  3.100
    [mjpeg @ 0x23e8600] Changeing bps to 8
    Input #0, image2, from 'frame%02d.jpg':
     Duration: 00:01:40.20, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 2576x1456 [SAR 1:1 DAR 23:13], 5 fps, 5 tbr, 5 tbn, 5 tbc
    No pixel format specified, yuvj420p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x23ec680] using SAR=1/1
    [libx264 @ 0x23ec680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x23ec680] profile High, level 5.0
    [libx264 @ 0x23ec680] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=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_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=5 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 'output.mp4':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj420p(pc), 2576x1456 [SAR 1:1 DAR 23:13], q=-1--1, 5 fps, 10240 tbn, 5 tbc
       Metadata:
         encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=  501 fps=3.8 q=-1.0 Lsize=  154288kB time=00:01:39.80 bitrate=12664.6kbits/s    
    video:154284kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002771%
    [libx264 @ 0x23ec680] frame I:3     Avg QP:17.31  size:564506
    [libx264 @ 0x23ec680] frame P:498   Avg QP:19.27  size:313841
    [libx264 @ 0x23ec680] mb I  I16..4:  0.2% 97.1%  2.7%
    [libx264 @ 0x23ec680] mb P  I16..4:  0.0% 46.3%  0.5%  P16..4: 12.5% 13.0%  7.7%  0.0%  0.0%    skip:20.1%
    [libx264 @ 0x23ec680] 8x8 transform intra:98.9% inter:73.3%
    [libx264 @ 0x23ec680] coded y,uvDC,uvAC intra: 99.0% 99.7% 96.0% inter: 52.0% 57.7% 37.0%
    [libx264 @ 0x23ec680] i16 v,h,dc,p: 17% 16% 13% 54%
    [libx264 @ 0x23ec680] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 12% 33%  6%  7%  6%  8%  7% 10%
    [libx264 @ 0x23ec680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 13% 14% 10% 13%  9% 11%  8% 10%
    [libx264 @ 0x23ec680] i8c dc,h,v,p: 66% 14% 14%  5%
    [libx264 @ 0x23ec680] Weighted P-Frames: Y:2.0% UV:1.2%
    [libx264 @ 0x23ec680] ref P L0: 45.6% 16.0% 20.4% 17.6%  0.5%
    [libx264 @ 0x23ec680] kb/s:12613.66
  • FFMpeg Concat Filter - Setting start position for file

    9 avril 2014, par Joyce Babu

    I want to concat two video files using the concat filter. The first file has to be included fully, whereas the second video must be included from the 10th second. Do I need to first create an intermediate file starting from the 10th second, or can I do it in one step ?

    The command I am using is

    /usr/local/bin/ffmpeg -i intro.mp4 -i input.mp4 -filter_complex '[0:v] scale=720:576 [in1]; [1:v] scale=720:576 [in2]; [in1][in2] concat [v]; [0:a][1:a] concat=v=0:a=1 [a]' -map '[v]' -map '[a]' output.mp4

    I tried specifying -ss after -i input.mp4, but it is applied on the final output file.

    iMac:files joyce$ /usr/local/bin/ffmpeg -i intro.mp4 -i input.mp4 -filter_complex '[0:v] scale=720:576 [in1]; [1:v] scale=720:576 [in2]; [in1][in2] concat [v]; [0:a][1:a] concat=v=0:a=1 [a]' -map '[v]' -map '[a]' output.mp4
    ffmpeg version 2.1.4 Copyright (c) 2000-2014 the FFmpeg developers
     built on Mar 22 2014 16:19:43 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.1.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libfdk-aac
     libavutil      52. 48.101 / 52. 48.101
     libavcodec     55. 39.101 / 55. 39.101
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libavresample   1.  1.  0 /  1.  1.  0
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.19.104
     Duration: 00:00:03.05, start: 0.046440, bitrate: 1304 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 1167 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 132 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.19.104
       episode_sort    : 1
       season_number   : 1
       media_type      : 9
       hd_video        : 0
     Duration: 00:00:45.43, start: 0.042667, bitrate: 906 kb/s
       Stream #1:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 1:1 DAR 5:4], 774 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #1:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [libx264 @ 0x7fa9a8828e00] using SAR=1/1
    [libx264 @ 0x7fa9a8828e00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x7fa9a8828e00] profile High, level 3.1
    [libx264 @ 0x7fa9a8828e00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=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_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=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 'output.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.19.104
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x576 [SAR 1:1 DAR 5:4], q=-1--1, 30k tbn, 29.97 tbc (default)
       Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s (default)
    Stream mapping:
     Stream #0:0 (h264) -> scale
     Stream #0:1 (aac) -> concat:in0:a0
     Stream #1:0 (h264) -> scale
     Stream #1:1 (aac) -> concat:in1:a0
     concat -> Stream #0:0 (libx264)
     concat -> Stream #0:1 (libfaac)
    Press [q] to stop, [?] for help
    frame= 1453 fps= 42 q=-1.0 Lsize=    4536kB time=00:00:48.50 bitrate= 766.1kbits/s dup=227 drop=0    
    video:3796kB audio:691kB subtitle:0 global headers:0kB muxing overhead 1.102067%
    [libx264 @ 0x7fa9a8828e00] frame I:31    Avg QP:17.02  size: 14953
    [libx264 @ 0x7fa9a8828e00] frame P:764   Avg QP:24.14  size:  3677
    [libx264 @ 0x7fa9a8828e00] frame B:658   Avg QP:28.17  size:   933
    [libx264 @ 0x7fa9a8828e00] consecutive B-frames: 36.4%  6.2% 10.3% 47.1%
    [libx264 @ 0x7fa9a8828e00] mb I  I16..4: 40.4% 32.3% 27.3%
    [libx264 @ 0x7fa9a8828e00] mb P  I16..4:  6.6%  4.0%  1.1%  P16..4: 25.2%  5.7%  2.3%  0.0%  0.0%    skip:55.0%
    [libx264 @ 0x7fa9a8828e00] mb B  I16..4:  0.8%  0.4%  0.2%  B16..8: 24.5%  1.7%  0.2%  direct: 0.5%  skip:71.6%  L0:50.7% L1:45.5% BI: 3.9%
    [libx264 @ 0x7fa9a8828e00] 8x8 transform intra:33.3% inter:59.0%
    [libx264 @ 0x7fa9a8828e00] coded y,uvDC,uvAC intra: 26.4% 41.2% 8.0% inter: 5.6% 7.9% 0.2%
    [libx264 @ 0x7fa9a8828e00] i16 v,h,dc,p: 46% 29%  8% 17%
    [libx264 @ 0x7fa9a8828e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 19% 28%  3%  3%  4%  3%  4%  3%
    [libx264 @ 0x7fa9a8828e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 22% 13%  4%  6%  7%  5%  5%  3%
    [libx264 @ 0x7fa9a8828e00] i8c dc,h,v,p: 57% 19% 20%  4%
    [libx264 @ 0x7fa9a8828e00] Weighted P-Frames: Y:1.8% UV:1.2%
    [libx264 @ 0x7fa9a8828e00] ref P L0: 73.2%  9.1% 11.7%  5.3%  0.7%
    [libx264 @ 0x7fa9a8828e00] ref B L0: 89.3%  8.9%  1.8%
    [libx264 @ 0x7fa9a8828e00] ref B L1: 95.3%  4.7%
    [libx264 @ 0x7fa9a8828e00] kb/s:641.26
  • Video watermarking with ffmpeg (output video size too big )

    22 janvier 2020, par kartik bansal

    i am running ffmpeg on video of size around 2 Mb and after watermarking them size of my video file is around 13-17 Mb. AM i doing something wrong. Please Help

    My code is

    ffmpeg -i "C:\flask\mobile_form\Videos\20191231140058_987654567.mp4" -i "C:\flask\mobile_form\resizeLogo.jpg" -filter_complex "[0:v][1:v]overlay=10:10,drawtext=text=Hello:fontsize=24:x=main_w-200:y=main_h-100,drawtext=text=World:fontsize=24:x=main_w-200:y=main_h-60" "C:\flask\mobile_form\waterMark\second.mp4"

    This is my full log, It is not giving any error but i want my output file to be smaller.

    ffmpeg version git-2020-01-15-0dc0837 Copyright (c) 2000-2020 the FFmpeg developers
     built with gcc 9.2.1 (GCC) 20200111
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 38.100 / 56. 38.100
     libavcodec     58. 65.103 / 58. 65.103
     libavformat    58. 35.102 / 58. 35.102
     libavdevice    58.  9.103 / 58.  9.103
     libavfilter     7. 71.100 /  7. 71.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100

    Continued

     Metadata:
       encoder         : Chrome
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
       Stream #0:1(eng): Video: vp8, yuv420p(progressive), 640x480, SAR 1:1 DAR 4:3, 1k tbr, 1k tbn, 1k tbc (default)
       Metadata:
         alpha_mode      : 1

     Duration: 00:00:00.04, start: 0.000000, bitrate: 1727 kb/s
       Stream #1:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 255x122 [SAR 120:120 DAR 255:122], 25 tbr, 25 tbn, 25 tbc
    Fontconfig error: Cannot load default config file
    [Parsed_drawtext_1 @ 000001ba5309d4c0] Using "C:/WINDOWS/fonts/mingliub.ttc"
    Fontconfig error: Cannot load default config file
    [Parsed_drawtext_2 @ 000001ba53051640] Using "C:/WINDOWS/fonts/mingliub.ttc"
    Stream mapping:
     Stream #0:1 (vp8) -> overlay:main (graph 0)
     Stream #1:0 (mjpeg) -> overlay:overlay (graph 0)
     drawtext (graph 0) -> Stream #0:0 (libx264)
     Stream #0:0 -> #0:1 (opus (native) -> aac (native))
    Press [q] to stop, [?] for help
    Fontconfig error: Cannot load default config file
    [Parsed_drawtext_1 @ 000001ba53c06280] Using "C:/WINDOWS/fonts/mingliub.ttc"
    Fontconfig error: Cannot load default config file
    [Parsed_drawtext_2 @ 000001ba53c40d40] Using "C:/WINDOWS/fonts/mingliub.ttc"
    [swscaler @ 000001ba53caf380] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 000001ba5304e240] using SAR=1/1
    [libx264 @ 000001ba5304e240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 000001ba5304e240] profile High, level 5.2, 4:2:0, 8-bit
    [libx264 @ 000001ba5304e240] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=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_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=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 'C:\Users\3427521kar\Desktop\New folder (2)\output30.mp4':
     Metadata:
       encoder         : Lavf58.35.102
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 1k fps, 16k tbn, 1k tbc (default)
       Metadata:
         encoder         : Lavc58.65.103 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s (default)
       Metadata:

    [libx264 @ 000001ba5304e240] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 000001ba5304e240] ref P L0: 77.1% 13.5%  8.3%  1.0%  0.0%
    [libx264 @ 000001ba5304e240] ref B L0: 75.0% 24.5%  0.5%
    [libx264 @ 000001ba5304e240] ref B L1: 94.1%  5.9%
    [libx264 @ 000001ba5304e240] kb/s:1380.55
    [aac @ 000001ba53067100] Qavg: 129.494

    here is the full log of my code