Recherche avancée

Médias (91)

Autres articles (73)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (11165)

  • avcodec/x86/videodsp : Small speedups in ff_emulated_edge_mc x86 SIMD.

    26 octobre 2013, par Ronald S. Bultje
    avcodec/x86/videodsp : Small speedups in ff_emulated_edge_mc x86 SIMD.
    

    Don’t use word-size multiplications if size == 2, and if we’re using
    SIMD instructions (size >= 8), complete leftover 4byte sets using movd,
    not mov. Both of these changes lead to minor speedups.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/x86/videodsp.asm
  • FFMPEG 'Fontconfig error : Cannot load default config file' error Windows

    30 décembre 2024, par Merel

    I am trying to make a short video in FFMPEG, where a word stays on screen for the duration of the video (0.5s). My FFMPEG code looks like this :

    &#xA;&#xA;

    ffmpeg -f lavfi -i color=c=white:s=320x240:d=0.5 -vf "drawtext=fontfile= ‘c\:\Windows\fonts\calibri.ttf&#x27;:fontsize=18:  fontcolor=black:x=(w-text_w)/2:y=(h-text_h)/2:text=&#x27;word&#x27;" output.mp4

    &#xA;&#xA;

    However, I keep getting the following error (see below for full output) :

    &#xA;&#xA;

    Fontconfig error: Cannot load default config file &#xA;[Parsed_drawtext_0 @ 000001c2918cef00] Using "C:/Windows/fonts/mingliub.ttc"&#xA;

    &#xA;&#xA;

    I figured it had something to do with the path to the font file. I also tried copying the font file to my FFMPEG map and map the font path to the FFMPEG directory :

    &#xA;&#xA;

    ffmpeg -f lavfi -i color=c=white:s=320x240:d=0.5 -vf&#xA;"drawtext=fontfile=‘C:\FFMPEG\bin\calibri.ttf&#x27;:fontsize=18: &#xA;fontcolor=black:x=(w-text_w)/2:y=(h-text_h)/2:text=&#x27;word&#x27;" output.mp4&#x27;&#xA;

    &#xA;&#xA;

    This doesn't work either. I do get an output video.mp4 video, but the font is wrong. Here is the full output I get. It is the same for both code examples above :

    &#xA;&#xA;

     c:\FFMPEG\bin>ffmpeg -f lavfi -i color=c=white:s=320x240:d=0.5 -vf "drawtext=fontfile= ‘c\\:\\\Windows\\\fonts\\\calibri.ttf&#x27;:fontsize=18:  fontcolor=black:x=(w-text_w)/2:y=(h-text_h)/2:text=&#x27;word&#x27;" output.mp4&#xA;ffmpeg version N-93234-g2e67f751b5 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 8.2.1 (GCC) 20190212&#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. 26.100 / 56. 26.100&#xA;  libavcodec     58. 47.102 / 58. 47.102&#xA;  libavformat    58. 26.101 / 58. 26.101&#xA;  libavdevice    58.  6.101 / 58.  6.101&#xA;  libavfilter     7. 48.100 /  7. 48.100&#xA;  libswscale      5.  4.100 /  5.  4.100&#xA;  libswresample   3.  4.100 /  3.  4.100&#xA;  libpostproc    55.  4.100 / 55.  4.100&#xA;Input #0, lavfi, from &#x27;color=c=white:s=320x240:d=0.5&#x27;:&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;Fontconfig error: Cannot load default config file&#xA;[Parsed_drawtext_0 @ 00000291ad7def00] Using "C:/Windows/fonts/mingliub.ttc"&#xA;[libx264 @ 00000291af0ef180] using SAR=1/1&#xA;[libx264 @ 00000291af0ef180] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 00000291af0ef180] profile High, level 1.3, 4:2:0, 8-bit&#xA;[libx264 @ 00000291af0ef180] 264 - core 157 r2935 545de2f - 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=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&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.26.101&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 12800 tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.47.102 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;[Parsed_color_0 @ 00000291af0aa840] EOF timestamp not reliable&#xA;frame=   13 fps=0.0 q=-1.0 Lsize=       2kB time=00:00:00.40 bitrate=  43.9kbits/s speed=4.27x&#xA;video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 84.991570%&#xA;[libx264 @ 00000291af0ef180] frame I:1     Avg QP: 9.22  size:   306&#xA;[libx264 @ 00000291af0ef180] frame P:3     Avg QP:11.33  size:    20&#xA;[libx264 @ 00000291af0ef180] frame B:9     Avg QP:12.67  size:    14&#xA;[libx264 @ 00000291af0ef180] consecutive B-frames:  7.7%  0.0%  0.0% 92.3%&#xA;[libx264 @ 00000291af0ef180] mb I  I16..4: 98.7%  0.0%  1.3%&#xA;[libx264 @ 00000291af0ef180] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%&#xA;[libx264 @ 00000291af0ef180] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%&#xA;[libx264 @ 00000291af0ef180] 8x8 transform intra:0.0%&#xA;[libx264 @ 00000291af0ef180] coded y,uvDC,uvAC intra: 1.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%&#xA;[libx264 @ 00000291af0ef180] i16 v,h,dc,p: 92%  1%  7%  0%&#xA;[libx264 @ 00000291af0ef180] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39%  3% 42%  2%  5%  5%  2%  2%  2%&#xA;[libx264 @ 00000291af0ef180] i8c dc,h,v,p: 100%  0%  0%  0%&#xA;[libx264 @ 00000291af0ef180] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 00000291af0ef180] kb/s:7.65&#xA;

    &#xA;

  • Using FFMPEG : How to do a Scene Change Detection ? with timecode ?

    30 mai, par Mozart

    Based on this article it seems that it is possible to use FFMPEG to detect scene change in videos :&#xA;http://www.luckydinosaur.com/u/ffmpeg-scene-change-detector

    &#xA;&#xA;

    Now I have a video that displays a book text and when the text (word or sentence) is spoken it gets highlighted. &#xA;Something like this audio book : https://youtu.be/lA7L6ZNVKjc

    &#xA;&#xA;

    I need to know the timestamp when the text gets highlighted (hence scene change), this will allow me to add timestamp tags on my youtube video, so it becomes easier for listeners to navigate through the audiobook.

    &#xA;&#xA;

    What is the magic command line that would do this ?

    &#xA;&#xA;

    Thank you very much !

    &#xA;