Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (38)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (3768)

  • Updated to Bootstrap 3 release version.

    21 août 2013, par blueimp
    Updated to Bootstrap 3 release version.
    

    Removed Font Awesome in favor of using Glyphicons included in Bootstrap
    3.

  • FFmpeg | subtitles with ass format

    26 octobre 2018, par Praveen Tamil

    I would like to generate subtitles with dynamic font

    [Script Info]
    ScriptType: v4.00+
    PlayResX: 1280
    PlayResY: 720
    Title: WoFox

    [V4+ Styles]
    Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
    Style: Default,Arial,30,&Hffffff,&Hffffff,&H0000FF,&H0000FF,0,0,0,0,100,100,5,0,3,1,0,3,10,10,10,1
    Style: Default1,/home/nodeuser8/tmp/CharmonmanRegular.ttf,40,&Hffffff,&Hffffff,&H0000FF,&H0000FF,0,0,0,0,100,100,5,0,3,1,0,3,10,10,10,1

    [Events]
    Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
    Dialogue: 0,00:00:00.0,00:00:03.0,Default,,0,0,0,,My first subtitle! Click this text to edit
    Dialogue: 0,00:00:00.0,00:00:03.0,Default1,,0,0,0,,This box shows the amount of text that fits into one caption. As you change the style of the captions, you can preview how

    And my ffmpeg code is

    ffmpeg -i ./tmp/source.mp4 -t 5 -filter_complex "ass=filename=./tmp/subtitles.ass" ./t mp/output.mp4 -y

    But I didn’t get out expected output.

    The Console is

    [Parsed_ass_0 @ 0x58680c0] Shaper: FriBidi 1.0.5 (SIMPLE)
    [Parsed_ass_0 @ 0x58680c0] Using font provider fontconfig
    [Parsed_ass_0 @ 0x58680c0] Added subtitle file: './tmp/subtitles.ass' (3 styles, 2 events)
    Stream mapping:
     Stream #0:0 (h264) -> ass (graph 0)
     ass (graph 0) -> Stream #0:0 (libx264)
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [Parsed_ass_0 @ 0x5cd4180] Shaper: FriBidi 1.0.5 (SIMPLE)
    [Parsed_ass_0 @ 0x5cd4180] Using font provider fontconfig
    [Parsed_ass_0 @ 0x5cd4180] Added subtitle file: './tmp/subtitles.ass' (3  styles, 2 events)
    [Parsed_ass_0 @ 0x5cd4180] fontselect: (Arial, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans
    [Parsed_ass_0 @ 0x5cd4180] fontselect: (/home/nodeuser8/tmp/CharmonmanRegular.ttf, 400, 0) -> /usr/share/fonts/dejavu/DejaVuSans.ttf, 0, DejaVuSans
    [libx264 @ 0x5869880] using SAR=1/1
    [libx264 @ 0x5869880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x5869880] profile High, level 3.1, 4:2:0, 8-bit
    [libx264 @ 0x5869880] 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=15 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 './tmp/output.mp4':

    Here I’m trying to load font from /home/nodeuser8/tmp/CharmonmanRegular.ttf but ffmpeg load font from /usr/share/fonts/dejavu/DejaVuSans.ttf.

    So how to load fontfile for ass subtitles ?

  • FFmpeg Drawtext - Fontconfig error : Cannot load default config file : No such file : (null)

    29 mars 2023, par James

    I get the message : Fontconfig error : Cannot load default config file : No such file : (null).
No output is created.

    


    I have installed FFmpeg full version and written this test script to add text onto an image which I drag and drop onto the BAT file.

    


    I searched this database for solutions and found none. The script should produce an output file test.png, The image should have red text on it which reads Hello.

    


    I tried to escape the path to the Font both ways without success :

    


    `set "FONT='c\:\\windows\\fonts\\arial.ttf'" :: Font


    


    `

    


    .. and

    


    `set "FONT='c\:\/windows\/fonts\/arial.ttf'" :: Font`


    


    My full script :

    


    `set "FONT='c\:\/windows\/fonts\/arial.ttf'" :: Font
set "TEXT=Hello" :: Text (no space characters allowed, see next example)
set "COLOR=red" :: Text color
set "SIZE=20" :: Font size
set "POS_X=(w-tw)/2" :: X position of text, use (w-tw)/2 for centering
set "POS_Y=(h-th)/2" :: Y position of text, use (h-th)/2 for centering


ffmpeg -i %1 -vf     drawtext='fontfile=%FONT%:text=%TEXT%:fontcolor=%COLOR%:fontsize=%SIZE%:x=%POS_X%:y=%POS_Y%' -  frames 1 -y test.png


pause`


    


    The complete result :
 C :\Users\canjm\Desktop\Image Correction 360\Archive
Testing\Utilities\Align Photo>set
    
"FONT='c :/windows/fonts/arial.ttf'" : : Font

    


    C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>set  "TEXT=Hello" :: Text (no space characters allowed, see next example)

C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>set "COLOR=red" :: Text color
C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>set "SIZE=20" :: Font size
C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>set "POS_X=(w-tw)/2" :: X position of text, use (w-tw)/2 for centering

C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>set "POS_Y=(h-th)/2" :: Y position of text, use (h-th)/2 for centering

C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo>ffmpeg -i "C:\Users\canjm\Desktop\Image Correction 360\Archive Testing\Utilities\Align Photo\Eqr_360_9999.JPG" -vf drawtext='fontfile='c\:\/windows\/fonts\/arial.ttf':text=Hello:fontcolor=red:fontsize=20:x=(w-tw)/2:y=(h-th)/2' -frames 1 -y test.png


    


    ffmpeg version 2023-03-27-git-f7abe92bd7-full_build-
www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration : —enable-gpl —enable-version3 —enable-static
—disable-w32threads —disable-autodetect —enable-
fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —
enable-gmp —enable-bzlib —enable-lzma —enable-libsnappy —
enable-zlib —enable-librist —enable-libsrt —enable-libssh
—enable-libzmq —enable-avisynth —enable-libbluray —
enable-libcaca —enable-sdl2 —enable-libaribb24 —enable-
libdav1d —enable-libdavs2 —enable-libuavs3d —enable-
libzvbi —enable-librav1e —enable-libsvtav1 —enable-libwebp
—enable-libx264 —enable-libx265 —enable-libxavs2 —enable-
libxvid —enable-libaom —enable-libjxl —enable-libopenjpeg
—enable-libvpx —enable-mediafoundation —enable-libass —
enable-frei0r —enable-libfreetype —enable-libfribidi —
enable-liblensfun —enable-libvidstab —enable-libvmaf —
enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid
—enable-ffnvcodec —enable- nvdec —enable-nvenc —enable-
d3d11va —enable-dxva2 —enable-libvpl —enable-libshaderc —
enable-vulkan —enable-libplacebo - -enable-opencl —enable-
libcdio —enable-libgme —enable-libmodplug —enable-
libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —
enable-libshine —enable-libtheora —enable-libtwolame —
enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —
enable-libopencore-amrnb —enable-libopus —enable-libspeex -
-enable-libvorbis —enable-ladspa —enable-libbs2b —enable-
libflite —enable-libmysofa -tab —enable-libvmaf —enable-
libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —
enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-
d3d11va —enable-dxva2 —enable-libvpl —enable-libshaderc —
enable-vulkan —enable-libplacebo —enable-opencl —enable-
libcdio —enable-libgme —enable-libmodplug —enable-
libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —
enable-libshine —enable-libtheora —enable-libtwolame —
enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —
enable-libopencore-amrnb —enable-libopus —enable-libspeex -
-enable-libvorbis —enable-ladspa —enable-libbs2b —enable-
libflite —enable-libmysofa —enable-librubberband —enable-
libsoxr —enable-chromaprint libavutil 58. 5.100 / 58.
    
5.100 libavcodec 60. 7.100 / 60. 7.100 libavformat
    
60. 4.100 / 60. 4.100 libavdevice 60. 2.100 / 60.
    
2.100 libavfilter 9. 5.100 / 9. 5.100-enable-
librubberband —enable-libsoxr — enable-chromaprint
libavutil 58. 5.100 / 58. 5.100
libavcodec 60. 7.100 / 60. 7.100 Duration : 00:00:00.04,
start : 0.000000, bitrate : 95429 kb/s
Stream #0:0 : Video : mjpeg (Baseline), yuvj444p(pc,
bt470bg/unknown/unknown), 5792x2896, 25 fps, 25 tbr, 25 tbn
Stream mapping :
Stream #0:0 -> #0:0 (mjpeg (native) -> png (native))
Press [q] to stop, [?] for help
Fontconfig error : Cannot load default config file : No such
file : (null)

    


    C:\Users\canjm\Desktop\Image Correction 360\Archive 
Testing\Utilities\Align Photo>pause
Press any key to continue . . .``