-
Notifications
You must be signed in to change notification settings - Fork 62
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
minor changes #44
minor changes #44
Conversation
Great that you have it running on the A7. I'm really keen to get my hands on a RX0 (too pricey though :-( ). Quick review, didn't build/run... Can you confirm/make sure that 'src/LiveviewHelper.py' is included is the dist after a 'sudo python setup.py' - the 'comp_url' stuff isn't meaning that the examples can't run out of tree. Regarding 'doc/a7r.txt', I pushed some changes to 'dump_camera_capabilities.py' a couple of days ago so that the true nature of the camera can be dumped. In particular you can use '-a' to show available (rather than supported) calls/parameters for the current configuration, and '-S', '-E' and '-F' to change the configuration on the camera. Examples for the QX10/AS15 in my 'doc' folder. |
Hmmm don't see the 'added' files within this pull request for some reason. They are here: |
Looking through this more, and see that you've includes the "actEnableMethods" call with a fixed key and method list - does this actually work on your camera? "Result" value should have SG="". My understanding is that the particular key used should have a much longer method list.... I don't really think we should limit end user to just one key. A better approach may be to provide the call in pysony and the key/method list in a separate file/example. Afterall each (legit) developer should uses their own... ;-) |
The following (returning URL rather than opening via liburl) breaks pygameLiveview and pyLiveview (GTK) examples:
'class LiveviewStreamThread()' doesn't allow access to packet header and does not check what type of packet it is. Livestream data can be interleaved with 'frame info' data. pygameLiveview example decodes this here: |
Fix for frameinfo packet attached. Enjoy :-) |
Tested on a7r (ILCE-7R) firmware Ver 3.20; on-camera Remote Camera app Ver 4.30
Tested on python 2.7 & python 3.5
Changes:
use
struck.unpack
to read and parse the stream data[kill TODO] liveview with flask sample: streaming from memory
add api lists dumped from a7r