Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: support Video output for DMDExt.exe #445

Open
Westworld opened this issue Nov 7, 2023 · 5 comments
Open

Feature Request: support Video output for DMDExt.exe #445

Westworld opened this issue Nov 7, 2023 · 5 comments

Comments

@Westworld
Copy link
Contributor

Thanks for the new feature to allow a dump as input for DMDExt.exe.
The output processor video is supported for library only, not for the exe, so we cannot push a dump in and get a video out.

Video out would allow to reprocess a dump with the --colorize option and then fast forward through the video to verify if everything is colorized or a new color process is better than the previous.

And it would allow to produce a RGB24 colorized video, to produce snippets to feed a DMD Pinball clock.

I tried to do that myself by using your code from the library for the exe, but I failed to retrieve the gamename (which you get from the dump name?). If it is helpful I can do a pull request, but my code works only if the .ini is set with a video file name, not for video folder and using .ini is mandatory, as there is no option to specify a video file name and I did not wanted to make too much changes, producing too much differences.

@freezy
Copy link
Owner

freezy commented Nov 8, 2024

One year later...

Sorry for the late response. In short, you'd want to be able dump frames though dmdext.exe, and not just dmddevice.dll?

@Westworld
Copy link
Contributor Author

I tried to use the feature:

  • Dump files can now be played (and colored) with the --file command in dmdext.exe

to record the playback (now colored) as a video.
Idea was to get colored scenes to use them in a DMD clock, playing pinball animations.
And as lazy guy, instead of playing all scenes again, just used an already available dump.

Honestly, I personally don't need it any longer, should have closed the request. In the meanwhile I recorded the interested scenes already.

Thanks a lot for your work

@ojacques
Copy link
Contributor

ojacques commented Nov 9, 2024

Building a dmd clock myself (code is close to ready, will move to open source), would you mind sharing what you recorded? Or any other mean to grab raw 128x32 and save as video / gif?

@Westworld
Copy link
Contributor Author

my code/project description is here:
https://github.com/Westworld/DMD_Clock

Readme needs much more test, code supports 2 x 64x32 panels or using a Cheap Yellow Display (CYD, $10 combi of ESP32 and 3.5" screen) for testing.

This folder contains many clips:
https://github.com/Westworld/DMD_Clock/tree/main/SDCard/clips

all are rgb (format as created with ffmpeg -i acd_170c.avi -vcodec rawvideo -pix_fmt rgb24 test.rgb)

@ojacques
Copy link
Contributor

ojacques commented Nov 9, 2024

Very cool! Thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants