[FFmpeg-user] Parsing svg from stdin

Paul B Mahol onemda at gmail.com
Tue Apr 12 11:42:16 EEST 2022


On Tue, Apr 12, 2022 at 6:06 AM Justin Higgins <justinhiggy at gmail.com>
wrote:

> 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?
>

no
because it needs parser.


>
> thank you,
> Justin
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list