←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.227s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
1. ToJans ◴[] No.35738816[source]
I got tired of editing videos, so I wrote a tiny web app that allows me to record uniform ready-to-publish videos for my SaaS in real-time, so creating & publishing a 5-min video only takes me about 15 minutes.

The videos look like this one: https://www.youtube.com/watch?v=1rdeir2-bVA

Creating a video is simple:

- think about the subject (usually during the week)

- 5 min: copy an existing video script and edit it to match the current subject

- 5 min: record the video with OBS capturing the web output

- 5 min: publish it on FB/LI/youtube/...

It uses a simple scripting language with actions that I can trigger by pressing a button. The script has custom commands that allow you to mount HTML/overlay the webcam video/show the webcam video as a thumbnail/play music/... And you can compose commands into other commands.

Here's an example script I used for the video mentioned in the beginning:

    const script:Record<string,string[]> = {
        Intro: [
            `/name empty screen with overlays
    /remove *
    /volume 0`,
            `/name empty screen without overlays
    /remove *
    /volume 0
    /append div.hide-overlay`,
            `/subs 
    How to quickly qualify leads
    for premium outdoor structures
    without a configurator
    `,
            `/intro
    ![](vsl-TV-transparent.png)
    # Quickly qualify leads
    ## for premium outdoor structures
    ### without a configurator
    /caption Tom Janssens / Owner
    /wait 3s
    /remove *
    /subs 
    https://virtualsaleslab.com
    marketeers of premium outdoor structures
    activate & qualify leads
    via online 3D configurators
    In this video
    explain you 
    a simple and easy way 
    to qualify a lead
    without using a configurator`
        ],

        Main: [`/remove *
    /append img#bg.fullscreen[src="prices.png"]
    /select #bg
    /animate fade-in 3s both
    `,

        ],
        Outro: [
            `/site https://**OBFUSCATED**/r/vsl/vsl/en/designer/index/ts-alu`,
            `/remove *
    /caption Tom Janssens / Owner
    /wait 5s
    /cfg https://**OBFUSCATED**/r/vsl/vsl/nl/designer/index/solar-de
        `,
            `/remove *
    /outro
    ![](vsl-TV-transparent.png)
    # https://virtualsaleslab.com
    ### tom@virtualsaleslab.com`]
    };

    export default script;

Update: Obfuscated some urls in the example script, as they are pointing to my test environment ;)