55 points · by nickjj · 8y ago · 33 comments
Rather than explain it, I've demonstrated the problem on video (~3min):
https://www.youtube.com/watch?v=pUmGFiAZA0s
The TL;DR is when your desktop resolution > recording resolution you lose a lot of common Windows functionality and have to manually pixel align windows inside of recording tool constraints. I'm sure there's Windows APIs and methods to restrict windows operations to a customized rectangle, and that's the app you could potentially build.
Now, if you were one of my customers I'd just write you an autohotkey script to solve your problem. Monetizing 20 line AHK scripts seems sketchy, so I'll just try to help.
Here's handy documentation that'll help you achieve what you're after.
https://autohotkey.com/docs/commands/WinMove.htm <- the main function that you'll use for window adjustment. Can bind it to a hotkey or whatever you want. Look at events if you want it to be automatic.
https://autohotkey.com/board/topic/54443-box-ie-draw-simple-... <- would help visualize your snap box
https://www.autohotkey.com/docs/commands/Gui.htm <- So you can configure your snap area.
Should be an hour or two job if you're reasonably familiar with AHK.
I get what you're saying though. My attitude definitely stymies my earnings potential. Maybe someday I'll meet a partner to aggressively monetize things that I do that would normally be helpful freebies on the internet ;)
The only stipulation I have is it needs to be released under an MIT license. I wouldn't monetize it, but I would like to openly share and distribute the script with others (giving you credit of course).
If you're interested email me at nick.janetakis@gmail.com.
I already have an AHK script that launches windows and moves them to exact positions. That's only half the problem.
The problem is when recording a screencast things aren't static. I would like be able to move things around on a whim.
I only hacked around with AHK for a little bit but I don't see anything in those GUI docs that show how to set a size constraint and snap windows to a specific zone of a monitor and still respect Winwdows' maximize and splitting. Where do you see that?
https://postimg.cc/image/5ejd5qmzh/
It doesn't override your windows snap behaviors. To do that specifically I'd have to hook into window move events and try to duplicate the functionality as it is in windows. What this does, is build and draw a box with the sliders on the left.. Then when you press alt+S it'll move and resize whatever your active window is into the box.
Not exactly what you want, but it does a thing ;)
That's how I ended up recording my entire screen in the explanation video.
My main problem is I really don't like using OBS for pre-recorded content since the work flow to record a video is much less efficient than with Camtasia. Also when editing the video, Camtasia really chokes compared to using its format as a source file and you lose out on being able to highlight your cursor.
1. It's a feature, not a product. The only use described, or that occurs to me, is screen recording. You could spend the time to make the best possible fit-windows-in-a-rectangle application, and the Camtasia folks could build it in to their application and make it fully integrated (align with their magic recording rectangle), and all your effort was for naught.
(In the Apple world, this has a name: "Sherlocking".)
2. Resizing a window is literally a single command -- at least on the Mac, and I assume also on other modern platforms (wmctrl, etc). I've got a bunch of these in the "Release" folder of my application for positioning windows for automated screenshots:
osascript -l JavaScript -e 'Application("Safari").windows[0].bounds = {x: 100, y: 100, width: 1200, height: 800};'
It's not as easy to use as "click a button" but I bet I could position 3 windows faster than you could buy and download an app online. I can queue up preset sizes/positions of windows before a screencast, too, and change them during the recording. Unless you specifically want to show off the maximization animation ("Welcome to 1995!"), you can just segue over it ("Now let's look at something else...") while you double-click that shell script off-screen.(I say this not to suggest that everyone using a GUI app should just write shell scripts, but to point out how easy it would be for competitors. This would be the opposite of PG's "run upstairs" advice.)
I know what software should be written, but, like this idea, they're usually specific features of existing software that I don't have the source code for. What I have trouble figuring out is something to build which also has a viable revenue stream attached.
For me personally I don't mind spending $20 or whatever if it solves a problem that affects me on almost a daily basis (my business involves recording software development related screencasts).
2. Resizing is only half the battle. I already rigged up an AHK script months ago to position things initially, but in a live coding session you often want to be able to move windows around freely or switch between layouts (editor, editor + terminal, terminal, editor + browser, etc.). This is where things fall apart because it's so easy to move them out of the recording zone or end up with a recording where a window has like a 2 pixel gap and looks off.
I suppose I could wire up about 6 or 8 hotkeys to statically position and size those different layouts as a last resort. It's not important that people see the animation or me resizing windows manually.
Although i think this is solved by using a dual monitor setup, keep your notes on the secondary monitor and just capture the first monitor. That way you get all the windows helpers.
With the way I have everything set up, it would be very uncomfortable to record my second monitor's screen (it's positioned in a bad spot relative to my mic), but it would also be really bad for reading notes off of since it's so far off to the side of where I am looking.
I could always drop my native res from 2560x1440 down to 1920x1080 on the main recording monitor and that would 100% work, but I really like having my notes 3 inches away from where my eyes are facing when I do live coding or am explaining something. It really makes a difference when you're recording for ~100 hours (less neck strain, less eye strain, easier to ensure good mouth to mic positioning, etc.).
having to get a second monitor just to record a video easier... is a problem in and of itself.
It wouldn't need to record or compete with existing screen capturing tools.
It would just be something that restricts windows sizes and your mouse cursor from being able to escape a rect of your choosing. The tricky part would be also supporting built in Windows functionality like maximizing and splitting windows.
It would be something you'd use in addition to existing screen recording tools.
Basically film the portion in the rectangle, stop, expand to full screen, then start a new recording where you left off. Bring it all together in a video editor like Premier or Resolve.
Another strategy would be to record at 2560x1440 (the full screen) and then zoom / pan into a specific region when editing but this comes with its own set of other problems. Mainly recording at 1440p uses a ton of disk space and drops frames on my box.
Edit after watching video: not sure about full-size vs split-view in that window, but probably achievable with alt-layout, I didn’t test it. Otherwise, it is for you exactly.
It does support the ability to ensure windows don't go beyond a certain region.
But the problem I see with this app is you can't define the region size and where it's located. It only gives you an option to vertically / horizontally split evenly in sections.
Like, cutting your screen in half, and then in half again. Not so much picking the size and area.
Really close tho!
It's not really something that's worth $20. How much would you throw at something like that?
That said, I’m not in “you have to earn hard” camp. If something solves a critical disadvantage, then it is worth a hundred in that particular case.
Additionally, it's possible to lock the mouse inside a defined rectangle on the screen, using the Windows API.
Edit: To clarify, I've tried streaming with OBS and never experienced this problem. I can use the trackpad and resize handles effectively. From the business side of things, I think the scale of the problem is so minute, there isn't a viable revenue flow to support a single developer working on this. Seriously, let's have a count of everyone who would purchase this app. Reply with commitment to buy if you're interested.