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

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

内容简介: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语言常用算法分析

明日科技 / 2012-1 / 39.80元

《C语言学习路线图•C语言常用算法分析》共分为4篇,第1篇为算法基础篇,包括程序之魂——算法、数据结构基础、查找与排序算法、基本算法思想等内容;第2篇为常用算法篇,包括数学算法、矩阵与数组问题、经典算法等内容;第3篇为趣味算法篇,包括数学趣题、逻辑推理题等内容;第4篇为算法竞技篇,包括计算机等级考试算法实例、程序员考试算法实例、信息学奥赛算法实例等内容。 《C语言学习路线图•C语言常用算法分......一起来看看 《C语言常用算法分析》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

在线进制转换器
在线进制转换器

各进制数互转换器

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码