mpv_slicing_copy icon indicating copy to clipboard operation
mpv_slicing_copy copied to clipboard

Is there any way to make the cut more accurate?

Open YoukaiKowai opened this issue 1 year ago • 1 comments

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?

YoukaiKowai avatar Jan 03 '25 08:01 YoukaiKowai

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.

snylonue avatar Jan 03 '25 09:01 snylonue

For example, set

vcodec=libx264
acodec=aac

snylonue avatar Mar 24 '25 15:03 snylonue