kritzikratzi / edsdk4j

Canon SDK for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video Recording

RaveendraDhyani opened this issue · comments

please provide functionalty to record video using edsdk as , canon mention in his documentation of version 2.13 that now we can record video from canon camera.

this sounds like a great feature, but it also sounds like it would be a great deal of work.
do you want to look into it?

in case you are still looking for this,
i think i recall reading @anantapalani updated the bindings to 2.13.
maybe the video functions are there (somewhere :) )
https://github.com/anantapalani/edsdk4j

I was going to merge it with master and request a pull in the next few days if you wanted to wait

i've been following your progress. would be great to merge!
no hurry from my side.

so is video recording working with this update? sorry but i could not find that one sir,

Its my great need, please guide me.

i'll take a look when anantapalani's version is merged in.
until then you can try this:
slr.setProperty( 0x00000510, 4 ); // begin recording
slr.setProperty( 0x00000510, 0 ); // stop recording

not sure it works, but it's definitely worth giving it a shot.

thanks for replying..

On Thu, May 29, 2014 at 1:45 AM, hansi raber notifications@github.com
wrote:

i'll take a look when anantapalani's version is merged in.
until then you can try this:
slr.setProperty( 0x00000510, 4 ); // begin recording
slr.setProperty( 0x00000510, 0 ); // stop recording

not sure it works, but it's definitely worth giving it a shot.


Reply to this email directly or view it on GitHub
#3 (comment).

Thanks & Regards

Raveendra Kumar Dhyani

@RaveendraDhyani i know this was a long time ago. did you get it to work in the end?

Do you have any way to record a video yet :(

@RaveendraDhyani are u able to record a video ?

No , I could not get success on this.

i have too many things to do at the moment so i can't look into it myself (also i exclusively use this for time lapse recordings, so i don't even have a need for video recording).

i'm leaving this bug open though. if anyone can find a snippet of working c-code then please post it back here. maybe someone can find the time to investigate some more.

also if you made a reasonable attempt but failed, it could still be interesting to let us know what you tried and how it failed. if you find the email updates annoying: there's an "unsubscribe" button on the right side (scroll up a bit).

This is discussed at:

http://stackoverflow.com/questions/4037929/how-to-start-stop-video-recording-on-canon-camera-via-sdk

Getting the pictures from live view as an MJPEG stream is not a big thing. I am working on this today anyways.

The videorecording function public void recordVideo(FileOutputStream mjpegStream, int milliSeconds) is now available. It saves the LiveView JPEG images to an outpstream (which an be a file). To view the resulting file you might want to use VLC or use the https://github.com/BITPlan/com.bitplan.mjpegstreamer library.