Open ghost opened 2 years ago
After removing my mpv.conf
and retrying I found out the script works as intended. It fails only when this rule is added to the options:
# Forces dialogue subs to load first in dvd rips (instead of op/ed/sign subs)
sid=1
I don't know why
When you run ffprobe on the file, how many subtitle tracks does it have? Using the name in your from your log file, I downloaded a copy of '[SubsPlease] Yatogame-chan Kansatsu Nikki S1 - 01 (1080p) [BC3B3139].mkv' and it only had 1 subtitle track. So the file probably doesn't have ay subtitles with sid of 1.
While looking at --aid
notes, I found out this piece of info:
With mpv 0.33.0, the behavior was changed. Now track selection options are reset to auto at playback initialization, if the option had tries to select a track that does not exist. The same is done if the track exists, but fails to initialize. The consequence is that unlike before mpv 0.33.0, the user's track selection parameters are clobbered in certain situations.
I believe --sid
might follow the same logic, meaning that selecting a subtitle id that doesn't exist will make --sid
fallback to auto
. There should be no problem by setting sid=1
in the configs, considering videos played without errors and that it's only a problem when I try to encode a video with this script. I am not sure why this problem would only occur with files not hosted on my client though.
The only error line in the log does say
[ 66.049][v][webm] Command failed! Reason: nil Killed by us? no
with emphasis on Killed by us? no
, so I am not sure what is making the script throw error.
mpv version and platform
Windows 10 19044.1766
Description
Encode fails if the source file is hosted on a remote drive (ex: smb mount). The file encodes successfully if the it is copied on my client first.
Log file
First log is with my webm.conf loaded and using vp9, second log is without configs loaded and using vp8
log.txt log.txt