ewerybody / kiekste

Screen capturing tool made with Qt for Python (WiP)
GNU General Public License v3.0
2 stars 0 forks source link

Take videos just the SAME convenient way one takes screenshots #3

Open ewerybody opened 3 years ago

ewerybody commented 3 years ago

There is extra tools for this a lot! But surely: ShareX does a great job of offering almost the same experience and I got the idea of doing just that with ffmpeg from them 👍 cheers!

ewerybody commented 3 years ago

Pcheeew.. This went quite down the rabbit hole. So eventually this tool should be a non-console python app. aka using pythonw in the end.

To summarize .. I'm JUST learning about all of this. So there might still be some misunderstandings!

So problem with the non-console mode that is that all subprocesses will also not have a console channel available. Apparently sending signals to gracefully terminate the ffmpeg process ONLY works with a console attached. It IS possible to attach a console tho: https://stackoverflow.com/a/64357453/469322 I just tried to implement this already.

ewerybody commented 3 years ago

Meanwhile I found a project that already DOES what I was looking for: python-ffmpeg this is already a fork. The original project seems abandoned although there is quite some praise about it. The fork is also not that active but has a few nice improvements already.

I'm still struggling If we should actually use this project. It ALSO has the problem with the non-console mode and so far I don't see many benefits since we already work asynchronous via QThreads and we would not need much of the other features... 🤔

ewerybody commented 3 years ago