better video rendering in d

Guillaume Piolat first.last at spam.org
Fri Mar 24 15:41:36 UTC 2023


On Tuesday, 21 March 2023 at 16:57:49 UTC, monkyyy wrote:
> My current method of making videos of using raylib to generate 
> screenshots, throwing those screenshots into a folder and 
> calling a magic ffmpeg command is ... slow.
>
> Does anyone have a demo or a project that does something 
> smarter (or willing to do the busy work of finding the right 
> combo of dependencies that just work)
>
> I require basic images, text, and transparent rectangles
>
> https://youtu.be/HxFSmDNvDUI
>
> ideally raylib or image magik for the frame generation

Hi,

The idea to pipe stdout to ffmpeg is sound.

In the following dead repo: https://github.com/p0nce/y4m-tools

you will find a tool that capture a shader, format it into Y4M 
and output on stdout.
Y4M output is useful because it embeds the metadata unlike .yuv

See: 
https://github.com/p0nce/y4m-tools/blob/master/shader-capture/example.sh


More information about the Digitalmars-d-learn mailing list