issues with open and fopen while recording video - page 7 - General Discussion and Assistance - CHDK Forum supplierdeeply

issues with open and fopen while recording video

  • 69 Replies
  • 9073 Views
Re: issues with open and fopen while recording video
« Reply #60 on: 06 / December / 2014, 19:42:16 »
Advertisements
Shows that this camera sets movie_status 6 while in video mode (and oops, i misspelled movie in the log :[), but not recording, so it should have #define CAM_HAS_MOVIE_DIGEST_MODE 1  even though it doesn't actually have movie digest. We should probably rename this define... S100 is similar, except is actually has movie digest. Powershot N appears to have movie modes (VIDEO_STD and VIDEO_SPEED), and needs CAM_HAS_MOVIE_DIGEST_MODE since movie_status is 6 in these modes.
Will you make the necessary additions to the three platform_camera.h files?  TIA.

Quote
The script tried to use shoot_full to start the video. Since it took stills, I assume the camera has a different way of starting recording, but I guess it doesn't have a physical video button, so CAM_HAS_VIDEO_BUTTON is not defined. Can video recording be started with script at all on this cam?
Video starts/stops via an always present touchscreen button.  Have not looked at using video much though - will do so when the battery recharges.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3116
    • Photos
Re: issues with open and fopen while recording video
« Reply #61 on: 06 / December / 2014, 20:19:11 »
Video starts/stops via an always present touchscreen button.  Have not looked at using video much though - will do so when the battery recharges.

I added code to kbd.c for the IXUS310 to simulate a physical video button and respond to KEY_VIDEO presses from scripts.

This should work for the N as well.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)

Re: issues with open and fopen while recording video
« Reply #62 on: 06 / December / 2014, 22:04:24 »
For reference,  the sx50hs passes all tests.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1305
Re: issues with open and fopen while recording video
« Reply #63 on: 07 / December / 2014, 23:35:34 »
patch for a810, and test results after apply the patch in attachment.
Should CAM_IS_VID_REC_WORKS be included in A810 and models tested by waterwingz?


*

Offline reyalp

  • ******
  • 11992
Re: issues with open and fopen while recording video
« Reply #64 on: 07 / December / 2014, 23:46:15 »
patch for a810, and test results after apply the patch in attachment.
Should CAM_IS_VID_REC_WORKS be included in A810 and models tested by waterwingz?
Yes, for all cameras the test script passes on. Thanks for catching that.
Don't forget what the H stands for.

*

Offline koshy

  • *****
  • 840
Re: issues with open and fopen while recording video
« Reply #65 on: 09 / December / 2014, 22:33:47 »
The script is now included in the trunk SCRIPTS/TEST directory. Getting more cameras tested would be helpful.
I'm not really involved with video on these compacts but nafraf pointed me here so I'll help. The attached should take you a big leap ahead. When I looked at the screen I tried to denote failures in the file names but I'm sure I didn't always pay attention as I was fiddling with the next cam at times. I also put a few notes of encountered camera oddities into the file names. You'll see. Two cams crashed, ROMLOGs enclosed.

:xmas :xmas :xmas

*

Offline nafraf

  • *****
  • 1305
Re: issues with open and fopen while recording video
« Reply #66 on: 12 / December / 2014, 08:05:51 »
Thanks. Changes committed to trunk, changeset 3794.
Edit:
The list of errors on some models, these bugs have not been fixed:
crash: ixus700, sx120
change mode fail: ixus30, ixus40
CAM_HAS_MOVIE_DIGEST_MODE missing: ixus1000
video record start timeout: A2100, ixus1000, ixus200, ixus65, ixus95, sx200
« Last Edit: 12 / December / 2014, 11:14:31 by nafraf »

*

Offline koshy

  • *****
  • 840
Re: issues with open and fopen while recording video
« Reply #67 on: 14 / December / 2014, 21:19:00 »
I also put a few notes of encountered camera oddities into the file names.
Having used the same SD card on all cams for convenience (so that the test script would be configured without doing anything else on each subsequent cam) some settings related things slipped in...

For ixus120, the keyboard code is fine, KEY_PLAYBACK is the ALT key
For ixus800 KEY_PRINT is the ALT key

No problems with those two. Nafraf fixed I100 and I105.


Re: issues with open and fopen while recording video
« Reply #68 on: 14 / December / 2014, 22:06:13 »
For ixus120, the keyboard code is fine, KEY_PLAYBACK is the ALT key
My first port .. I should hope it would be fine.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline koshy

  • *****
  • 840
Re: issues with open and fopen while recording video
« Reply #69 on: 15 / December / 2014, 20:37:14 »
As requested per PM retests for I30 and I40. there is a switch play / video / photo mode on either. I'm including results when set to both video and photo. In case of Photot no video gets recorded, two photos get taken.

For ixus120, the keyboard code is fine, KEY_PLAYBACK is the ALT key
My first port .. I should hope it would be fine.
Then I'm glad to have found that it was a glitch in what I was doing ;)

 

Related Topics