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

Ensure output movie files are compatible w/ Quicktime #2

Open
spencerahill opened this issue May 5, 2020 · 5 comments
Open

Ensure output movie files are compatible w/ Quicktime #2

spencerahill opened this issue May 5, 2020 · 5 comments

Comments

@spencerahill
Copy link
Member

From Jon Aurnou offline:

anyway to make the output from DigiPyRo be .mov or .avi that’ll play in QuickTime? Right now, it only plays for me in VLC.

Ultimately we should test it against whatever is the builtin media player for Windows as well...ideally we'll have folks like K-12 teachers that don't want to bother with installing VLC but that want to show digipyro-produced videos.

@spencerahill
Copy link
Member Author

From @DJ-2805 offline:

I'll look into it's output for opencv, because it should have different extensions for how the video is compressed

@da-james
Copy link
Collaborator

I made a pull request in synth, and am discovering that matplotlib.animation can do a lot of the heavy lifting rather than using open-cv. The video output seems to be mp4 which I think is more universal, but let me know if you're able to run it on other video managers. DigiPyRo will still need open-cv since it can get outside sources, but Synth, I think, will only need matplotlib.

@spencerahill
Copy link
Member Author

DigiPyRo will still need open-cv since it can get outside sources, but Synth, I think, will only need matplotlib

Sorry, not following. What do you mean by outside sources, and what is the distinction between Synth and digipyro? Thanks.

@da-james
Copy link
Collaborator

DigiPyRo and Synth were two different .py scripts beforehand. Synth was the synthesizer that would make a digital experiment and DigiPyRo was the program that would take a video and "de-rotate" it. Before synth was programmed with open-cv and matplotlib, where matploitlib would plot each frame to open-cv and that would be made into a video, but I am now using matplotlib's animation function make a video and output it as an mp4.

@spencerahill
Copy link
Member Author

OK got it. FYI since it all gets packaged together under the broader diynamics package, ultimately the dependencies only matter at the level of the overall package. I.e. once one module (DigiPyRo.py) needs open-cv, it doesn't matter whether no other modules do or all of them do, because at that point the digipyro package needs open-cv.

That being said, if the switch to matplotlib seems worthwhile to you in the synth module, go for it.

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

No branches or pull requests

2 participants