Recherche avancée

Médias (91)

Autres articles (13)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Les thèmes de MediaSpip

    4 juin 2013

    3 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
    Thèmes MediaSPIP
    3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...)

Sur d’autres sites (2388)

  • How to use ffmpeg convert this file,the normal args can't convert it,it just convert one frame

    18 juillet 2017, par ggggle

    The Video Link is here.

    $ffmpeg -i 9.mp4 out.mp4
    ffmpeg version N-86676-g45dbb40cd1-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
     libavutil      55. 67.100 / 55. 67.100
     libavcodec     57.100.102 / 57.100.102
     libavformat    57. 75.100 / 57. 75.100
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 94.100 /  6. 94.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '9.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       artist          : moodyz
       encoder         : Lavf57.75.100
       copyright       : moodyz
     Duration: 00:00:21.02, start: 0.000000, bitrate: 5662 kb/s
       Stream #0:0(jpn): Video: vc1 (Advanced) (vc-1 / 0x312D6376), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 5658 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (vc1 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [libx264 @ 0x3eabba0] using SAR=1/1
    [libx264 @ 0x3eabba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x3eabba0] profile High, level 4.0
    [libx264 @ 0x3eabba0] 264 - core 152 r19 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - 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=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=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:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       artist          : moodyz
       copyright       : moodyz
       encoder         : Lavf57.75.100
       Stream #0:0(jpn): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc57.100.102 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    frame=    1 fps=0.0 q=29.0 Lsize=      33kB time=00:00:00.00 bitrate=8254060.6kbits/s speed=0.000122x    
    video:32kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.640781%
    [libx264 @ 0x3eabba0] frame I:1     Avg QP:23.97  size: 32485
    [libx264 @ 0x3eabba0] mb I  I16..4: 24.7% 72.0%  3.3%
    [libx264 @ 0x3eabba0] 8x8 transform intra:72.0%
    [libx264 @ 0x3eabba0] coded y,uvDC,uvAC intra: 31.5% 51.4% 4.9%
    [libx264 @ 0x3eabba0] i16 v,h,dc,p: 50% 28% 11% 10%
    [libx264 @ 0x3eabba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 58% 19% 17%  1%  1%  1%  1%  1%  1%
    [libx264 @ 0x3eabba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 53% 22%  7%  4%  2%  5%  2%  3%  2%
    [libx264 @ 0x3eabba0] i8c dc,h,v,p: 47% 20% 31%  2%
    [libx264 @ 0x3eabba0] kb/s:7788.61

    As you can see,original video "Duration : 00:00:21.02",but the output file only "Duration 00:00:00.03".And the program exit no error.

    It didn’t convert entire file.

    What args I need to add ?

  • error when converting mts to mp4

    6 janvier 2015, par Chan Kim

    I have many video files that I want to convert to mp4.
    so I installed ffmpeg on my win7 PC (64 bit) which is using shared library.
    I tried to convert an MTS file to MP4 and I get this error.
    What is the problem ?

    $ ffmpeg -i 20140806114251.MTS 20140806114251.mp4
    ffmpeg version N-68788-g37b35fe Copyright (c) 2000-2014 the FFmpeg developers
     built on Dec 30 2014 22:18:55 with gcc 4.9.2 (GCC)
     configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 15.100 / 54. 15.100
     libavcodec     56. 19.100 / 56. 19.100
     libavformat    56. 16.102 / 56. 16.102
     libavdevice    56.  3.100 / 56.  3.100
     libavfilter     5.  6.100 /  5.  6.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mpegts, from '20140806114251.MTS':
     Duration: 00:00:19.04, start: 1.033367, bitrate: 16273 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
       Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
    [libx264 @ 0000000002b60a20] using SAR=1/1
    [libx264 @ 0000000002b60a20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0000000002b60a20] profile High, level 4.0
    [libx264 @ 0000000002b60a20] 264 - core 144 r2525 40bb568 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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
    [libvo_aacenc @ 00000000028a4020] Unable to set encoding parameters
    Output #0, mp4, to '20140806114251.mp4':
       Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 29.97 tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc56.19.100 libx264
       Stream #0:1: Audio: aac, 0 channels, 128 kb/s
       Metadata:
         encoder         : Lavc56.19.100 libvo_aacenc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (ac3 (native) -> aac (libvo_aacenc))
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

    EDIT : I thought I solved this problem by using

    ffmpeg -i filename1.mts filename1.mkv

    my Samsung LED TV supports mkv file and during the conversion, it shows

     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (ac3 (native) -> vorbis (libvorbis))

    But Alas ! my TV doesn’t support vorbis codec. It only supports mp3, ac3, lpcm, and ADPCM when using mkv container. So the question is : How do people select output audio codec ?

  • I got a green overlay in my video when using multiply blend mode in ffmpeg [on hold]

    30 avril 2014, par GJG

    i´m trying to blend two videos with the multiply blend mode. But I got a green overlay in the resulting video.

    This is a image where are one frame of each input video and one frame of the resulting video
    Composition

    I got this script, this is extracted from a part of my code :

    #!/bin/bash
    ffmpeg -y -i video_top.avi -i video_background.mp4 -filter_complex "blend=all_mode=multiply" -f mp4 -vcodec libx264 out.mp4

    This is the ffmpeg output :

    built on Mar 20 2014 14:51:45 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
    configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3
    libavutil      52. 67.100 / 52. 67.100
    libavcodec     55. 52.102 / 55. 52.102
    libavformat    55. 34.101 / 55. 34.101
    libavdevice    55. 11.100 / 55. 11.100
    libavfilter     4.  3.100 /  4.  3.100
    libswscale      2.  5.102 /  2.  5.102
    libswresample   0. 18.100 /  0. 18.100
    libpostproc    52.  3.100 / 52.  3.100
    Input #0, avi, from 'video_top.avi':
    Metadata:
    encoder         : Lavf54.29.104
    Duration: 00:00:10.72, start: 0.000000, bitrate: 688 kb/s
    Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 704x576 [SAR 1:1 DAR 11:9], 682 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'video_background.mp4':
    Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2014-04-29 12:51:17
    Duration: 00:00:08.90, start: 0.033333, bitrate: 3417 kb/s
    Stream #1:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 704x576 [SAR 1:1 DAR 11:9], 3408 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
    Metadata:
     creation_time   : 2014-04-29 12:51:17
     handler_name    : ?Mainconcept Video Media Handler
    [libx264 @ 0x2e42660] using SAR=1/1
    [libx264 @ 0x2e42660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x2e42660] profile High, level 3.0
    [libx264 @ 0x2e42660] 264 - core 142 r2 d6b4e63 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=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         : Lavf55.34.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 704x576 [SAR 1:1 DAR 11:9], q=-1--1, 12800 tbn, 25 tbc (default)
    Stream mapping:
    Stream #0:0 (h264) -> blend:top
    Stream #1:0 (h264) -> blend:bottom
    blend -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    frame=  268 fps=121 q=-1.0 Lsize=     732kB time=00:00:10.64 bitrate= 563.2kbits/s
    video:728kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.539149%
    [libx264 @ 0x2e42660] frame I:2     Avg QP:17.96  size: 35789
    [libx264 @ 0x2e42660] frame P:77    Avg QP:21.68  size:  5552
    [libx264 @ 0x2e42660] frame B:189   Avg QP:24.79  size:  1298
    [libx264 @ 0x2e42660] consecutive B-frames:  1.1% 11.2% 10.1% 77.6%
    [libx264 @ 0x2e42660] mb I  I16..4: 30.7% 36.5% 32.7%
    [libx264 @ 0x2e42660] mb P  I16..4:  3.0%  2.6%  0.4%  P16..4: 41.3% 14.4%  6.6%  0.0%  0.0%    skip:31.7%
    [libx264 @ 0x2e42660] mb B  I16..4:  0.2%  0.1%  0.0%  B16..8: 43.8%  2.8%  0.3%  direct: 0.2%  skip:52.5%  L0:42.2% L1:56.1% BI: 1.7%
    [libx264 @ 0x2e42660] 8x8 transform intra:40.7% inter:79.1%
    [libx264 @ 0x2e42660] coded y,uvDC,uvAC intra: 48.9% 29.0% 8.3% inter: 7.1% 4.5% 0.1%
    [libx264 @ 0x2e42660] i16 v,h,dc,p: 23% 19% 33% 26%
    [libx264 @ 0x2e42660] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 15% 45%  3%  3%  3%  5%  3%  6%
    [libx264 @ 0x2e42660] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 23% 19%  4%  3%  3%  7%  2%  7%
    [libx264 @ 0x2e42660] i8c dc,h,v,p: 67% 15% 16%  1%
    [libx264 @ 0x2e42660] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x2e42660] ref P L0: 67.4% 10.1% 17.0%  5.6%
    [libx264 @ 0x2e42660] ref B L0: 91.6%  7.3%  1.1%
    [libx264 @ 0x2e42660] ref B L1: 94.9%  5.1%
    [libx264 @ 0x2e42660] kb/s:555.48

    I don’t know what is wrong, and using others blend modes got others ridiculous results, like having a pink overlay in the video.

    Suggestions will be well appreciated, thanks very much.