Movie time limit investigation - page 3 - General Discussion and Assistance - CHDK Forum supplierdeeply

Movie time limit investigation

  • 22 Replies
  • 8401 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Movie time limit investigation
« Reply #20 on: 01 / August / 2011, 15:09:28 »
Advertisements
Great work! Time limits for video on some models have been bugging people for year (happily not me), so I do think this is a valuable feature. If you think there are thermal risks involved, maybe video length override should be combined with CCD temperature monitoring (do all cameras have that? I fear the ones that need this are often the ones with the cheapest hw...) and automated video shutdown by simulated shutter press upon crossing an upper threshold.

Or, just make it buildconf optional and disabled by default, with big warnings for those who want to risk it or only shoot videos outside during winter...  :D

*

Offline funnel

  • ****
  • 349
Re: Movie time limit investigation
« Reply #21 on: 01 / August / 2011, 17:20:59 »
Setting the normal video duration to 0xFFFFFFFF crashes the IXUS 310 when you stop recording (it also displays a warning icon when recording).
Same here, I did something wrong and the compiler didn't throw an error.

Now I tried other values and 0xFFFFF for 240,480p and 0xFFFF for 720,1080p appears to work.

Code: [Select]
"loc_FF2FB464:\n"
" LDR R0, [R6, #0xD8] \n"                 
" LDR R1, =0xFFFFF \n"                     //240p, 480p video limit 0xE0F
" MOV R0, R0, LSR #1 \n"                   
" STR R0, [R6, #0xDC] \n"                 
" LDR R0, [R10] \n"                       
" STR R0, [R6, #0xE4] \n"                 
" LDRH R0, [R10, #0x10] \n"               
" STR R0, [R6, #0xE8] \n"                 
" LDR R0, [R10, #4] \n"                   
" STRH R0, [R6, #2] \n"                   
" LDR R0, [R10, #8] \n"                   
" STRH R0, [R6, #4] \n"                   
" LDR R0, [R10, #0x14] \n"                 
" STR R0, [R6, #0xEC] \n"                 
" STR R8, [R6, #0x128] \n"                 
" LDR R0, [R6, #0xD0] \n"                 
" CMP R0, #0x140 \n"                       
" MOVEQ R0, #0x20000 \n"                   
" MOVEQ R5, #1 \n"                         
" STREQ R0, [R6, #0xAC] \n"               
" BEQ loc_FF2FB4F8 \n"                     
" CMP R0, #0x280 \n"                       
" LDREQ R0, =0x7A760 \n"                   
" MOVEQ R5, #2 \n"                         
" STREQ R0, [R6, #0xAC] \n"               
" BEQ loc_FF2FB4F8 \n"                     
" CMP R0, #0x500 \n"                       
" LDREQ R0, =0x11DA50 \n"                 
" LDR R1, =0xFFFF \n"                    //720p, 1080p video limit 0x707
" MOVEQ R5, #4 \n"                         
" STREQ R0, [R6, #0xAC] \n"               
" BEQ loc_FF2FB4F8 \n"                     
" CMP R0, #0x780 \n"                       
" BNE loc_FF2FB500 \n"
" MOV R0, #0x200000 \n"                   
" MOV R5, #5 \n"                           
" STR R0, [R6, #0xAC] \n"                 

*

Offline funnel

  • ****
  • 349
Re: Movie time limit investigation
« Reply #22 on: 02 / August / 2011, 08:25:04 »
I did a succesful test video recording at 240p, 1h 20m long. The ccd temp went from 40C to 54C after 1 hour, then I put a computer fan next to the camera and after 10 minutes the temperature went down to 45C.

Doing this tests I found a new bug in the camera(sx220). When I set the video quality override to low (1-30) the camera crashes randomly between 1-5 minutes of recording. At quality 50 works.

 

Related Topics