You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- macOS version: macOS 14.1 (23B2073)
- Source of mpv: homebrew
- Latest known working version: 0.34.1_2 embedded in Java 8 application
- Issue started after the following happened: after migration of the application to Java 17 and updated MPV version
Reproduction Steps
We have a Java application (Eclipse RCP/SWT) that embeds MPV.
Everything worked fine with MPV 0.34.1_2 embedded in Java 8 application.
Now with MPV 0.39 embedded in Java 17 application the MPV opens in an external window.
We found this discussion #13974 telling about MPV opening in an external window too, but the OS is not specified. We tried the solution mpv_set_option_string(mpv, "vo", "libmpv"), on MacOs it doesn't open an external window but there is only the sound and no video.
Does someone know if it is possible to embed MPV in an application on MacOs without MPV opening in an external window?
A little example opening an SWT window (needs Eclipse IDE to be executed), loading MPV with JNA and opening a video. MPVEmbedSWT2.txt
Here you can see the java window on top left corner, and the MPV running to the bottom right.
I carefully read all instruction and confirm that I did the following:
I tested with the latest mpv version to validate that the issue is not already fixed.
I provided all required information including system and mpv version.
I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
I attached the full, untruncated log file.
I attached the backtrace in the case of a crash.
The text was updated successfully, but these errors were encountered:
mpv Information
Other Information
Reproduction Steps
We have a Java application (Eclipse RCP/SWT) that embeds MPV.
Everything worked fine with MPV 0.34.1_2 embedded in Java 8 application.
Now with MPV 0.39 embedded in Java 17 application the MPV opens in an external window.
We found this discussion #13974 telling about MPV opening in an external window too, but the OS is not specified. We tried the solution
mpv_set_option_string(mpv, "vo", "libmpv")
, on MacOs it doesn't open an external window but there is only the sound and no video.Does someone know if it is possible to embed MPV in an application on MacOs without MPV opening in an external window?
Expected Behavior
MPV embedded in the application
Actual Behavior
MPV opening in an external window
Log File
log.log
Sample Files
A little example opening an SWT window (needs Eclipse IDE to be executed), loading MPV with JNA and opening a video.
MPVEmbedSWT2.txt
Here you can see the java window on top left corner, and the MPV running to the bottom right.
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: