TRAFEX TRAFEX Consultancy Consultancy
Video Transcoder

Video Transcoder

January 2, 2021

I’m using DaVinci Resolve for editing videos. There’s one downside of using DaVinci Resolve on Linux, it can’t import H.264/H.265 encoded files. On Windows you can experience poor video playback with H.264/H.265 encoded files because it’s a compressed format which requires heavy CPU/GPU processing to decode realtime.

To be able to import H.264/H.265 encoded files on Linux and have smooth playback on Windows you can transcode them. A format that preserves the original quality and is friendly to work with in Davinci Resolve and other editing programs is Apple ProRes. I’ve writting a wrapper around ffmpeg in Go that transcodes media to Apple ProRes.

How to use

videotranscoder -h will show you how to use it.

$ videotranscoder -h
Usage of videotranscoder:
  -help
    	Print help and usage information
  -overwrite
    	Overwrite existing files in the target folder
  -source string
    	Path to source folder
  -target string
    	Path to target folder
  -verbose
    	Show output of ffmpeg
  -version
    	Print version information

A new folder will automatically be created in the target folder with the transcoded files.

GitHub Repo stars

Go back

Recent articles

Articles

How to make a load testing plan

Load testing gives insight into a web application’s behavior under peak load conditions and realistic load conditions. By load testing your web application you will identify the maximum capacity the web application can handle as well as any bottlenecks and determine which element is causing degradation.

Read More

Articles

Checklist: Prepare your website for Go-Live

When you’re ready to launch your website or web application, you can use this checklist to be fully prepared for the Go-Live and have a smooth transition!

Read More

Articles

The key components of Kubernetes autoscaling

Autoscaling is an important feature of Kubernetes. With this feature, you always have enough resources for the workload, and when a node becomes unhealthy it gets replaced without affecting the workload. But you won’t get it automatically by just deploying your Pods on Kubernetes.

Read More