m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.51k stars 262 forks source link

Question about library RSVG #2459

Open Jamaika1 opened 1 year ago

Jamaika1 commented 1 year ago

I was able to add librsvg in mingw64 under Windows in ffmpeg 6.1. Has anyone tried this and does it make sense? However, it is a big addition and a lot of features. How to play ttf fonts correctly under Windows? I don't know which program is responsible for this. I don't know what directory it reads fonts from. Do fonts have to be oft? Do I need to uninstall ttf fonts and install others. How does it work in the latest versions of glib, gobject, pango, fribidi, libffi, cairo, fonconfig, freetype, harfbuzz, croco, libxml2? Or maybe librsvgdec only works with older versions of ffmpeg.

Fontconfig error: Cannot load default config file: No such file: (null)
Input #0, svg_pipe, from 'gvariant-byte-boundaries.svg':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: svg, bgra, 154x51, 25 fps, 25 tbr, 25 tbn
1304.76 M-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
Stream mapping:
  Stream #0:0 -> #0:0 (svg (librsvg) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'car.png':
  Metadata:
    encoder         : Lavf60.6.100
  Stream #0:0: Video: png, rgba(pc, gbr/unknown/unknown, progressive), 900x600, q=2-31, 200 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.17.101 png
[image2 @ 0000016f6a54b390] The specified filename 'car.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0000016f6a54b390] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0000016f6af95110] video:390kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame=    1 fps=0.3 q=-0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x