we're working on a custom board built around a Variscite DART MX6Q.
On our carrier board we've an Analog Device ADV7280A used to capture and display an analog video source.
The ADV7280A has four input channel and we can switch between them writing commands through i2cset (there's a daemon with root privileges receiving commands from our Android Java application).
All is working fine but if we switch to a disconnected analog channel (or the camera connected is off) the camera display section of the application stop working and there's no way to get the video to stream again until system reboot.
Is there a way to reset the parallel video capture from Java application (or with a linux c program that can be launched through our daemon?)
Thank you, kind regards.
>>Is there a way to reset the parallel video capture from Java application (or with a linux c program that can be launched through our daemon?)
please look into android SDK on camera operations, which should provide STREAM_ON & STREAM OFF interface.
Use V4L2 API to do stream off / on operations.
Hope abvoe information is helpful for you .
Have a nice day!