-
Notifications
You must be signed in to change notification settings - Fork 0
reactmx WIP #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
reactmx WIP #1
Conversation
ref: uniroma uum bugs #1
ref: uniroma uum bugs #1
Update: The branch at https://github.com/gpac/gpac/tree/buildbot-rmtws now replaces Remotery with an ad-hoc websocket server. The main difference for this use case are:
A very basic example of gpac js controller for websocket server can be found here: https://github.com/gpac/testsuite/blob/buildbot-rmtws/media/jsf/gpac.js#L17 There are also usage samples for js/node/python in https://github.com/gpac/gpac/tree/buildbot-rmtws/share/rmtws To use them: # js
gpac -js=jsrmt.js -p=0 -rmt -logs=rmtws@info avgen reframer:rt=on inspect:deep
# node
node nodermt.js -p=0 -rmt -logs=rmtws@info -f=avgen -f=reframer:rt=on -f=inspect:deep
# python
python3 pyrmt.py -p=0 -rmt -logs=rmtws@info -f=avgen -f=reframer:rt=on -f=inspect:deep Then open https://github.com/gpac/gpac/blob/buildbot-rmtws/share/rmtws/index.html in a web browser and you should see a json dump of all loaded filters. The More sophisticated UIs and data exchange formats can be implemented from there. The branch https://github.com/aureliendavid/gpac/tree/rmtws-reactmx has the same content + the reactmx UI described in the original post. You can use it with e.g.:
Then |
df60a48
to
a4e8c77
Compare
e87ab0f
to
33ff082
Compare
[ use https://github.com/aureliendavid/gpac/tree/mxwithbuild branch and
share/reactmx/build/index.html
file to run the UI without npm/react ]attempts and tests towards a mxgraph-based filters bench UI for gpac
(this is very WIP and unstable and unorganized, this branch serves as dev backup mostly for now)
goals:
basic implementation ideas:
usage:
-rmt
and-js share/reactmx/mx.js
e.g.:
gpac -p=0 -rmt -js=mx.js -graph -stats -i bcs.mkv aout vout
npm run start
inshare/reactmx/
and open localhost:3000 in browserOR, for test, just open
share/reactmx/build/index.html
(from the mxwithbuild branch)(might need some F5s before something is displayed)
todos:
gpac -webui <args>
)