Opened 6 years ago

Last modified 6 years 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 6 years ago.
ffmpeg log file

Download all attachments as: .zip

Change History (8)

by fri.K, 6 years ago

Attachment: ffmpeg-20181109-152250.log added

ffmpeg log file

comment:1 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Keywords: mjpeg removed

Please provide an accessible IP address that allows testing.

comment:2 by fri.K, 6 years ago

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 by Carl Eugen Hoyos, 6 years ago

How do you upload an rtsp stream?

in reply to:  3 comment:4 by fri.K, 6 years ago

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 by thovo, 6 years ago

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

in reply to:  5 comment:6 by fri.K, 6 years ago

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 by brigidbrig, 6 years ago

Cc: brigidbrig@yandex.com added
Component: undeterminedffmpeg

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.