mpv_slicing_copy
mpv_slicing_copy copied to clipboard
Is there any way to make the cut more accurate?
Same as the title—something like -accurate_seek, but I don't know how to integrate it into the .lua file. Or are there better alternatives?
If you want to pass extra args to ffmpeg, set ffmpeg_path with desired args in script-opts/slicing_copy.conf (e.g. ffmpeg_path=ffmpeg -loglevel debug.
FYI, by default, the script passes -vcodec copy -acodec copy to ffmpeg to avoid re-encoding, so it can only cut between key frames.
You can edit the two values by changing vcodec and acodec in script-opts/slicing_copy.conf.
For example, set
vcodec=libx264
acodec=aac