Getting RAW Video

All things embedded.
*NO FEATURE REQUESTS*

Getting RAW Video

Postby leegong » Thu Nov 13, 2014 9:10 pm

Just found that there are several different kinds of source for LiveView intermedia product which
is fed to HDMI .
1) 12bits_1664x1088 source
2) 12bits_4928x2400 source
3) 12bits_4928x1400 source
Firmware activates 2) or 3) if dist_x10_ent.field_39E4.bit6:5 == 1 ,
dist_x10_ent.field_39E4 comes from struc_79.field_39F0 .
I even found 14bits 1664x1088 source setting for liveview at 0x241A00 .
The key point now is how to activate 2) or 3) , and change setting of chip4001 to get
12bits LV stream , firmware uses setting 1) now for normal Liveview , see code at 0x00121774 in the following screenshot .
EDIT : setting 2) , 3) are strongly related to sensor , EI155 task code , however still a mess to me .
Attachments
HQ_LV.png
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: HQ LiveView

Postby nikkor » Fri Nov 14, 2014 8:58 am

OMG.
nikkor
 
Posts: 138
Joined: Mon May 20, 2013 11:06 am
Been thanked: 44 times

Re: HQ LiveView

Postby jimyjames » Fri Nov 14, 2014 9:41 am

Yup....Leegong, THIS is exciting.
jimyjames
 
Posts: 46
Joined: Sat Oct 12, 2013 8:09 am
Been thanked: 10 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby leegong » Fri Nov 14, 2014 11:57 pm

Just wrote a patch to get RAW vdieo , if it works ,
each RAW video frame should be written as one file to SD card ,
based on my current decoding , the RAW video file probably is 1664 x 1088 12bits BAYER format ,
probably the RAW video data has not been processed with White Balance tuning , Color correction , gamma adjustment ...
Anybody wants to test the patch ?
Note :
I can not promise no risk of bricking , it's at your own risk .
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby Sandco » Sat Nov 15, 2014 1:02 am

Would love to test this patch

Can post videos comparing to 64mbps and also clean HDMI out to atomos recorder

Sandcompanytablet@gmail.com
Sandco
 
Posts: 26
Joined: Tue Nov 11, 2014 9:22 pm
Been thanked: 9 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby Sandco » Sat Nov 15, 2014 2:11 am

Just loaded the patch and recorded a test video

Inspection shows the video was 8bit 22mbps .mov file

Did I need to have camera on a certain setting before recording?
I know the firmware updated because I was using the 64mbps patch

I will continue trying to locate the raw video
Thank you so much leegong and the nikon hacker team
Sandco
 
Posts: 26
Joined: Tue Nov 11, 2014 9:22 pm
Been thanked: 9 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby leegong » Sat Nov 15, 2014 2:45 am

Just load the patched firmware , then activate LiveView , no more actions are required .
If the patch works , it should generates lots of LV_?????.RAW files on SD card ,
do you get these files ?
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby Sandco » Sat Nov 15, 2014 2:58 am

I am not getting the raw live view files on my SD card

Tried on 2 d5100s and 3 different SD cards
Sandco
 
Posts: 26
Joined: Tue Nov 11, 2014 9:22 pm
Been thanked: 9 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby leegong » Sat Nov 15, 2014 3:07 am

Sandco wrote:I am not getting the raw live view files on my SD card

Tried on 2 d5100s and 3 different SD cards


That's due to problem of patch , no need to try different cameras and cards , sorry .
I'll rewrite the patch and keep you updated .
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: Getting RAW Video [Was:HQ LiveView}

Postby leegong » Sat Nov 15, 2014 3:07 am

Sandco wrote:I am not getting the raw live view files on my SD card

Tried on 2 d5100s and 3 different SD cards


That's due to problem of patch , no need to try different cameras and cards , sorry .
I'll rewrite the patch and keep you updated .
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Next

Return to Firmware

Who is online

Users browsing this forum: No registered users and 1 guest