[FFmpeg-user] Parsing svg from stdin
Justin Higgins
justinhiggy at gmail.com
Tue Apr 12 07:05:41 EEST 2022
I've built ffmpeg with the `--enable-librsvg` configuration
I'm trying to get svg images from stdin to output to mp4
It works using the syntax:
ffmpeg -width 300 -height 500 -i image-%03d.svg -vf format=yuv420p
output.mp4
but when I pipe from stdin:
cat image-*.svg | ffmpeg -loglevel level+warning -vcodec svg -width 300
-height 500 -keep_ar true -f image2pipe -framerate 15 -i - -c:v libx264
-pix_fmt yuv420p -g 15 -keyint_min 15 -profile:v baseline -preset veryfast
-f mpegts pipe:1
I get the error:
FFMPEG pipeline error: [image2pipe @ 0x7fdee4405780] [warning] Could not
find codec parameters for stream 0 (Video: svg (librsvg), none):
unspecified size
I see this response from several years ago:
https://ffmpeg.org/pipermail/ffmpeg-user/2017-November/037800.html
Does ffmpeg now support parsing svg from stdin?
thank you,
Justin
More information about the ffmpeg-user
mailing list