Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,518 Members 50,768 Now Online
XDA Developers Android and Mobile Development Forum

[APP][2.2+][USB]ML Controller 0.0 - Canon V-DSLR + Magic Lantern controller app

Tip us?
 
sztupy
Old
(Last edited by sztupy; 3rd March 2012 at 02:34 AM.)
#1  
sztupy's Avatar
Recognized Developer - OP
Thanks Meter 856
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
Arrow [APP][2.2+][USB]ML Controller 0.0 - Canon V-DSLR + Magic Lantern controller app

ML Controller 0.0 - Canon V-DSLR + Magic Lantern controller app

Note: This app is in an early stage of development (This is reflected in the version number). Expect crashes, freezes and lack of support.





This app will let you control some aspects of your Canon V-DSLRs with your Android device. If it has Magic Lantern installed on them, you will also have access controlling some Magic Lantern features.

Currently supported features are:

On bare Canon Firmware
* LiveView support during Movie mode, including LiveView while recording

With ML installed
* Changing any ML menu item

Tested on:

Cameras:
* Canon 60D

Android devices:
* Samsung Galaxy S i9000 phone, running CM9 with USB host kernel
* Teclast P76Ti tablet running ICS
* Android-x86 running ICS in VMWare Player

See the FAQ on compatibility with other devices

Introductory video:



FAQ: Post #2
ChangeLog: Post #3
Notes: Post #4
Download: Post #5
Attached Thumbnails
Click image for larger version

Name:	feature.jpg
Views:	17822
Size:	30.1 KB
ID:	929053   Click image for larger version

Name:	device-2012-03-02-183839.jpg
Views:	17828
Size:	25.5 KB
ID:	929056  
The Following 4 Users Say Thank You to sztupy For This Useful Post: [ Click to Expand ]
 
sztupy
Old
(Last edited by sztupy; 3rd March 2012 at 02:24 AM.)
#2  
sztupy's Avatar
Recognized Developer - OP
Thanks Meter 856
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
Default FAQ

What is a VDSLR?

VDSLRs are Digital cameras that have the side functionality of recording videos, hence their name: Video Digital Single-Lens Reflex Camera

What is Magic Lantern?

Magic Lantern is an aftermarket firmware for Canon VDSLRs. It is more like like CyanogenMod is for Android devices: it brings lots of functions not available on the stock Canon Firmware.

What is this for?

This application will let you control some features of Canon VDSLRs from your Android device. Currently the available features are very slim, but that's because this is only an initial pre-release:
* Accesss to LiveView (even while recording)
* Access and set Magic Lantern menu items (if ML is installed)

Isn't there already an app for this?

Yes, Chainfire's DSLR Controller is capable of controlling Canon cameras too. Although I haven't used it, I'm sure it's much more stable, supported and has much more features.

But I think there is market for another app, that is mainly designed for videographers. Having helper code also running on the device (via Magic Lantern FW) also gives you more options avialable.

What devices are supported?

Currently the app was tested on the following devices:

Cameras:
* Canon 60D

Android devices:
* Samsung Galaxy S i9000 phone, running CM9 with USB host kernel
* Teclast P76Ti tablet running ICS
* Android-x86 running ICS in VMWare Player

It should however also work on the following devices:

Cameras:
* Any Canon DSLR camera and firmware version that is supported by the Magic Lantern unified Firmware:
* Canon 5D Mark II
* Canon 60D FW 1.1.0
* Canon 600D FW 1.0.1
* Canon 550D FW 1.0.9
* Canon 50D FW 1.0.8
* Canon 500D FW 1.1.1

Android Devices:
* Any Android devices that have USB Host functionality and have at least Froyo running on them
* It was tested on two NEON capable ARMv7 and an x86 device, but it also has code to support older ARM, NEON-less ARMv7 and MIPS based (like the Ainol Paladin) devices too.

Which versions of ML are supported?

Currently the code for accessing the device via USB is not merged upstream. I hope it will be done sometimes. Until that you need to download ML from my branch

What are "USB drivers"?

In ML Controller there are two USB Drivers avialable:
* Android API
* Native Kernel Interface

Android API is available since Honeycomb, and is an official Java based API on getting data from USB devices. It doesn't have some features (like reseting the device), and is based on Java, so it's a bit slower.

Native Kernel Interface is available on all rooted Android devices (and also on devices which have their usb permissions set wrongfully). It can access the USB devices natively without using Java, and also has a few functions that are missing from the official Android implementation. If you have a rooted device you should use this driver for performance.

What are "NEON optimizations"?

NEON is an advanced instruction set avialable on some high-end ARMv7 (Cortex-A8 and Cortex-A9) devices. Most Cortex-A8 and A9 based devices have NEON capabilities (including Samsung's Exynos, TI's OMAP, Qualcomm's Snapdragon and Allwinner's A10 processors), the most notable exception is nVidia's TEGRA 2 and TEGRA 3 processors, which unfortunately do not have this instruction set.

If NEON optimizations are enabled image processing tasks are processed natively using libjpeg-turbo for jpeg decompression and some self written asm code for YUV422->RGB conversion. If these optimizations are disabled then Java APIs will be used for JPEG decompression.

LiveView Image is grayscale while recording, why?

Color image rendering is currently only avialable if you enable "NEON optimizations". Java is too slow to process color information, and ATM I've made no native alternatives to support non-NEON capable processors.

LiveView Image colors are off while recording, why?

The code is based on Wikipedia's YUV422->RGB article. In a later version you will be able to fine tune the parameters.

After selecting the device in the device list nothing happens, what should I do?

Try shutting off the camera and turning it on again. Also try to use Movie mode on the Camera. You can also try switching "USB drivers".

The camera hanged, now it won't even turn off, what should I do?

Take the battery out and put it back again.

I hate you!

This is not a question. But you're welcome!
The Following User Says Thank You to sztupy For This Useful Post: [ Click to Expand ]
 
sztupy
Old
(Last edited by sztupy; 3rd March 2012 at 02:25 AM.)
#3  
sztupy's Avatar
Recognized Developer - OP
Thanks Meter 856
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
ChangeLog:

0.0 - 2012-03-02
* Initial version
 
sztupy
Old
(Last edited by sztupy; 3rd March 2012 at 02:25 AM.)
#4  
sztupy's Avatar
Recognized Developer - OP
Thanks Meter 856
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
Notes:

Reserved
 
sztupy
Old
(Last edited by sztupy; 3rd March 2012 at 02:28 AM.)
#5  
sztupy's Avatar
Recognized Developer - OP
Thanks Meter 856
Posts: 1,054
Join Date: Dec 2008
Location: London

 
DONATE TO ME
Downloads:

Latest version is always avialable on Android Market: https://market.android.com/details?i...d.mlcontroller

0.0:
MLController: http://android.sztupy.hu/dl/mlcontro...roller-0.0.apk
Magic Lantern: http://android.sztupy.hu/dl/mlcontro...usb.sztupy.zip
 
CyberpunkDad
Old
#6  
CyberpunkDad's Avatar
Senior Member
Thanks Meter 31
Posts: 175
Join Date: Nov 2011
Location: Oswego, IL
This looms cool. 550d ML user here. Would the primary use be to use phone lime an external monitor for video like some of the rigs I've seen pictures of?

Sent from my SGH-I777 using xda premium
 
heartbeat.rulez
Old
#7  
Member
Thanks Meter 1
Posts: 69
Join Date: Apr 2008
i have a 550d with ml and a htc hd2 with android mod

and i will use this feature

is it possible

otherwise i use dslr remote pro with my netbook
 
jamesd256
Old
#8  
jamesd256's Avatar
Senior Member
Thanks Meter 7
Posts: 227
Join Date: Feb 2007
This is awesome. Thanks very much for this, and please keep going, it's going to be SO cool.
Teamhacksung's CM9 ICS B15, Devil Kernel

Magician,Tytn,Kaiser,Athena,Raphael,G1,iPhone,Desi re, SGS
 
stupid_productions
Old
#9  
Member
Thanks Meter 2
Posts: 30
Join Date: Dec 2010
Location: Saskatchewan
Wow, never heard of either projects before. Very interested in testing both out as well as ML. Thanks for the hard work in development.
Samsung Galaxy S (I9000) :: Team ICSSGS RC4.2; Devil Kernel; UGKC1 Modem
Samsung Galaxy Tab 10.1 :: Galaxy Task 14 Full; b00sted's AOSP Theme
Samsung Galaxy Tab 2 7.0 :: CM9
 
ivan1071
Old
#10  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Aug 2010
Default 550d+ Ainol Novo 7Advanced II

Hi, good job... worked perfect with ML and native kernel... but I had to stop testing cause the battery drained after a couple of days of testing DSLRController... without any result....

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android App Review: Control Your Phone with Quick Control Panel – XDA Developer TV

Your Android smart device has many features that you … more

Play Music on Android Wear with Stellio Music Player

Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more

Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more