rushmj / mpv-video-cutter

cut video and concat automatically
MIT License
46 stars 7 forks source link

show time stamps when 'c' key is pressed #6

Closed fastrizwaan closed 2 years ago

fastrizwaan commented 2 years ago

When we press 'c' key there is no prompt/info. whereas mpv_slicing shows Marked OSD

see 117 function toggle_mark() https://github.com/Kagami/mpv_slicing/blob/master/slicing.lua

can mpv-video-cutter also show 'left' and 'right' trim timestamp on osd?

Thanks.

rushmj commented 2 years ago

I use lua's function 'print' to show prompt in terminal,you can change this function to mp.osd_message()

fastrizwaan commented 2 years ago

thank you! works by replacingprint(with mp.osd_message( in cutter.lua file