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
- Windows version:Windows 10 Pro 64-bit (10.0, Build 19045) (19041.vb_release.191206-1406)
- GPU model, driver and version:AMD Radeon(TM) Graphics 31.0.21914.4000
- Source of mpv: https://github.com/wbtcpip2/mpv-winbuild/actions/runs/9899851878
- Introduced in version: since longtime
Reproduction Steps
in my process i run multiple instances of libmpv playing several videos at the same time.
for each instance i use
MPVSetPropertyString(mpvhandle, "log-file", filename)
MPVSetPropertyString(mpvhandle, "msg-level", "all=debug")
lately when i look at the log files i see that ffmpeg errors are sometimes notified to the wrong instance
example, i have one instance only playing a png picture and another instance playing an mp4 video file
now take a look to the log of the pngfile: 17092024_211921_DGB32Graphicsbackground2png.txt
in that log you'll see some ffmpeg error related to h264, that errors comes from another instances:
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:
ok understood. do you think would it be possible at least to have the callback set on the last runned instance? generally ffmpeg errors occurs on the first seconds of playback so it would be usefull to log on the last running instance
mpv Information
Other Information
Reproduction Steps
in my process i run multiple instances of libmpv playing several videos at the same time.
for each instance i use
MPVSetPropertyString(mpvhandle, "log-file", filename)
MPVSetPropertyString(mpvhandle, "msg-level", "all=debug")
lately when i look at the log files i see that ffmpeg errors are sometimes notified to the wrong instance
example, i have one instance only playing a png picture and another instance playing an mp4 video file
now take a look to the log of the pngfile:
17092024_211921_DGB32Graphicsbackground2png.txt
in that log you'll see some ffmpeg error related to h264, that errors comes from another instances:
17092024_212108_ZCanzoniCanzoniDJKayzfeatNazaKeblackComDabmp4.txt
Expected Behavior
each mpv instance must log the errors related to the proper instance.
Actual Behavior
randomly ffmpeg/lavf messages of another mpv instance are logged
Log File
log of png image (with h264 errors of another instance)
17092024_211921_DGB32Graphicsbackground2png.txt
log of a h264 stream (there are no errors here, because they was notified to the wrong instance)
17092024_212108_ZCanzoniCanzoniDJKayzfeatNazaKeblackComDabmp4.txt
Sample Files
No response
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: