Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (19)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4398)

  • Dropped frames in ffmpeg when adding an overlay

    31 janvier 2016, par Juanan

    I’m trying to add a white overlay box using ffmpeg to an mp4 file downloaded from YouTube. I know the syntax and it is working OK with small videos, but I’m struggling to get it to work in a longer one. This is the exact command :

    ffmpeg -i intro.mp4 -strict -2 -vf "color=white:200x50 [over]; [in][over] overlay=250:320:enable=between(t\,0\,52) [out]" out.mp4

    Initially, it works like a charm :

    $ ffmpeg -i intro.mp4 -preset slow -strict -2 -vf "color=white:200x50 [over]; [in][over] overlay=250:320:enable=between(t\,0\,52) [out]" -t 60 out.mp4
    ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
     built on Mar 26 2015 23:00:53 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 13.100 / 56. 13.100
     libavformat    56. 15.102 / 56. 15.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  2.103 /  5.  2.103
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2014-01-30 16:48:50
     Duration: 00:13:30.70, start: 0.000000, bitrate: 692 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 497 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
       Metadata:
         creation_time   : 2014-01-30 16:48:54
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    File 'out.mp4' already exists. Overwrite ? [y/N] y
    [libx264 @ 0x7fa8cb82fa00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
    [libx264 @ 0x7fa8cb82fa00] profile High, level 3.1
    [libx264 @ 0x7fa8cb82fa00] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 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=3 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=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 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:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf56.15.102
       Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc56.13.100 libx264
       Stream #0:1(und): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s (default)
       Metadata:
         creation_time   : 2014-01-30 16:48:54
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
         encoder         : Lavc56.13.100 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame= 1500 fps= 47 q=-1.0 Lsize=    2518kB time=00:01:00.00 bitrate= 343.8kbits/s

    But after some time, that command starts yelling dropped frames :

    frame=20269 fps= 21 q=-1.0 Lsize=   23283kB time=00:13:30.70 bitrate= 235.3kbits/s dup=0 drop=548431

    and it never ends. Any clue ?

  • FFMPEG : create movie from timestamped images

    28 mai 2017, par HyperDevil

    Im trying to make a small movie file from a folder with webcam images.

    They are named like this :
    00-00-38.jpg
    00-05-37.jpg
    00-10-37.jpg
    00-15-37.jpg

    H-M-S.jpg format

    Although i tried patterntype glob and simpler commands i cannot get it to work.

    This is what i tried :

    ffmpeg -r 1 -pattern_type glob -i '*.jpg' -scale=720:-1 -c:v libx264 out.mp4
    (got only one image)
    ffmpeg -r 25 -i *.jpg -vf "scale=720:-1" output.mp4
    (same size as a jpg file but no video)

    Console output :

    ffmpeg -framerate 1 -pattern_type glob -i "*.jpg" -vf scale=720:-1 -c:v libx264 -pix_fmt yuv420p out.mp4
       ffmpeg version 1.0.10 Copyright (c) 2000-2014 the FFmpeg developers  built on Jul 25 2014 07:50:40 with gcc 4.7 (Debian 4.7.2-5)
         configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security '
       --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
       --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-li
       bopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --
       enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --
       enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64
       -linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enabl
       e-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --dis
         libavutil      51. 73.101 / 51. 73.101
         libavcodec     54. 59.100 / 54. 59.100
         libavformat    54. 29.104 / 54. 29.104
         libavdevice    54.  2.101 / 54.  2.101
         libavfilter     3. 17.100 /  3. 17.100
         libswscale      2.  1.101 /  2.  1.101
         libswresample   0. 15.100 /  0. 15.100
         libpostproc    52.  0.100 / 52.  0.100
       [image2 @ 0x1d53f00] max_analyze_duration 5000000 reached at 5000000
       Input #0, image2, from '*.jpg':
         Duration: 00:04:48.00, start: 0.000000, bitrate: N/A
           Stream #0:0: Video: mjpeg, yuvj420p, 800x593 [SAR 96:96 DAR 800:593], 1 fps, 1 tbr, 1 tbn, 1 tbc
       [libx264 @ 0x1d35bc0] using SAR=1780/1779
       [libx264 @ 0x1d35bc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 SSEMisalign LZCNT BMI1
       [libx264 @ 0x1d35bc0] profile High, level 2.2
       [libx264 @ 0x1d35bc0] 264 - core 132 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:  ca
       bac=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 8x8dc
       t=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 key
       int_min=1 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         : Lavf54.29.104
           Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x534 [SAR 1780:1779 DAR 800:593], q=-1--1, 1 tbn, 1 tbc
       Stream mapping:
         Stream #0:0 -> #0:0 (mjpeg -> libx264)
       Press [q] to stop, [?] for help
       frame=  288 fps=145 q=32763.0 Lsize=     349kB time=00:04:46.00 bitrate=  10.0kbits/s
       video:345kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.208469%
       [libx264 @ 0x1d35bc0] frame I:2     Avg QP: 2.80  size:130328
       [libx264 @ 0x1d35bc0] frame P:73    Avg QP: 4.70  size:  1167
       [libx264 @ 0x1d35bc0] frame B:213   Avg QP:17.33  size:    30
       [libx264 @ 0x1d35bc0] consecutive B-frames:  1.4%  0.0%  0.0% 98.6%
       [libx264 @ 0x1d35bc0] mb I  I16..4: 20.2% 24.9% 55.0%
       [libx264 @ 0x1d35bc0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  4.3%  0.1%  0.2%  0.0%  0.0%    skip:95.5%
       [libx264 @ 0x1d35bc0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.8%  0.0%  0.0%  direct: 0.0%  skip:99.2%  L0: 5.4% L1:94.5% BI: 0.0
       %
       [libx264 @ 0x1d35bc0] 8x8 transform intra:24.9% inter:51.5%
       [libx264 @ 0x1d35bc0] coded y,uvDC,uvAC intra: 99.4% 0.0% 0.0% inter: 0.6% 0.0% 0.0%
       [libx264 @ 0x1d35bc0] i16 v,h,dc,p:  5% 19% 52% 25%
       [libx264 @ 0x1d35bc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 28% 21%  4%  6%  4%  8%  5% 15%
       [libx264 @ 0x1d35bc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 27% 13%  6%  8%  5%  9%  6% 12%
       [libx264 @ 0x1d35bc0] i8c dc,h,v,p: 100%  0%  0%  0%
       [libx264 @ 0x1d35bc0] Weighted P-Frames: Y:0.0% UV:0.0%
       [libx264 @ 0x1d35bc0] ref P L0: 98.1%  0.0%  1.7%  0.2%
       [libx264 @ 0x1d35bc0] ref B L0: 52.0% 48.0%
       [libx264 @ 0x1d35bc0] ref B L1: 73.0% 27.0%
       [libx264 @ 0x1d35bc0] kb/s:9.78

    The video is 364KB without any video.

  • FFMPEG : create movie from timestamped images

    26 août 2015, par HyperDevil

    Im trying to make a small movie file from a folder with webcam images.

    They are named like this :
    00-00-38.jpg
    00-05-37.jpg
    00-10-37.jpg
    00-15-37.jpg

    H-M-S.jpg format

    Although i tried patterntype glob and simpler commands i cannot get it to work.

    This is what i tried :

    ffmpeg -r 1 -pattern_type glob -i '*.jpg' -scale=720:-1 -c:v libx264 out.mp4
    (got only one image)
    ffmpeg -r 25 -i *.jpg -vf "scale=720:-1" output.mp4
    (same size as a jpg file but no video)

    Console output :

    ffmpeg -framerate 1 -pattern_type glob -i "*.jpg" -vf scale=720:-1 -c:v libx264 -pix_fmt yuv420p out.mp4
       ffmpeg version 1.0.10 Copyright (c) 2000-2014 the FFmpeg developers  built on Jul 25 2014 07:50:40 with gcc 4.7 (Debian 4.7.2-5)
         configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security '
       --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis
       --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-li
       bopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --
       enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --
       enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64
       -linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enabl
       e-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --dis
         libavutil      51. 73.101 / 51. 73.101
         libavcodec     54. 59.100 / 54. 59.100
         libavformat    54. 29.104 / 54. 29.104
         libavdevice    54.  2.101 / 54.  2.101
         libavfilter     3. 17.100 /  3. 17.100
         libswscale      2.  1.101 /  2.  1.101
         libswresample   0. 15.100 /  0. 15.100
         libpostproc    52.  0.100 / 52.  0.100
       [image2 @ 0x1d53f00] max_analyze_duration 5000000 reached at 5000000
       Input #0, image2, from '*.jpg':
         Duration: 00:04:48.00, start: 0.000000, bitrate: N/A
           Stream #0:0: Video: mjpeg, yuvj420p, 800x593 [SAR 96:96 DAR 800:593], 1 fps, 1 tbr, 1 tbn, 1 tbc
       [libx264 @ 0x1d35bc0] using SAR=1780/1779
       [libx264 @ 0x1d35bc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 SSEMisalign LZCNT BMI1
       [libx264 @ 0x1d35bc0] profile High, level 2.2
       [libx264 @ 0x1d35bc0] 264 - core 132 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:  ca
       bac=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 8x8dc
       t=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 key
       int_min=1 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         : Lavf54.29.104
           Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x534 [SAR 1780:1779 DAR 800:593], q=-1--1, 1 tbn, 1 tbc
       Stream mapping:
         Stream #0:0 -> #0:0 (mjpeg -> libx264)
       Press [q] to stop, [?] for help
       frame=  288 fps=145 q=32763.0 Lsize=     349kB time=00:04:46.00 bitrate=  10.0kbits/s
       video:345kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.208469%
       [libx264 @ 0x1d35bc0] frame I:2     Avg QP: 2.80  size:130328
       [libx264 @ 0x1d35bc0] frame P:73    Avg QP: 4.70  size:  1167
       [libx264 @ 0x1d35bc0] frame B:213   Avg QP:17.33  size:    30
       [libx264 @ 0x1d35bc0] consecutive B-frames:  1.4%  0.0%  0.0% 98.6%
       [libx264 @ 0x1d35bc0] mb I  I16..4: 20.2% 24.9% 55.0%
       [libx264 @ 0x1d35bc0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  4.3%  0.1%  0.2%  0.0%  0.0%    skip:95.5%
       [libx264 @ 0x1d35bc0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.8%  0.0%  0.0%  direct: 0.0%  skip:99.2%  L0: 5.4% L1:94.5% BI: 0.0
       %
       [libx264 @ 0x1d35bc0] 8x8 transform intra:24.9% inter:51.5%
       [libx264 @ 0x1d35bc0] coded y,uvDC,uvAC intra: 99.4% 0.0% 0.0% inter: 0.6% 0.0% 0.0%
       [libx264 @ 0x1d35bc0] i16 v,h,dc,p:  5% 19% 52% 25%
       [libx264 @ 0x1d35bc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 28% 21%  4%  6%  4%  8%  5% 15%
       [libx264 @ 0x1d35bc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 27% 13%  6%  8%  5%  9%  6% 12%
       [libx264 @ 0x1d35bc0] i8c dc,h,v,p: 100%  0%  0%  0%
       [libx264 @ 0x1d35bc0] Weighted P-Frames: Y:0.0% UV:0.0%
       [libx264 @ 0x1d35bc0] ref P L0: 98.1%  0.0%  1.7%  0.2%
       [libx264 @ 0x1d35bc0] ref B L0: 52.0% 48.0%
       [libx264 @ 0x1d35bc0] ref B L1: 73.0% 27.0%
       [libx264 @ 0x1d35bc0] kb/s:9.78

    The video is 364KB without any video.