abhiTronix/deffcode

[Question]: OPen multiple Same Camera, ValueError: Invalid source with no decodable audio or video stream provided. Aborting!

Closed this issue · 1 comments

Issue guidelines

Issue Checklist

  • I have searched open or closed issues for my problem and found nothing related or helpful.
  • I have read the Documentation and found nothing related to my problem.

Describe your Question

OPen multiple Same Camera, ValueError: Invalid source with no decodable audio or video stream provided. Aborting!

Terminal log output(Optional)

ValueError: Invalid source with no decodable audio or video stream provided. Aborting!

Python Code(Optional)

decoder = FFdecoder("0", frame_format="bgr24",custom_ffmpeg="./ffmpeg/bin", verbose=True,**ffparams).formulate()
decoder = FFdecoder("1", frame_format="bgr24",custom_ffmpeg="./ffmpeg/bin", verbose=True,**ffparams).formulate()
decoder = FFdecoder("3", frame_format="bgr24",custom_ffmpeg="./ffmpeg/bin", verbose=True,**ffparams).formulate()

DeFFcode Version

0.2.3

Python version

3.10

Operating System version

windows

Any other Relevant Information?

No response

ValueError: Invalid source with no decodable audio or video stream provided. Aborting!

@GavinJIAW This error means that one of the source value is invalid, meaning there's no device at "0" or "1" or "3" index, check logs to get more insight. And it is perfectly fine to open multiple cameras, as long as your system allows it.