Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (102)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (12273)

  • avcodec/aacenc : Avoid 0 lambda

    28 mai 2021, par Michael Niedermayer
    avcodec/aacenc : Avoid 0 lambda
    

    Fixes : Ticket8003
    Fixes : CVE-2020-20453

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/aacenc.c
  • FFPMEG Adding Watermark Is Producing An Error

    19 janvier 2021, par Glen Elkins

    I have an mp4 video and i'm using FFMPEG on command line in php to add an image to the bottom right corner as watermark :

    &#xA;

    shell_exec(&#x27;ffmpeg -y -i &#x27; . $videoPath . &#x27; -i &#x27; . $path . &#x27; -filter_complex "overlay=x=(main_w-&#x27; . $logoWidth . &#x27;)-10:y=(main_h-&#x27; . $logoHeight . &#x27;)-10" &#x27; . $videoPath);&#xA;

    &#xA;

    It overwrites the original video with the new one. The logo is added to the video but the video ends up being 0 seconds long (originally 1 minute) and i see this error when the command is run :

    &#xA;

    &#xA;

    [h264 @ 0x134e540] Invalid NAL unit size (20328 > 14044). [h264 @&#xA;0x134e540] Error splitting the input into NAL units. Error while&#xA;decoding stream #0:0 : Invalid data found when processing input

    &#xA;

    &#xA;

    I have absolutely no idea what this means. Here is the entire output of the command :

    &#xA;

    ffmpeg version 3.4.8 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic&#x27; --extra-ldflags=&#x27;-Wl,-z,relro &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/var/www/uploads/61d134cd2e3118b7cc81c5f8883e7bea_1611055207.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2020-07-20T07:47:30.000000Z&#xA;  Duration: 00:01:04.25, start: 0.000000, bitrate: 743 kb/s&#xA;    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 612 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-07-20T07:47:30.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 07/20/2020.&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-07-20T07:47:30.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 07/20/2020.&#xA;Input #1, image2, from &#x27;/var/www/public/assets/images/new-logo-watermark.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 3488 kb/s&#xA;    Stream #1:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 300x76, 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> overlay:main (graph 0)&#xA;  Stream #1:0 (mjpeg) -> overlay:overlay (graph 0)&#xA;  overlay (graph 0) -> Stream #0:0 (libx264)&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x1583440] deprecated pixel format used, make sure you did set range correctly&#xA;[libx264 @ 0xf2d5e0] using SAR=1/1&#xA;[libx264 @ 0xf2d5e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX LZCNT&#xA;[libx264 @ 0xf2d5e0] profile High, level 3.1&#xA;[libx264 @ 0xf2d5e0] 264 - core 148 r2795 aaa9aa8 - 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=1 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&#xA;Output #0, mp4, to &#x27;/var/www/uploads/61d134cd2e3118b7cc81c5f8883e7bea_1611055207.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    encoder         : Lavf57.83.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-07-20T07:47:30.000000Z&#xA;      handler_name    : ISO Media file produced by Google Inc. Created on: 07/20/2020.&#xA;      encoder         : Lavc57.107.100 aac&#xA;[h264 @ 0xe71540] Invalid NAL unit size (20328 > 14044).&#xA;[h264 @ 0xe71540] Error splitting the input into NAL units.&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;frame=   18 fps=0.0 q=28.0 Lsize=      18kB time=00:00:00.60 bitrate= 251.5kbits/s speed=2.43x    &#xA;video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.239533%&#xA;[libx264 @ 0xf2d5e0] frame I:1     Avg QP:10.60  size: 10740&#xA;[libx264 @ 0xf2d5e0] frame P:5     Avg QP:19.21  size:   495&#xA;[libx264 @ 0xf2d5e0] frame B:12    Avg QP:13.68  size:   242&#xA;[libx264 @ 0xf2d5e0] consecutive B-frames: 11.1%  0.0%  0.0% 88.9%&#xA;[libx264 @ 0xf2d5e0] mb I  I16..4: 92.7%  1.8%  5.5%&#xA;[libx264 @ 0xf2d5e0] mb P  I16..4:  0.5%  2.9%  0.2%  P16..4:  0.3%  0.1%  0.0%  0.0%  0.0%    skip:96.0%&#xA;[libx264 @ 0xf2d5e0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.0%  0.0%  direct: 1.3%  skip:98.4%  L0:88.8% L1:11.2% BI: 0.0%&#xA;[libx264 @ 0xf2d5e0] 8x8 transform intra:13.8% inter:41.4%&#xA;[libx264 @ 0xf2d5e0] coded y,uvDC,uvAC intra: 4.9% 8.5% 6.0% inter: 0.0% 1.1% 0.4%&#xA;[libx264 @ 0xf2d5e0] i16 v,h,dc,p: 95%  3%  3%  0%&#xA;[libx264 @ 0xf2d5e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26%  2% 69%  0%  1%  1%  0%  1%  0%&#xA;[libx264 @ 0xf2d5e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 17% 20%  5%  4%  4%  4%  2%  3%&#xA;[libx264 @ 0xf2d5e0] i8c dc,h,v,p: 88%  3%  9%  0%&#xA;[libx264 @ 0xf2d5e0] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0xf2d5e0] ref P L0: 91.2%  7.3%  1.5%&#xA;[libx264 @ 0xf2d5e0] ref B L0: 95.6%  4.4%&#xA;[libx264 @ 0xf2d5e0] kb/s:179.10&#xA;[aac @ 0xf2ea80] Qavg: 65536.000&#xA;

    &#xA;

  • How do I fade out the edge of a video with ffmpeg ?

    11 décembre 2020, par Jared

    I have a transparent .mov and I want to "fade out" only one edge of the video into transparency using ffmpeg.

    &#xA;

    My video is transparent 1000x1000 (black is transparent) :

    &#xA;&#xA;

    I am trying this command :

    &#xA;

     ffmpeg -i movie.mov -b:v 700K -filter_complex "[0]split[v0][v1];[v0]format=yuva420p,geq=r=0:g=0:b=0:a=255*(Y/H),scale=w=1*iw:h=200[fg];[v1][fg]overlay=0:800:shortest=1" converted.mov&#xA;

    &#xA;

    This half works as the image has the gradient fade out but loses all transparency :

    &#xA;&#xA;

    What am I doing wrong ?

    &#xA;

    Full output log of command :

    &#xA;

    ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200523&#xA;  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-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;movie_014.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2020-12-10T04:36:09.000000Z&#xA;  Duration: 00:00:10.03, start: 0.000000, bitrate: 142307 kb/s&#xA;    Stream #0:0(und): Video: prores (XQ) (ap4x / 0x78347061), yuva444p12le(tv, bt709, progressive), 1000x1000, 142222 kb/s, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 30k tbn, 30k tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-12-10T04:36:09.000000Z&#xA;      handler_name    : Core Media Video&#xA;      encoder         : Apple ProRes 4444 XQ&#xA;File &#x27;converted.mov&#x27; already exists. Overwrite ? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 (prores) -> split&#xA;  overlay -> Stream #0:0 (libx264)&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0000019691457fc0] No accelerated colorspace conversion found from yuva420p to gbrap.&#xA;[libx264 @ 000001968c30f5c0] using SAR=1/1&#xA;[libx264 @ 000001968c30f5c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 000001968c30f5c0] profile High, level 3.2, 4:2:0, 8-bit&#xA;[libx264 @ 000001968c30f5c0] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=abr mbtree=1 bitrate=700 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mov, to &#x27;converted.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1000x1000 [SAR 1:1 DAR 1:1], q=-1--1, 700 kb/s, 30 fps, 15360 tbn, 30 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/700000 buffer size: 0 vbv_delay: -1&#xA;frame=  301 fps= 22 q=-1.0 Lsize=     843kB time=00:00:09.93 bitrate= 695.3kbits/s speed=0.716x&#xA;video:839kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.515537%&#xA;[libx264 @ 000001968c30f5c0] frame I:2     Avg QP:24.02  size: 22224&#xA;[libx264 @ 000001968c30f5c0] frame P:76    Avg QP:24.00  size:  6595&#xA;[libx264 @ 000001968c30f5c0] frame B:223   Avg QP:27.38  size:  1402&#xA;[libx264 @ 000001968c30f5c0] consecutive B-frames:  1.0%  0.7%  0.0% 98.3%&#xA;[libx264 @ 000001968c30f5c0] mb I  I16..4: 36.6% 56.1%  7.4%&#xA;[libx264 @ 000001968c30f5c0] mb P  I16..4:  0.5%  1.4%  0.2%  P16..4: 16.0%  7.4%  3.6%  0.0%  0.0%    skip:70.9%&#xA;[libx264 @ 000001968c30f5c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 18.7%  1.3%  0.1%  direct: 0.1%  skip:79.7%  L0:39.1% L1:58.3% BI: 2.6%&#xA;[libx264 @ 000001968c30f5c0] final ratefactor: 24.27&#xA;[libx264 @ 000001968c30f5c0] 8x8 transform intra:60.1% inter:78.0%&#xA;[libx264 @ 000001968c30f5c0] coded y,uvDC,uvAC intra: 30.9% 22.8% 8.2% inter: 3.7% 1.7% 0.0%&#xA;[libx264 @ 000001968c30f5c0] i16 v,h,dc,p: 65% 24%  4%  7%&#xA;[libx264 @ 000001968c30f5c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 36%  4%  6%  7%  4%  5%  4%&#xA;[libx264 @ 000001968c30f5c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 12% 23%  7%  9%  8%  6%  8%  5%&#xA;[libx264 @ 000001968c30f5c0] i8c dc,h,v,p: 79% 10%  9%  2%&#xA;[libx264 @ 000001968c30f5c0] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 000001968c30f5c0] ref P L0: 66.4% 21.6%  9.5%  2.6%&#xA;[libx264 @ 000001968c30f5c0] ref B L0: 92.1%  6.8%  1.1%&#xA;[libx264 @ 000001968c30f5c0] ref B L1: 97.6%  2.4%&#xA;[libx264 @ 000001968c30f5c0] kb/s:684.29&#xA;

    &#xA;