Automatic work session recordings with OBS Studio + TaskWarrior + TimeWarrior + YouTube

栏目: IT技术 · 发布时间: 5年前

内容简介:Not long ago I read a comment on Hacker News about tips to improve one’s performance as a developer; it recommended a system of recording oneself while working and someone suggested uploading the videos to YouTube (asI liked the idea so I wanted to give it

Automatic work session recordings with OBS Studio + TaskWarrior + TimeWarrior + YouTube

Not long ago I read a comment on Hacker News about tips to improve one’s performance as a developer; it recommended a system of recording oneself while working and someone suggested uploading the videos to YouTube (as private or unlisted ) for future revision and as a backup.

I liked the idea so I wanted to give it a try myself. Of course, like most of the stuff I do, the practicality of it was not as important as the chance to see how I would implement a system to support such workflow.

I landed with something I’m fairly happy with, because most of the process is automated. These are the ingredients:

  • I’m using Taskwarrior to keep track of what I’m doing right now.
  • I also integrate it with Timewarrior which keeps track of how long I take in each task. This also enabled some nice features in my workflow as we will see.
  • OBS Studio which is a multiplatform, customizable screencast recorder.

The workflow

  • I add task to Taskwarrior.
  • When I run task start TASK_ID it will start recording a screencast automatically (no UI is shown other than a discreet systray icon).
    • It will also call a Timewarrior hook to track the time.
  • When I run task stop TASK_ID it will stop the screen cast and stop tracking time.
  • At the end of the day (or the week, or whenever), I run a program that merges all the videos for a particular day and pushes them to YouTube using the name of the most used Taskwarrior tag, and other metadata. This also deletes the originals when the video upload finishes successfully.

Show me the code

I pushed the code I’m using to Github: https://github.com/casidiablo/hippo-critical . Keep in mind it is tailored to my usecase; I don’t expect it to work for anyone without some tweaking).

These are the things I had to do before I could fully automate this:

End result:

Automatic work session recordings with OBS Studio + TaskWarrior + TimeWarrior + YouTube

Final thoughts

  • Using Timewarrior enables very interesting use cases:
    • I’m using the export feature to get the tags used for each daily session, so I can rank it and have a sensical title for the video.
    • It should be fairly easy to use tags to filter out stuff you might not want to upload, or to push different videos for each tag, etc.
  • I don’t like the idea of pushing this to YouTube, but whatever. The videos are private and I am pretty much using them as a free storage system.
    • I find it funny that all of the videos have Copyright complaints, because I listen to a lot of music while coding.
  • I would use this if I were a freelancer to track my self and share it with my clients.
  • More ideas:
    • Track which applications I used and add it to the video description.
    • Add all the individual sessions to the description with links to their start time.

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

C++程序设计

C++程序设计

谭浩强 / 清华大学出版社 / 2004-6-1 / 36.00元

《C++程序设计》作者深入调查了我国大学的程序设计课程的现状和发展趋势,参阅了国内外数十种有关C++的教材,认真分析了学习者在学习过程中遇到的困难,研究了初学者的认识规律。在本书中做到准确定位,合理取舍内容,设计了读者易于学习的教材体系,并且以通俗易懂的语言化解了许多复杂的概念,大大减少了初学者学习C++的困难。C++是近年来国内外广泛使用的现代计算机语言,它既支持面向过程的程序设计,也支持基于对......一起来看看 《C++程序设计》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具