Skip to content

Comments

Sampler#3

Open
jamet wants to merge 40 commits intoGiladx:masterfrom
jamet:sampler
Open

Sampler#3
jamet wants to merge 40 commits intoGiladx:masterfrom
jamet:sampler

Conversation

@jamet
Copy link

@jamet jamet commented Mar 25, 2015

hi Gilad,

was still working on lpmt, and i was tryng to implent a sampler feature with the cam cam feed.

it works quite good, but i also want to use YUV pixelFormat to have less latency on cam feed (would like to use this for a juggling perfomance so i need the least latency possible).

Problem is that when i set pixelformat to YUV (I420) with the sampler feature, there seem to be an incompatibility with ofxSimpleGuitToo which make the cam feed blink.

I was wondering if you were interested in such feature and if you have time, could you try to clone my repo branch "sampler" (you will also need my fork of ofxPlaymodes anf ofxTimeline and the current master of OpenFrameworks) to see if you can reproduce the problem.

This pull request is not sent to be merged but just to get in contact.

Thanks in advance,

@Giladx
Copy link
Owner

Giladx commented Mar 29, 2015

Hey Jamet
I have cloned your repository and already compiled the Sampler but with no success to run your Lpmt fork, the build finish with no errors but when I run it the GUI window is not starting. With codeblocks it asks to rebuild before run any time. maybe you have any idea? I do want to try it and see if i can make it work.

I have a great interest of adding as more as possible futures to my fork, I am also working on a remote GUI communicating with OSC made with ofxGui.
screenshot

and I have plans to add more shaders as a Filter section. and a video timeline section (the hard part) ;)

Thanks for this contact

@jamet
Copy link
Author

jamet commented Mar 29, 2015

Hi Gilad,

I think i fix the issue after 2 weeks of deep struggling into a lots of things, it turns out it was just a bad mistake in my fork of ofxPlaymodes since i didn't init the grabber with textures ;)

Anyway, if you clone my freshly updated repos, it should work, but i quite messed the code debugging, i will try to clean a bit and get back to you, i also need to rethink a problem in the sampler that cause the bufferd frames to stop when you record on an other buffer of the same cam, but that shouldn't be hard to work it out.

I think i have an idea for your window problem, on my old laptop, i can only make OF apps run with ofAppGlutWindow, maybe yours doesn't support GLUT windows ?it's only an hint... but it seems quite realistic since there is no compile errors, maybe try to change it to other window type

i will try tomorrow to compare my local clone and the github repo to make a cleaner code.
I also think i should work a bit on the xml config so that i can pass pixel_format parameters directly in xml instead of hardcoding it. (by the way it's really interesting to work with YUV, it works with far less latency when displaying the cam feed, but the image has no color...)

Your idea of a remote gui look quite nice :)
I think i also understood by looking at your commits that you wanted to increase quad numbers to 72, might also be a good idea.
I must admit i don't really get the shaders or the video timeline sections yet...

i thought that you were also interested in working on dmx control, which could be a nice feature also

Maybe we should also work on the mask sections, would be quite good to have a mask with a jpeg (or any image type) to have the capability to mask multiple zones?

An other user, Foaly, is also working on lpmt and seem to make a really good work on it, but he forked hvfrancesco repos, so it might be hard to merge all his commits directly but it should be interresting.
I got briefly in contact with him and i think that should be interresting to work with this guy also...

by the way i tried to contact with hvfrancesco, but got no answer, do you know if he is stil interrested in this project?

He was talking about an lpmt version on RPI, which could be also very fun :)

I don't know if this PR is a good way to keep communicating but you can PM me on openframeworks forum (username jamet) if you want to discuss a bit further, might be a good place to get even more people involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants