Opened 5 months ago

Last modified 10 days ago

#7546 new defect

Getting remote stream problem via RTSP: could not find codec parameters

Reported by: fri.k Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: rtsp
Cc: brigidbrig@yandex.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: I can't store rtps stream from surveillance camera using FFmpeg, while VLC is working just fine

How to reproduce:

% ffmpeg -rtsp_transport tcp -v 9 -loglevel 99 -i rtsp://IP/0 -an -report -y record.mp4
ffmpeg version: git master
built on 09 Nov 2018

Attachments (1)

ffmpeg-20181109-152250.log (91.2 KB) - added by fri.k 5 months ago.
ffmpeg log file

Download all attachments as: .zip

Change History (8)

Changed 5 months ago by fri.k

ffmpeg log file

comment:1 Changed 5 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords mjpeg removed

Please provide an accessible IP address that allows testing.

comment:2 Changed 5 months ago by fri.k

Hi,
I'm afraid that this camera needs much larger Internet transfer than my IPS can give me. I'm trying to upload here stream from this camera recorded with VLC v2.2.2 but https://streams.videolan.org/upload/ doesn't seems to return any link to uploaded file, so maybe it will came out here in some time auto-magically because I added ticket number to this file.

comment:3 follow-up: Changed 5 months ago by cehoyos

How do you upload an rtsp stream?

comment:4 in reply to: ↑ 3 Changed 5 months ago by fri.k

Replying to cehoyos:

How do you upload an rtsp stream?

Hi
I forwarded rtsp stream through NAT but stream is really slow. How can I send you privately URL to make testing? I would avoid publicly showing it because more users may generate to much Internet load and it may stop working at all.

comment:5 follow-up: Changed 4 months ago by thovo

Hi, please send me the url for debugging/testing. You find my mail address under: http://ffmpeg.org/consulting.html. Thanks.

comment:6 in reply to: ↑ 5 Changed 3 months ago by fri.k

Replying to thovo:

Hi, please send me the url for debugging/testing. You find my mail address under: http://ffmpeg.org/consulting.html. Thanks.

Hi,
I just sent you an email with stream urls, all cameras all Hisilicon HI3516CV300 + IMX323 sensor and firmware is updated to newest available on Herospeed site http://www.herospeed.net/en/ver/IPC/His/3516CV300_IMX323_W_8.1.9.3.zip

comment:7 Changed 10 days ago by brigidbrig

  • Cc brigidbrig@yandex.com added
  • Component changed from undetermined to ffmpeg

Hello ffmpeg devs.
I want to jump onto this ticket as I am having the same problem. Implications are a bit different though.
I am calling ffmpeg.exe from external program. This issue causes ffmpeg to continously output

Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
frame=    0 fps=0.0 q=0.0 size=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A

and does not terminate without user input. This was not present back in ffmpeg version 3.2.4.
I tried every version since then including the latest stable and this issue persists.

I am fine when ffmpeg is having an error when being called. So my problem is not to resolve the error. My problem is that ffmpeg does not terminate when this error happens and my external program cannot continue unless manually q pressed.

Note: See TracTickets for help on using tickets.