Open kosakian opened 1 year ago
Need to see if log files provide any indication of what is going wrong.
To enable logging follow these instructions:
Settings…
under the IINA
menuAdvanced
Enable advanced settings
toggle button to be on (blue)Enable logging to file
Once IINA has restarted, try and play the video to reproduce the problem. Then:
Settings…
under the IINA
menuAdvanced
Open log directory
Finder
window appears containing the logs for this sessionThe Finder
window contains two files, iina.log
and mpv.log
. To attach the log files to this issue, drag-n-drop them from the Finder
window to the Leave a comment
section below. Include both the iina.log
and the mpv.log
The log files can also be accessed using Terminal as shown here:
low-batt@gag com.colliderli.iina$ pwd
/Users/low-batt/Library/Logs/com.colliderli.iina
low-batt@gag com.colliderli.iina$ ls
2022-10-04-17-57-15_jVrbWy
low-batt@gag com.colliderli.iina$ cd 2022-10-04-17-57-15_jVrbWy
low-batt@gag 2022-10-04-17-57-15_jVrbWy$ ls
iina.log mpv.log
low-batt@gag 2022-10-04-17-57-15_jVrbWy$
With logging enabled IINA creates a new log directory each time it is started. If accessing the logs using Terminal
be sure to obtain them from the latest log directory.
DO NOT FORGET to disable logging once you have obtained log files for the problem being investigated. IINA does not restrict the size of log files or delete old logs. If you leave logging enabled the logs will continue to accumulate.
Thank you very much for taking the time to make and attach log files. The log files ruled out the known regression that was my first guess as to what might be the problem. That one has to do with HEVC encoded iPhone videos.
For audio/video support IINA uses a library from the mpv project. That project in turn uses libraries from the FFmpeg project. This is why the issue template contains this checkbox:
- [ ] MPV does not have this problem.
If the problem is reproducible with the mpv player then the root cause is in code IINA does not control and the problem must be reported to that project.
For IINA 1.3.2 these libraries as well as others were upgraded. So far two playback related regressions have been traced to FFmpeg
.
The logs seem to show the file was opened multiple times?
One of the problems with looking through logs is that you may find problems that aren't related to the problem being investigated. The mpv
log shows trouble with audio:
[ 23.217][v][ao] Trying audio driver 'coreaudio'
[ 23.217][v][ao/coreaudio] requested format: 48000 Hz, stereo channels, spdif-dts
[ 23.217][v][ao/coreaudio] redirecting to coreaudio_exclusive
[ 23.217][v][ao/coreaudio_exclusive] requested format: 48000 Hz, stereo channels, spdif-dts
[ 23.218][v][ao/coreaudio_exclusive] selected audio output device: MiPod (108)
[ 23.227][v][ao/coreaudio_exclusive] - 16000.0Hz 16bit mcpl [12][2bpp][1fbp][2bpf][1ch] int LE S packed (s16)
[ 23.227][v][ao/coreaudio_exclusive] - 44100.0Hz 32bit mcpl [9][8bpp][1fbp][8bpf][2ch] float LE U packed (float)
[ 23.227][e][ao/coreaudio_exclusive] No useable substream found.
[ 23.228][e][ao] Failed to initialize audio driver 'coreaudio'
Anything special about the audio setup?
Would be interesting to know if that error is seen in the mpv
log of a working IINA version or if this could be related to the regression.
One source of problems is hardware decoding. I don't suspect that in this case, but it might be good to confirm software decoding exhibits the problem as well. On the Video/Audio
tab of IINA's settings change the Hardware decoder
setting to Disabled
. Restart IINA and see if the problem reproduces.
System and IINA version:
Expected behavior: I open a video and it plays. Simple.
Actual behavior: When opening a video the pause icon is on, but the video is not playing and it is on 00:00. It start as soon as I move the bar forward for couple of minutes. Then I bring it back to zero and it plays. Did not have this with older versions.
Crash report:
``` ```mpv log:
``` ```Steps to reproduce: Open any video
How often does this happen? Every time