Menu

#127 When FW camera stops working, others sources do too

0.72
New
nobody
None
Medium
Linux
Unspecified
Defect
2015-06-17
2015-06-01
Tetsujin
No

What steps will reproduce the problem?

  1. Set up WCS with a Firewire camera as well as other sources (USB camera, animated image, etc.)
  2. Arrange the sources so all are active and visible in the feed.
  3. Disconnect the FW device by removing its cable from the computer.

What is the expected output?
Video from the FW device should either freeze or go blank. Other sources should keep working.

What do you see instead?
All sources freeze, and can't be restarted. (Judging from the error log it seems like pulling the plug crashed one of the threads.)

The Operating system you are using (Linux, Windows etc)?
Linux (Debian, stable/testing)

What version of WebcamStudio are you using?
0.73 build 584

What version of Java are you using?
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-2)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

What is your Webcamera vendor, model and version?
Sony Handycam DCR-TRV17 Firewire camcorder
Lenovo X220T integrated camera

For *nix users please enter the output from "sudo lsusb"?
Bus 003 Device 005: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP)

While this may seem like a random "abuse test" it came out of an apparent real need: I hadn't figured out how to keep my camcorder from turning itself off after a few minutes of capture, and so for a while the hope was that maybe when that happened, I could at least turn the camera back on and restart the source in WCS - but it was bringing down that thread and killing all the sources, effectively killing WCS until it was restarted. I have worked out the auto-shutoff issue, but there's still always the possibility that a power cord will get bumped or some other thing will bring the camera down, I'd rather not have it bring down the whole show, you know?

I don't know if it's limited to Firewire devices - I would guess not.

Discussion

  • Soylent TV

    Soylent TV - 2015-06-01

    Hi George,
    I will try that with a webcam to see if this happen.
    Don't really know if i will be able to troubleshoot this issue.
    Thanks for the feedback.
    karl

     
  • Soylent TV

    Soylent TV - 2015-06-01

    Just tested with removing a webcam while streaming, and seems that only the camera freeze and others sources continue playing.
    If i remove the WebcamStreamPanel and reconnect the camera, adding it again works ok.
    karl.

     
  • Tetsujin

    Tetsujin - 2015-06-17

    I believe this is related to ticket 128: specifically that when contact with the DV camera is lost, MasterFrameBuilder gets a timeout when trying to run capture from the device, which in turn causes an uncaught exception in the thread. I have a code change which should correct that but it's not yet ready for chicken.

     

Log in to post a comment.

MongoDB Logo MongoDB