-
Notifications
You must be signed in to change notification settings - Fork 23
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
Symlink support #44
Comments
Hi, thanks for your interest in this project! Specifically you'll need to look at this file: at this method here: https://github.com/d3cod3/ofxVisualProgramming/blob/7328c8605d1474cd5831e811537a1f138315d91f/src/core/FileBrowser/ImGuiFileBrowser.cpp#L789 the 1 - detect if we clicked on a file or on a symlink I think the lines where to apply this fix are here: and here Let me know if you find a solution, in the meantime i will check it too, as soon as possible. |
Hey, thanks for testing Mosaic, I hope you find your way in Mosaic. :) I think there's 2 aspects to this issue:
|
Thanks for the quick replies. I should have time to take a look this weekend and I can test out functionality by just making non-symlinked copies of assets in the meantime.
So I tried another and it worked! Worse bug report ever. Let me see if I can put together some test cases and submit some actionable reports this weekend. |
You can just drop it anywhere on the patch canvas. About the errors, not every video codec is supported by Mosaic, for more info you'll need to check openFrameworks, about video codec compatibility and stuff, as the Mosaic video player use the internal OF video player mechanism. |
It could be nice to reference crashing video formats. At least Mosaic should not crash when loading a wrong codec. |
I've checked that possibility ( not crashing with wrong codec ), but it will need to modify the OF ofVideoPlayer core code, so alter the OF source. |
Ok, halway to a new standard for Mosaic video players, i've just added ofxHapPlayer to ofxVisualProgramming and Mosaic, and modified the video player object in order to work with that. The Hap codec is cross-compatible osx/linux/windows and we are finally free of the frequent issues ofVideoPlayer/OF related. I've just tested it on osx and it work perfect! Now it's linux turn, i'm on it. More info about Hap codec: https://hap.video/using-hap.html https://github.com/Vidvox/hap-in-avfoundation/releases So, starting from Mosaic 0.5.0, if everything works in linux and windows too, this will be the standard encoding to work with, for video files. No more codecs incompatibilities, no more strange issues, same video file, will work on every Mosaic compatible OS. More news soon |
Awesome, good job ! |
Linux ( just tested ubuntu/debian for now ) compiling and working perfectly with HAP player!!! so great news, now it's time for windows, finger crossed. |
Bad news for now on windows, i have not been able to compile ofxHapPlayer addon on qtcreator/msys2 on windows 10, So i'm closing this for now, as generally speaking the video player / codecs issue is not just solved but considerably enhanced now with the hap addon ( just need to solve it on the windows side... ) |
This project looks perfect for my current project, thanks for making this.
I couldn't get the flatpack to work on Ubuntu 18.04 but I installed using the linux installer script, everything worked great and I was able to start Mosiac, but ran into an issue that I'm hoping is easy to fix.
Tried to import some videos and files and discovered that the file dialog doesn't see symlinks (and all my documents are symlinked to my home directory). I tried dragging and dropping and that also only worked for files not in symlinked directories. Is there an easy way to add support for symlinks?
Thanks!
The text was updated successfully, but these errors were encountered: