Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handle for video signal interruption #6

Closed
martialgallorini opened this issue Sep 22, 2014 · 6 comments
Closed

better handle for video signal interruption #6

martialgallorini opened this issue Sep 22, 2014 · 6 comments

Comments

@martialgallorini
Copy link
Contributor

Hi,

i use bmd-streamer to stream an SDI video camera image through UDP Multicast.
when signal breaks (camera disconnected or off) stream breaks and error occurs.
reconnecting the camera (or turning back on) doesn't fix. Stream needs to manually be launched again.

would be nice if stream cleanly stops and waits for the signal to appear again.

thank you

@fabled
Copy link
Owner

fabled commented Sep 23, 2014

Are you disconnecting encoder, or camera? I believe disconnecting encoder should work. But disconnect camera probably does not. It is mentioned in the source comments. And yes, this should be fixed.

@martialgallorini
Copy link
Contributor Author

Here are some feedback :

  • Disconnecting the device (unplug usb) : stream stops and comes back when usb plugged again.
  • Disconnecting camera or removing device power supply :
    [2/2 1edb:bd43]: Input Mode, 0xff (display mode 0x02) not supported1kbits/s
    [2/2 1edb:bd43]: Switching source to HDMI
    [2/2 1edb:bd43]: Input Mode, 0xff (display mode 0x02) not supported
    [2/2 1edb:bd43]: Switching source to HDMI
    [2/2 1edb:bd43]: Input Mode, 0xff (display mode 0x02) not supported
    ...etc

doesn't see the signal when camera is connected back on

@fabled
Copy link
Owner

fabled commented Sep 23, 2014

Yes. It changes MUX to take in from HDMI. And you had SDI connected, right?

I can add a switch to select the proper input sometime this week. I just need to analyze which value was which.

@fabled
Copy link
Owner

fabled commented Sep 24, 2014

Please re-test now with issue #7 fixed. It might fix this as well.

@martialgallorini
Copy link
Contributor Author

ok works nice now. Can disconnect camera. Send message :
[2/32 1edb:bd43]: Input Mode, 0xff (display mode 0x02) not supported

when reconnecting : stream restarts.

so ok for me

thanks a lot

@fabled
Copy link
Owner

fabled commented Oct 1, 2014

Ok. Good. Though, I think it will not work if the resolution changes between disconnect/connect. I'm keeping the ticket open as a reminder to fix that.

@fabled fabled closed this as completed in cf69127 Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants