the saved file lost audio track
Closed this issue · 6 comments
Could you post the log?
Could you post the log?
I don't see a write request in that log; are you sure you dumped the cache while outputting the log file?
In any case, is the audio track included if instead of using the script you run
async dump-cache 0 no file.mp4
either through the console or with a keybind?
ctrl+Z to start dumping, ctrl+X to stop, maybe I shouldn't use ctrl+X to stop?
BTW,I noticed that if I don't stop the dumping, the file on disk is a bit smaller (9,699,372 vs 9,769,038), is that matters?
I don't see a write request in that log; are you sure you dumped the cache while outputting the log file?
I'm sure, here's what I did:
a. del the mpv log file
b. open a stream video via mpv
c. ctrl+Z to start dumping
d. ctrl+X to stop it
e. exit mpv
then I got a muted video file, and the log file.
In any case, is the audio track included if instead of using the script you run
async dump-cache 0 no file.mp4
either through the console or with a keybind?
ran the script in mpv console, it printed this:
and got the same muted file (the same size in byte).
I read the "dump-cache" part of mpv wiki, and tried to run the followed script in console:
dump-cache 0 10 f:/file.mp4
then I got a video file with no audio.
So, I think there's something wrong with the mpv "dump-cache" command?
This script wraps dump-cache
so if this issue happens when not using streamsave and instead using dump-cache
directly in mpv then yes it's potentially a problem with mpv. I still don't see the recorder being initialized in your log so if you report it on their issue tracker I would recommend you produce another log file while also running mpv with --no-config
from the command line.