Skip to content

pulling stream error #1878

Description

@SoulProficiency

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions