BrettSheleski / comchap

Commercial detection script to add chapters into video file
MIT License
138 stars 26 forks source link

Anyplans to make a windows version? #47

Closed Yankees4life closed 1 year ago

Yankees4life commented 3 years ago

Hello

Is there any plans to make a windows version? I would like to use this with WMC.

BrettSheleski commented 3 years ago

You might be able to have some luck with Windows Subsystem for Linux (WSL).

Yankees4life commented 3 years ago

That would be a bit of a wonky setup instead of touch and go. I'm gonna try mess around with Dirmon2 and a batch file with comskip and mencoder if see that'll work.

Thanks for the work

BrettSheleski commented 3 years ago

It probably wouldn't be too terribly difficult to write a batch script and/or PowerShell script version of comchap/comcut for Windows. If one were to do so I may even include it in this repo.

Yankees4life commented 3 years ago

It probably wouldn't be too terribly difficult to write a batch script and/or PowerShell script version of comchap/comcut for Windows. If one were to do so I may even include it in this repo.

Without a source code, that would be tough for me (and others maybe).

BrettSheleski commented 3 years ago

Comchap/comcut are simple scripts really. The source is right here on GitHub. The only real dependents are ComSkip and ffmpeg, both of which have windows versions. Go nuts.

Yankees4life commented 3 years ago

Comchap/comcut are simple scripts really. The source is right here on GitHub. The only real dependents are ComSkip and ffmpeg, both of which have windows versions. Go nuts.

So the challenge would be to convert a linux script into a bat file. Hmm...🤔

Let's see what I can do

Yankees4life commented 2 years ago

Well...4 months later...and I have just developed a script for windows using the ffsplit files that comskip can generate. I use a for script using bat (a windows fork of cat) to pass the commands on that file onto ffmpeg and then use fd to echo the segment files onto a txt file so that ffmpeg can combine it back into one. Simple right. Give it a whirl here. I hope this works as an alternative to MCEBuddy on that platform https://github.com/Yankees4life/comcutter

BrettSheleski commented 2 years ago

Nice. Good luck with your implementation.

I thought about doing an implementation in python to be more cross platform compatible. However that would mean an added dependency on Python. A docker image would be cool too...

Yankees4life commented 1 year ago

I have returned and I've seen that somebody has finally created a windows version in this repo too so I'm closing this baby out.