View Single Post
Old 01-17-2019, 02:19 AM   #2
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,016
Default

I forgot the links to mkvToolnix and VLC:

https://mkvtoolnix.download/downloads.html#windows

https://www.videolan.org/vlc/download-windows.html

In my opinion, the only parts that needs to be changed for running on other systems like apple or linux would be the send functions.
Code:
function send_Clip()
    timeStamps = w2:get_text()
    input = vlc.object.input()
	if input
        then
            strCmd = 'echo | set /p dummyName='..timeStamps..'|clip'
            os.execute(strCmd)
	end
end

function send_Split()
    timeStamps = w2:get_text()
    input = vlc.object.input()


	if input
        then
    	    strCmd = mkvMerge_path..' --output "'..uri..'.mkv" "'..uri..'" --split parts:'..timeStamps
            os.execute(strCmd)
	end
end
The rest should be okay as "VLC directory" and "video source path" are VLC functions which should be equal on every system. And txt files (for saving the path) are common on every system as mkvToolnix is available for every system too.

Greetings
Eli
__________________
☆.。.:*・☆.。.:*・☆.。.:*・☆REAPER//✿◔‿◔)☆.。.:*・☆.。.:*・☆
Eliseat is offline   Reply With Quote