EOS Canon USB Video Caputre Open Source App

Started by reddeercity, July 07, 2016, 08:39:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reddeercity

Hope that get's your attention  ;) I came a cross a open source app (PC & Mac) that Capture the video stream thought the USB 2.0 cable to your computer .
Here the link to the software called "EOS Camera Movie Record 0.3.3 beta"  , did some testing with ML installed on my 5D2.
There's some limitations of course , you don't get the full HD and it's more then SD (720x480) it's some where in between  1024x680 as a AVI .

USB_5D2_Capture
by RedDeerCityTV, on Flickr

While Recording

USB_5D2_Capture_recording
by RedDeerCityTV, on Flickr

General
Complete name                            : C:\Users\i5Dell\Videos\out_7.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 141 MiB
Duration                                 : 23s 776ms
Overall bit rate                         : 49.8 Mbps
Recorded date                            : 2016/07/06 20:52:27
Writing application                      : eos-movrec 0.3.3 beta
Comment                                  : AE: M; ISO: 400; Tv: 1/30; Av: 2,2

Video
ID                                       : 0
Format                                   : JPEG
Codec ID                                 : MJPG
Duration                                 : 23s 776ms
Bit rate                                 : 49.8 Mbps
Width                                    : 1 024 pixels
Height                                   : 680 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 24.100 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 2.966
Stream size                              : 141 MiB (100%)


Now the interesting thing is you can record in 3X Crop mode or as the app says 5x Zoom , Here some screen shots .


USB_5D2_Capture3xCrop
by RedDeerCityTV, on Flickr

In Crop mode you get a bigger frame size 1120x752 and for some reason the encode rate is very high almost 85 Mbp/s where as in 1:1 it's around 50 Mbp/s 

General
Complete name                            : C:\Users\i5Dell\Videos\out_9.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 348 MiB
Duration                                 : 34s 586ms
Overall bit rate                         : 84.3 Mbps
Recorded date                            : 2016/07/06 20:52:27
Writing application                      : eos-movrec 0.3.3 beta
Comment                                  : AE: M; ISO: 400; Tv: 1/30; Av: 2,2

Video
ID                                       : 0
Format                                   : JPEG
Codec ID                                 : MJPG
Duration                                 : 34s 586ms
Bit rate                                 : 84.3 Mbps
Width                                    : 1 120 pixels
Height                                   : 752 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 24.114 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 4.150
Stream size                              : 348 MiB (100%)



USB_5D2_Capture3xCrop_Setting
by RedDeerCityTV, on Flickr

Configuration window , I had it up to 10MB buffer but didn't see any real difference in performance or compression .

Author of the App

USB_5D2_Capture3xCrop_About
by RedDeerCityTV, on Flickr

Here are some sample in my dropbox that can be downloaded  :D

https://www.dropbox.com/s/hjcmzv15wqjmwqn/out_6.avi?dl=0   (275MB - 3x Crop Mode)
https://www.dropbox.com/s/37o1svocliz2h96/out_7.avi?dl=0       (145MB - 1:1 Mode)
https://www.dropbox.com/s/4pym0rf0kqfw6m9/out_9.avi?dl=0    (356MB - 3x Crop Mode)

I Know way back a few years ago A1ex had this working but not sure if it was internal recording or not , I guess I should mention it's YUV @ 4:2:2 MJPG compression same as the 1DC .
The big drawback is the lack of resolution , I was looking at the code  but really could not see where this limitation is . Or could this be a Jpeg chip hardware limitation ? If ML could implement MJPG compression over h264 that would great or for proxy record it limited to 1024x680 & 1120x752 resolutions , mind you I did not try to record raw video at the same time as USB capture , I was being cautious not to brick my 5D2 .

One thing I did notice thou if you change the Picture profile from Landscape to Neutral and customize the setting  , as this effect the live view the capture rate in 1:1 mode drop down in fps from 24+ to around at the lowest I saw 22 fps but this dose not effect 3X Crop it still captures at 24p . So this leads me to believe that the native Color/Picture Profile is Landscape mode for liveview
where the camera resources are taxed that much more to dropdown performance .

Will I hope this is helpful to anyone if you need to capture a live event for hours , just not at full HD that all , unless some dev. knows how to change the resolution or if we could record  internally with raw that would be better  8) .
Thanks for reading , have a great day !




DeafEyeJedi

5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

reddeercity

Found this Thread (M)JPEG encoder very good read if anyone interested .