Fork me on GitHub
#off-topic
<
2017-03-02
>
baptiste-from-paris21:03:29

does anyone has an idea how to record screen display from java/clojure

qqq21:03:09

Is there a clojure webframework that is non-programmer friendly? I.e. suppose someone without any programming background is trying to learn to make webapps -- is there an appropriate clojure framework? (if not, what framework of what langauge would be appropriate)

tbaldridge22:03:52

@baptiste-from-paris Use Quicktime then, under File->Start Screen Recording

tbaldridge22:03:56

comes with OSX 🙂

tbaldridge22:03:35

@qqq HTML is a good place to start, then CSS, then a bit of JS, then PHP

qqq22:03:52

@tbaldridge: I'm with you until the JS/PHP part

tbaldridge22:03:16

@qqq well if they don't know programming, they won't know it's crap. It depends on what the end-goal is

qqq22:03:38

@tbaldridge: end goal is they become a productive web developer

tbaldridge22:03:32

Then yeah, they probably want to start with something non-web related and work up to the web stuff

tbaldridge22:03:10

websites are hard, mostly due to how much there is to learn. HTTP, networking, file structures, multi-threading, DBs, Devops

baptiste-from-paris22:03:15

@tbaldridge I think I was not clear enough : I am playing with Facebook live API where you stream video through an RTMP server. https://developers.facebook.com/docs/videos/live-video/production-broadcasts#specs

qqq22:03:17

@tbalrdige: there's also the component of "immedaite feedback/reward" to get people hooked; so probably HTML -> CSS -> CLJS

baptiste-from-paris22:03:49

I am doing it just for fun as a side project and I’d like to stream my output stream to facebook live

tbaldridge22:03:18

VLC is a good place to start then, I think it used to have capture abilities....

tbaldridge22:03:37

video encoding and transfer to a online site is really hard.

baptiste-from-paris22:03:37

oh, let me check this

tbaldridge22:03:13

most sites just wrap ffmpeg, or VLC or something

qqq22:03:27

OBS is also good

baptiste-from-paris22:03:47

I tried OBS which is really good

baptiste-from-paris22:03:39

@tbaldridge if you have the time to answer I would be glad to hear why it’s really hard

tbaldridge22:03:14

well, firstly most systems want a variant of the H264 codec which is a super advanced video codec, so there's only about 1-2 implementations of that. Then there's the container format (think .avi vs .mov, etc.) so depending on what you're doing with video it may need to be in one format or another.

tbaldridge22:03:40

Then on top of all that, how you actually perform the screen capture can be hard. Is it done by the OS, or the GPU, etc.

tbaldridge22:03:39

And if you really have all your ducks in a row, you can do crazy stuff like have the GPU capture the video, do the H264 compression on the GPU itself, then have the GPU stream to the network socket directly (perhaps with a bit of help by the CPU).

tbaldridge22:03:44

That's where stuff like OBS and XSplit come into play, they're designed to handle the plethora of options available these days.

tbaldridge22:03:56

But anyways, that's all why it's hard to go and write your own in Clojure

baptiste-from-paris22:03:00

so I guess most of software vendors using video capture rely on other libs for capturing/encoding...

tbaldridge22:03:38

yeah, so a lot of this stuff is pluggable. NVidia supplies GPU compressors for FFMpeg. Capture cards supply FFMmpeg plugins as well.

tbaldridge22:03:44

actually a lot of stuff uses ffmpeg, lol

tbaldridge22:03:27

but there's other libs out there as well, and some OSes like Windows and OSX also supply their own codec plugin system

tbaldridge22:03:46

Quicktime on OSX is also the name for a set of libraries that do video conversion/compression

baptiste-from-paris22:03:47

it’s really exciting I think, I never thought about all of this before reading this facebook doc

tbaldridge22:03:57

yeah, it's pretty fun stuff

baptiste-from-paris22:03:36

ok, watching it, thx

baptiste-from-paris22:03:44

how do you know all that ? Have you worked on video stuff ?

tbaldridge22:03:53

in a previous life I did video editing as a "profession", but I've done some programming with ffmpeg and the like