libmpv

Just starting out? Need help? Post your questions and find answers here.
infratec
Always Here
Always Here
Posts: 7582
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: libmpv

Post by infratec »

I'm not in the office for the next 2 days.
On friday I can checkt it on our mac.
User avatar
DannyWeijermans
User
User
Posts: 26
Joined: Thu Aug 25, 2022 10:10 pm
Contact:

Re: libmpv

Post by DannyWeijermans »

that's great, infratec!
thanks already for having a look at it!!
regards, Danny
infratec
Always Here
Always Here
Posts: 7582
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: libmpv

Post by infratec »

Loading works:

Code: Select all

libmpv = OpenLibrary(#PB_Any, "/usr/local/Cellar/mpv/0.39.0_1/lib/libmpv.dylib")
And the output of the demo works too:

Code: Select all

Debug mpv_client_api_version()
Debug mpv_error_string(#MPV_ERROR_NOMEM)
131075
memory allocation failed
User avatar
DannyWeijermans
User
User
Posts: 26
Joined: Thu Aug 25, 2022 10:10 pm
Contact:

Re: libmpv

Post by DannyWeijermans »

aha! great!
and I noticed that in your code,
mpv_error_string
should be
mpv_error_string_
(with an underscore at the end)
Okay: I'll dive some deeper in this,
since MPV really kicks ass ;)
Can I ask you more (pm) if I have any more questions about it?
Regards! Danny Weijermans
Post Reply