Shell Script

Get mic and webcam number dynamically

Submitted by ravisagar on

When writing shell scripts some values are hard coded like mic or webcam number which can change as well so it is better to get these dynamically in your scripts. It is very simple to do that and there are various ways to get this information. Let me show you my way.

#shell #script

Use dmenu to make your life easy

Submitted by ravisagar on

At any given point I can only remember 5 hexadecimal values of colours but I have now really started using #dmenu for doing lot of wonderful things that saves plenty of my time, your can use it to make menu of any kind to improve your workflow and life :)

#linux

Completely replaced OBS with ffmpeg

Submitted by ravisagar on

Today I mixed my desktop audio along with the mic audio in my existing #ffmpeg #shell #script Now I think I have a near perfect solution to completely replace #obs which I haven't used in a week now.

#ffmpeg #obs #audiomix

Script to record or stream
Replace "~/$TIMESTAMP.$OUTPUT_EXTENSION" in the last line with "-f flv "$YOUTUBE_URL/$KEY"" to stream instead of recording.

Find and open files within seconds using fzf

Submitted by ravisagar on

I have hundreds of #scripts and I don't like it when find a file to modify takes more than couple of seconds. Let me show you how you can use fuzzy search using #fzf along with #shell script to find and also open them in seconds, all from terminal in #emacs of course :)

#linux

Don't waste time creating YouTube thumbnail

Submitted by ravisagar on

After recording your video you want to upload it on YouTube but do you waste time generating thumbnails? I have created a #shell script to do it automatically.

#ffmpeg, #thumbnail #textoverlay

Subscribe

* indicates required

Please confirm that you would like to from Sparxsys:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices.

Want to contact me?