Hacker News new | past | comments | ask | show | jobs | submit login
ffscreencast – a screencast CLI-tool with video overlay and multimonitor support (github.com/cytopia)
190 points by app4soft on Jan 24, 2021 | hide | past | favorite | 20 comments



I have a fairly similar hackable script in my tools repo on GitHub for the curious.

Essentially I wanted to be able to pipe the music I was playing into the stream and the microphone input.

Also I wanted to allow for a secondary camera (droidcam for me) at leisure.

I suppose OBS is better if you spend the time with it.

https://github.com/kristopolous/tools/blob/master/bin/screen...

There's a preferences file example here https://github.com/kristopolous/tools/blob/master/bin/.scree...


> I suppose OBS is better if you spend the time with it.

There is one unsolvable issue which prevents to use OBS: OBS can't be used on PC with integrated GPU limited to OpenGL 1.x (such as RS600).


How well/fast does ffmpeg's x11grab work? I've got a hand-rolled solution for Linux screen recording that can do 120+fps, but it's very brittle.


Is it open source? I've been looking for a headless web recorder for a while, with audio support if possible.


Sadly no, it's like three different tools linked with the equivalent of bailing twine, one of which is a kiosk/home theater UI I wrote when I was just out of high school a really long time ago. Also it definitely wouldn't work headless.

I have seen headless browser recording tools before, not sure what framerate they could handle.


What headless browser streaming have you seen?


I haven't tried these, but gathered a few in a StackOverflow answer not too long ago: https://stackoverflow.com/a/64127074/737303


This has a ffmpeg command generator feature where it’ll tell you what it would run. I could find that useful in trying to fix anything broken with it.


First thing I did was try to run this in Bash/WSL and display it to Xming on Win10. I couldn't get it to recognize the screen, so was upgrading. Will report back. If it works then that will be one of the most useful things ever.


The last commit is from Mar 2017. Much of the activity in Issues also ends at that time. Looks abandoned rather than matured.


In fairness if it does indeed do what's advertised then there isn't necessarily a need to continue working on it.


Supporting more OS is always something can be worked on.


Why?


It says "coming soon" for freeBSD and Windows in the readme, so I assume it is (was) planned.


FYI for anyone on OS X Catalina (and likely Big Sur): this doesn't seem to work, as it's not detecting AVFoundation support in ffmpeg. See this issue: https://github.com/cytopia/ffscreencast/issues/31


Based on it's name, combining it with ffsend [1], would make it a fun quick screen sharing tool. /s

[1] https://github.com/timvisee/ffsend


How to do this on wayland in sway?


You want to use wf-recorder. This is in my sway config:

> set $screenrecord wf-recorder -g "$(slurp)" -f ~/screenshots/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4")

> bindsym Shift+Control+F6 exec $screenrecord

> bindsym Ctrl+Shift+BackSpace exec killall -s SIGINT wf-recorder

Hitting shift-control-f6 will spawn slurp which lets you click and drag to set the area you want to record. This will then launch wf-recorder and record the selected area, saving to ~/screenshots/mov-${date}. You can use ctrl-shift-backspace to kill the recorder and end recording.

https://github.com/ammen99/wf-recorder

https://github.com/emersion/slurp


sweet, thanks


this README.md should be a template for all readmes, bravo




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: