Browse Tag: Linux

How to enable HW accelerated proxy encoding in Kdenlive

Since this was a bit tricky, I think it will be useful to write it somewhere.

So Kdenlive can generate proxy clips, that are smaller and lighter representation of currently processed video files. With proxy you can see more (or more complex) video effects in real time. My computer was able to handle 1080p files directly (not in real time – but close enough to be editable), but since I switched to 4k … I was also force to use proxy :).

Anyway, proxy usage is straight forward. You can define it on project level, and mark if you want to have auto generated proxies for files with width larger then X pixels (yes, this is width – it’s not stated anywhere). Or you can right click mouse on clip, in video list, and check mark „proxy” (this also works for entire folder).

Continue Reading

How to choose different systems, based on pressed key in GRUB2

Ok, so the Internet is crawling with plenty of howtos for configuring different/many operating systems during boot with GRUB2. But I haven’t found the single one, how to make it depended on simple key press – not have to choose from GRUB menu.

So, in my case, I want to have boot up Linux/Debian all the time – as the default system, but from time to time, use Windows for Fusion 360 (or for gaming). Of course I can choose different OS from GRUB menu – like everyone else, but it would be much nicer and faster to simply press „shift” during boot and see Windows.

And yes, we can do it 🙂

Continue Reading

Simple script to split wave or flac file using cue description

This is simple script, that will split on big FLAC or WAVE file (usually CD rip) into small OGG files. It will also normalize OGG files, TAG them (also with data from CUE file) and rename properly.

Script requires shnsplit (from shntool), lltag, cuetag (from cuetools), vorbisgain, oggenc (from vorbis-tools) and flac

In Debian (or Ubuntu) environment you can install all tools with:
aptitude install shntool lltag cuetools vorbisgain vorbis-tools flac
of
apt-get install shntool lltag cuetools vorbisgain vorbis-tools flac

splitcue2ogg.sh

Enjoy!