Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (86)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (7959)

  • avcodec/adpcm_ima_{apc, ssi, oki} : replace while() with for()

    18 avril 2020, par Zane van Iperen
    avcodec/adpcm_ima_apc, ssi, oki : replace while() with for()
    

    Per discussion at https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260854.html

    Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/adpcm.c
  • ffmpeg overlay timing issue

    22 avril 2020, par Mario Iannotta

    I'm trying to add a png as overlay to a mov video with ffmpeg (version 4.2.2) using the following command :

    &#xA;&#xA;

    ffmpeg -i ./input.mov -i ./overlay.png -y -filter_complex "overlay=enable=&#x27;between(t,1,4)&#x27;" ./output.mp4

    &#xA;&#xA;

    Now my understanding of overlay=enable=&#x27;between(t,1,4) is that the overlay will be added at one second and will be removed at 4 seconds since the begin of the video but the output is somehow different.

    &#xA;&#xA;

    The overlay is added at roughly 2:66 and it is removed at 5:14.

    &#xA;&#xA;

    Trying with different values result in even more confusing outputs.

    &#xA;&#xA;

    eg :

    &#xA;&#xA;

      &#xA;
    • between(t,3,10) —> 3:12 | 11:05

    • &#xA;

    • between(t,2,7) —> 2:65 | 7:22

    • &#xA;

    • between(t,1,2) —> the overlay is not added ad all

    • &#xA;

    &#xA;&#xA;

    The metadata of the input video are the following

    &#xA;&#xA;

      Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2020-04-19T08:09:00.000000Z&#xA;  Duration: 00:00:14.84, start: 0.053333, bitrate: 849 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt709/unknown), 828x1792 [SAR 1:1 DAR 207:448], 848 kb/s, 23.34 fps, 600 tbr, 600 tbn, 1200 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-04-19T08:09:00.000000Z&#xA;      handler_name    : Core Media Video&#xA;      encoder         : H.264&#xA;

    &#xA;&#xA;

    I also tried to convert the video to mp4 (with ffmpeg -i input.mov -vcodec copy -acodec copy out.mp4) before applying the overlay but the issue is still there.

    &#xA;&#xA;

    Edit : I downloaded a test mp4 video and the command is working as expected so it is definitely something wrong with my input video. Any idea what it is ?

    &#xA;&#xA;

    Edit 2 : Here's the output of ffmpeg command :

    &#xA;&#xA;

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack&#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;  libavresample   4.  0.  0 /  4.  0.  0&#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;./input.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2020-04-22T07:49:31.000000Z&#xA;  Duration: 00:00:17.80, start: 0.051667, bitrate: 1097 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/unknown/unknown), 750x1334 [SAR 1:1 DAR 375:667], 1097 kb/s, 12.96 fps, 60 tbr, 600 tbn, 1200 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-04-22T07:49:31.000000Z&#xA;      handler_name    : Core Media Video&#xA;      encoder         : H.264&#xA;Input #1, png_pipe, from &#x27;./overlay.png&#x27;:&#xA;  Duration: N/A, bitrate: N/A&#xA;    Stream #1:0: Video: png, rgba(pc), 83x128, 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 (h264) -> overlay:main&#xA;  Stream #1:0 (png) -> overlay:overlay&#xA;  overlay -> Stream #0:0 (libx264)&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0x7fcad0001200] using SAR=1/1&#xA;[libx264 @ 0x7fcad0001200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 0x7fcad0001200] profile High, level 4.0&#xA;[libx264 @ 0x7fcad0001200] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=18 lookahead_threads=3 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;./output.mp4&#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, 750x1334 [SAR 1:1 DAR 375:667], q=-1--1, 60 fps, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;frame=  326 fps=0.0 q=31.0 size=       0kB time=00:00:04.35 bitrate=   0.1kbits/frame=  499 fps=461 q=31.0 size=     256kB time=00:00:07.23 bitrate= 290.0kbits/frame=  830 fps=494 q=31.0 size=     512kB time=00:00:12.75 bitrate= 329.0kbits/frame=  956 fps=491 q=-1.0 Lsize=     593kB time=00:00:15.88 bitrate= 306.0kbits/s dup=726 drop=0 speed=8.16x&#xA;video:581kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.030694%&#xA;[libx264 @ 0x7fcad0001200] frame I:6     Avg QP:18.73  size: 30783&#xA;[libx264 @ 0x7fcad0001200] frame P:288   Avg QP:21.57  size:  1150&#xA;[libx264 @ 0x7fcad0001200] frame B:662   Avg QP:30.94  size:   119&#xA;[libx264 @ 0x7fcad0001200] consecutive B-frames:  4.9%  6.9%  4.1% 84.1%&#xA;[libx264 @ 0x7fcad0001200] mb I  I16..4: 19.1% 64.5% 16.4%&#xA;[libx264 @ 0x7fcad0001200] mb P  I16..4:  0.8%  0.9%  0.5%  P16..4:  2.4%  0.4%  0.1%  0.0%  0.0%    skip:94.9%&#xA;[libx264 @ 0x7fcad0001200] mb B  I16..4:  0.0%  0.1%  0.0%  B16..8:  1.8%  0.0%  0.0%  direct: 0.0%  skip:98.0%  L0:43.8% L1:55.9% BI: 0.3%&#xA;[libx264 @ 0x7fcad0001200] 8x8 transform intra:53.9% inter:64.1%&#xA;[libx264 @ 0x7fcad0001200] coded y,uvDC,uvAC intra: 18.2% 20.8% 13.9% inter: 0.1% 0.4% 0.1%&#xA;[libx264 @ 0x7fcad0001200] i16 v,h,dc,p: 35% 63%  1%  1%&#xA;[libx264 @ 0x7fcad0001200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 17% 29%  1%  1%  1%  1%  1%  1%&#xA;[libx264 @ 0x7fcad0001200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 32% 15%  3%  4%  4%  3%  3%  3%&#xA;[libx264 @ 0x7fcad0001200] i8c dc,h,v,p: 71% 21%  7%  1%&#xA;[libx264 @ 0x7fcad0001200] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x7fcad0001200] ref P L0: 74.6%  4.0% 13.4%  8.0%&#xA;[libx264 @ 0x7fcad0001200] ref B L0: 80.0% 17.6%  2.3%&#xA;[libx264 @ 0x7fcad0001200] ref B L1: 97.6%  2.4%&#xA;[libx264 @ 0x7fcad0001200] kb/s:298.58&#xA;

    &#xA;

  • FFMpeg Input link in1:v0 parameters (size > 640x352, SAR 0:1) do not match the corresponding output link in0:v0 > parameters [duplicate]

    25 avril 2020, par Android Developer

    I am using below command to concatenate videos-

    &#xA;&#xA;

    String command[] = {"-i",inputFile1AbsolutePath,"-i",inputFile2AbsolutePath .....,"-i",inputFileNAbsolutePath,"-filter_complex","[0:v0] [0:a0] [1:v1] [1:a1]...[N:vN] concat=n=N:v=1:a=1 [v] [a],"-map","[v]","-map","[a]", outputFileAbsolutePath};&#xA;

    &#xA;&#xA;

    and got below error-

    &#xA;&#xA;

    &#xA;

    FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the&#xA; FFmpeg developers&#xA; built with gcc 4.8 (GCC)&#xA; configuration : —target-os=linux&#xA; —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-&#xA; —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot&#xA; —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include&#xA; -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' —extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib&#xA; -Wl,-z,relro -Wl,-z,now -pie' —extra-libs='-lpng -lexpat -lm' —extra-cxxflags=&#xA; libavutil 55. 17.103 / 55. 17.103&#xA; libavcodec 57. 24.102 / 57. 24.102&#xA; libavformat 57. 25.100 / 57. 25.100&#xA; libavdevice 57. 0.101 / 57. 0.101&#xA; libavfilter 6. 31.100 / 6. 31.100&#xA; libswscale 4. 0.100 / 4. 0.100&#xA; libswresample 2. 0.101 / 2. 0.101&#xA; libpostproc 54. 0.100 / 54. 0.100&#xA; Input #0, mov,mp4,m4a,3gp,3g2,mj2, from&#xA; '/storage/emulated/0/Download/g3cm1tt7qtd41.mp4' :&#xA; Metadata :&#xA; major_brand : iso6&#xA; minor_version : 1&#xA; compatible_brands : mp42iso6avc1isom&#xA; creation_time : 2020-01-30 11:13:07&#xA; Duration : 00:00:00.00, start : 0.042667, bitrate : N/A&#xA; Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p,&#xA; 854x480 [SAR 2136:2135 DAR 89:50], 1225 kb/s, 30 fps, 30 tbr, 15360&#xA; tbn, 60 tbc (default)&#xA; Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz,&#xA; stereo, fltp, 128 kb/s (default)&#xA; Input #1, mov,mp4,m4a,3gp,3g2,mj2, from&#xA; '/storage/emulated/0/WhatsApp/Media/WhatsApp&#xA; Video/VID-20200404-WA0000.mp4' :&#xA; Metadata :&#xA; major_brand : mp42&#xA; minor_version : 0&#xA; compatible_brands : mp42isom&#xA; Duration : 00:03:43.14, start : 0.000000, bitrate : 774 kb/s&#xA; Stream #1:0(und) : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p,&#xA; 640x352, 675 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)&#xA; Stream #1:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono,&#xA; fltp, 96 kb/s (default)&#xA; [Parsed_concat_0 @ 0xb4529400] Input link in1:v0 parameters (size&#xA; 640x352, SAR 0:1) do not match the corresponding output link in0:v0&#xA; parameters (854x480, SAR 2136:2135)&#xA; [Parsed_concat_0 @ 0xb4529400] Failed to configure output pad on&#xA; Parsed_concat_0&#xA; Error configuring complex filters.&#xA; Invalid argument

    &#xA;

    &#xA;&#xA;

    Seeing this answer i tried using-

    &#xA;&#xA;

    [0:v]setsar=1[v0]; [0:a0] [1:v]setsar=1[v1]; [1:a1]&#xA;

    &#xA;&#xA;

    but did not worked !

    &#xA;&#xA;

    How can i resolve this ?

    &#xA;