Recherche avancée

Médias (0)

Mot : - Tags -/navigation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (12093)

  • Remove Rotate metadata from mp4

    2 avril 2014, par mbajur

    I'm trying to remove or modify a rotate param from my mp4 file using ffmpeg. Based on some google results, i've ended up with such command (i've tried a few more but none of them worked) :

    $ ffmpeg -i ./source.mp4 -metadata rotate=0 ./output.mp4

    But it's not working at all. The rotate=270 metadata param is still there in the output file. Can you please advise me on how it should be done ?

    I'm using

    ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec  9 2013 20:00:03 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid

    Output :

    ffmpeg version 1.2.4 Copyright (c) 2000-2013 the FFmpeg developers
     built on Dec  9 2013 20:00:03 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/michal/Downloads/mp4_c8ffe9a587b126f152ed3d89a146b445.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf54.63.104
     Duration: 00:00:13.80, start: 0.021333, bitrate: 437 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 313 kb/s, 7.50 fps, 7.50 tbr, 15360 tbn, 15 tbc
       Metadata:
         rotate          : 270
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 134 kb/s
       Metadata:
         handler_name    : SoundHandler
    File '/Users/michal/Desktop/mp4.mp4' already exists. Overwrite ? [y/N] y
    using SAR=1/1
    [libx264 @ 0x7fb17b01ec00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x7fb17b01ec00] profile High, level 2.2
    [libx264 @ 0x7fb17b01ec00] 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=7 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 '/Users/michal/Desktop/mp4.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       rotate          : 0
       encoder         : Lavf54.63.104
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 15360 tbn, 7.50 tbc
       Metadata:
         rotate          : 270
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
       Metadata:
         handler_name    : SoundHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libfaac)
    Press [q] to stop, [?] for help
    frame=   99 fps= 39 q=32766.0 Lsize=     730kB time=00:00:13.80 bitrate= 433.1kbits/s    
    video:497kB audio:226kB subtitle:0 global headers:0kB muxing overhead 0.821272%
    [libx264 @ 0x7fb17b01ec00] frame I:8     Avg QP:14.85  size: 11183
    [libx264 @ 0x7fb17b01ec00] frame P:68    Avg QP:17.68  size:  5348
    [libx264 @ 0x7fb17b01ec00] frame B:23    Avg QP:18.26  size:  2419
    [libx264 @ 0x7fb17b01ec00] consecutive B-frames: 53.5% 46.5%  0.0%  0.0%
    [libx264 @ 0x7fb17b01ec00] mb I  I16..4: 31.9% 55.9% 12.1%
    [libx264 @ 0x7fb17b01ec00] mb P  I16..4:  8.2%  9.1%  0.3%  P16..4: 54.3% 13.0%  7.6%  0.0%  0.0%    skip: 7.4%
    [libx264 @ 0x7fb17b01ec00] mb B  I16..4:  0.2%  0.2%  0.0%  B16..8: 49.9%  4.0%  0.3%  direct: 8.6%  skip:36.8%  L0:45.5% L1:50.9% BI: 3.6%
    [libx264 @ 0x7fb17b01ec00] 8x8 transform intra:53.3% inter:90.4%
    [libx264 @ 0x7fb17b01ec00] coded y,uvDC,uvAC intra: 41.7% 90.1% 55.3% inter: 23.9% 56.7% 7.1%
    [libx264 @ 0x7fb17b01ec00] i16 v,h,dc,p: 12% 20% 10% 59%
    [libx264 @ 0x7fb17b01ec00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 20% 28%  8%  8%  4%  8%  5%  5%
    [libx264 @ 0x7fb17b01ec00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 18%  6% 11%  5%  8%  3%  3%
    [libx264 @ 0x7fb17b01ec00] i8c dc,h,v,p: 57% 22% 18%  4%
    [libx264 @ 0x7fb17b01ec00] Weighted P-Frames: Y:5.9% UV:0.0%
    [libx264 @ 0x7fb17b01ec00] ref P L0: 61.2%  2.2% 23.5% 12.5%  0.6%
    [libx264 @ 0x7fb17b01ec00] ref B L0: 74.2% 25.8%
    [libx264 @ 0x7fb17b01ec00] kb/s:308.34
  • Error in converting raw yuv video into mp4

    8 décembre 2020, par neetu sigger

    I am trying to convert raw yuv video into mp4 using ffmpeg.

    


    ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -i Beauty_3840x2160_120fps_420_10bit_YUV.yuv -c:v libx264 -preset slow -qp 0 bb/output.mp4


    


    I got an error in video.

    


    ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 25 -pix_fmt yuv420p -i Beauty_3840x2160_120fps_420_10bit_YUV.yuv -c:v libx264 -preset slow -qp 0 bb/output.mp4
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[rawvideo @ 0x7fffe7e28440] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'Beauty_3840x2160_120fps_420_10bit_YUV.yuv':
  Duration: 00:03:12.00, start: 0.000000, bitrate: 622080 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 622080 kb/s, 25 tbr, 25 tbn, 25 tbc
File 'bb/output.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x7fffe7e35c00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fffe7e35c00] profile High 4:4:4 Predictive, level 5.0, 4:2:0 8-bit
[libx264 @ 0x7fffe7e35c00] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=8 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to 'bb/output.mp4':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080, q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.54.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 4800 fps= 16 q=-1.0 Lsize=11907234kB time=00:03:11.96 bitrate=508147.7kbits/s speed=0.646x
video:11907177kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000485%
[libx264 @ 0x7fffe7e35c00] frame I:2789  Avg QP: 0.00  size:2638070
[libx264 @ 0x7fffe7e35c00] frame P:2011  Avg QP: 0.00  size:2404461
[libx264 @ 0x7fffe7e35c00] mb I  I16..4..PCM: 28.0%  0.0% 67.1%  4.9%
[libx264 @ 0x7fffe7e35c00] mb P  I16..4..PCM:  5.6%  0.0%  6.2%  0.6%  P16..4: 52.9% 23.9% 10.8%  0.0%  0.0%    skip: 0.0%
[libx264 @ 0x7fffe7e35c00] 8x8 transform intra:0.0% inter:9.6%
[libx264 @ 0x7fffe7e35c00] coded y,uvDC,uvAC intra: 99.4% 100.0% 100.0% inter: 100.0% 100.0% 100.0%
[libx264 @ 0x7fffe7e35c00] i16 v,h,dc,p: 89%  0%  1% 10%
[libx264 @ 0x7fffe7e35c00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 65%  0%  0%  0%  0%  0%  0%  0% 35%
[libx264 @ 0x7fffe7e35c00] i8c dc,h,v,p:  1%  0% 94%  4%
[libx264 @ 0x7fffe7e35c00] Weighted P-Frames: Y:31.1% UV:29.3%
[libx264 @ 0x7fffe7e35c00] ref P L0: 21.3% 16.1% 27.4% 14.4% 11.7%  5.5%  3.6%


    


    I am getting the green video.

    


    enter image description here

    


  • FFMPEG sepia filter

    28 juin 2018, par Alex Konetchy

    Can’t seem to figure out why my colorchannelmixer filter is not working with ffmpeg. It doesn’t appear to output any errors, but the ouput.mp4 video is just a 0 second long video with no thumbnail.

    Here’s the command I’m trying.

    ffmpeg -i video.mp4 -filter_complex \
    "[0:v] colorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131[f1];\
    [f1] eq=1.0:0:1.3:2.4:1.0:1.0:1.0:1.0 [outv]" -map "[outv]" output.mp4

    And the output I receive.

    ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
         built with gcc 5.2.0 (GCC)
         configuration: --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-libdcadec --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. 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
         libswscale      3.  1.101 /  3.  1.101
         libswresample   1.  2.101 /  1.  2.101
         libpostproc    53.  3.100 / 53.  3.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
         Metadata:
           major_brand     : mp42
           minor_version   : 1
           compatible_brands: mp41mp42isom
           creation_time   : 2017-04-18 20:22:52
         Duration: 00:00:59.20, start: 0.000000, bitrate: 5045 kb/s
           Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 2 kb/s (default)
           Metadata:
             creation_time   : 2017-04-18 20:22:52
             handler_name    : Core Media Audio
           Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5038 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
           Metadata:
             creation_time   : 2017-04-18 20:22:52
             handler_name    : Core Media Video
       File 'output.mp4' already exists. Overwrite ? [y/N] y
       No pixel format specified, yuv444p for H.264 encoding chosen.
       Use -pix_fmt yuv420p for compatibility with outdated media players.
       [libx264 @ 04f1b8e0] using SAR=1/1
       [libx264 @ 04f1b8e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
       [libx264 @ 04f1b8e0] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
       [libx264 @ 04f1b8e0] 264 - core 148 r2638 7599210 - 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=4 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     : mp42
           minor_version   : 1
           compatible_brands: mp41mp42isom
           encoder         : Lavf56.40.101
           Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
           Metadata:
             encoder         : Lavc56.60.100 libx264
       Stream mapping:
         Stream #0:1 (h264) -> colorchannelmixer
         eq -> Stream #0:0 (libx264)
       Press [q] to stop, [?] for help
       frame=   50 fps=4.7 q=-1.0 Lsize=     281kB time=00:00:01.92 bitrate=1197.3kbits/s
       video:279kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.502929%
       [libx264 @ 04f1b8e0] frame I:1     Avg QP:19.00  size: 51169
       [libx264 @ 04f1b8e0] frame P:13    Avg QP:20.60  size: 10882
       [libx264 @ 04f1b8e0] frame B:36    Avg QP:23.29  size:  2572
       [libx264 @ 04f1b8e0] consecutive B-frames:  2.0%  4.0%  6.0% 88.0%
       [libx264 @ 04f1b8e0] mb I  I16..4: 25.5% 63.4% 11.1%
       [libx264 @ 04f1b8e0] mb P  I16..4:  2.7%  2.8%  0.2%  P16..4: 22.7%  5.4%  2.7%  0.0%  0.0%    skip:63.5%
       [libx264 @ 04f1b8e0] mb B  I16..4:  0.3%  0.5%  0.0%  B16..8: 17.2%  0.7%  0.0%  direct: 0.1%  skip:81.1%  L0:43.6% L1:55.1% BI: 1.4%
       [libx264 @ 04f1b8e0] 8x8 transform intra:58.3% inter:91.1%
       [libx264 @ 04f1b8e0] coded y,u,v intra: 25.2% 10.1% 12.0% inter: 2.7% 0.5% 0.6%
       [libx264 @ 04f1b8e0] i16 v,h,dc,p: 44% 36% 13%  8%
       [libx264 @ 04f1b8e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 20% 42%  3%  2%  2%  4%  3%  3%
       [libx264 @ 04f1b8e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 26% 12%  4%  6%  6%  9%  5%  3%
       [libx264 @ 04f1b8e0] Weighted P-Frames: Y:0.0% UV:0.0%
       [libx264 @ 04f1b8e0] ref P L0: 61.3%  6.1% 22.1% 10.5%
       [libx264 @ 04f1b8e0] ref B L0: 78.5% 16.8%  4.6%
       [libx264 @ 04f1b8e0] ref B L1: 94.9%  5.1%
       [libx264 @ 04f1b8e0] kb/s:1140.95