VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Jan 2007
    Location
    France, Bretagne
    Search Comp PM
    Hi,
    I'm coding a dv capture tool, for recording video from a camera, 'in the fields'.
    The first releases are available at http://dvgrabgui.sourceforge.net or (for download) http://sf.net/project/dvgrabgui.
    Now, I'd like to be able to start/stop the capture just using the REC button of my camera. I think this is possible (the video capture hard drives seem to use this feature), but I hardly can't find any info about it (the IEC standard are'nt donwloadable for free ).
    So, if anyone has an idea ...

    Thanks by advance,
    Bastien
    Quote Quote  
  2. The DV specification has nothing to do with device control.

    Device control is specified by the AV/C Sub-unit protocols.

    On Windows, you have to use the avc.sys or avcstream.sys device drivers to communicate with the device via Firewire.

    Microsoft exposes user-mode interfaces to these device drivers in DirectShow.

    Typically, you use the IAMExtTransport interface.

    You have to continually poll the device for its transport state and, when you see that the record button has been pressed, start your capture. Some DV devices are supposed to be able to signal when a change occurs but I have yet to find one. All the devices I have tested have to be polled.

    Also, without a recordable tape in the device, the device may not even indicate that the record button has been pressed.
    John Miller
    Quote Quote  
  3. Member
    Join Date
    Jan 2007
    Location
    France, Bretagne
    Search Comp PM
    Thanks for the reply, Jhon.
    Though I'm coding under linux (sorry, I forgot to say it ), this informations should help me!
    Bastien
    Quote Quote  
  4. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I see this is almost 2 weeks old. Nevertheless...

    When the playback is stopped the data stream coming in will stop soon after. Would it be possible to set some sort of watchdog timer and detect that the capture buffers are empty and not moving any data?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!