kritzikratzi / edsdk4j

Canon SDK for Java
Other
109 stars 33 forks source link

Video Recording #3

Closed RaveendraDhyani closed 8 years ago

RaveendraDhyani commented 10 years ago

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.

kritzikratzi commented 10 years ago

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?

kritzikratzi commented 10 years ago

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

anantapalani commented 10 years ago

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

kritzikratzi commented 10 years ago

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

RaveendraDhyani commented 10 years ago

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

Its my great need, please guide me.

kritzikratzi commented 10 years ago

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.

RaveendraDhyani commented 10 years ago

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 https://github.com/kritzikratzi/edsdk4j/issues/3#issuecomment-44458462.

Thanks & Regards

Raveendra Kumar Dhyani

kritzikratzi commented 9 years ago

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

Sx3 commented 9 years ago

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

Sx3 commented 9 years ago

@RaveendraDhyani are u able to record a video ?

RaveendraDhyani commented 9 years ago

No , I could not get success on this.

kritzikratzi commented 9 years ago

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).

WolfgangFahl commented 8 years ago

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.

WolfgangFahl commented 8 years ago

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.