Skip to content

pulling stream error #1878

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

Open
SoulProficiency opened this issue Apr 24, 2025 · 0 comments
Open

pulling stream error #1878

SoulProficiency opened this issue Apr 24, 2025 · 0 comments

Comments

@SoulProficiency
Copy link

i try av.open to pull a rtsp stream which is come from liveNVR.here is the error info:
Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/python3/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/python3/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/ascend/ascend_new_arch/seal_utils/capture_server.py", line 239, in _decode_thread
for packet in self.caps[cap_ip].demux([stream[0]]):
File "av/container/input.pyx", line 170, in demux
File "av/container/core.pyx", line 285, in av.container.core.Container.err_check
File "av/error.pyx", line 336, in av.error.err_check
av.error.ExitError: [Errno 1414092869] Immediate exit requested: 'rtsp://192.168.10.207:554/stream_1'
how can we overcome this issue? this rtsp stream can be pulled by VLC or opencv-python

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

1 participant