Opened 3 years ago

Last modified 3 years ago

#5755 open enhancement

HEVC video stream obtained from Zavio D6320 IP camea can be decoded only partitially

Reported by: ioeir2 Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: hevc rtsp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Have Zavio D6320 IP camera which sends H265/HEVC via RTSP. Video obtained from the camera cannot be played via ffplay

./ffplay rtsp://user:user@ip_address:554/video.pro1 -rtsp_transport tcp

However at the same time VLC player 2.2.4 (Mac) can play this stream without any problem.

I have saved 5 seconds of H265 stream (640x480 @ 30fps) and attached to this ticket using the following command:

./ffmpeg -v 9 -loglevel 99 -i 'rtsp://user:user@ip_address:554/video.pro1' -rtsp_transport tcp -vcodec copy video640x480.h265

How to reproduce:

% ffplay video640x480.h265
ffmpeg master (snapshot).
built on August 3, 2016

You should see only upper right corner of the video is displayed. This problem is reproducible on all resolutions the camera support (320x240, 640x480, 720p, 1080p, 2304x1296).

Attachments (3)

video640x480.h265 (68.5 KB) - added by ioeir2 3 years ago.
H265 elementary stream
console.log (84.0 KB) - added by ioeir2 3 years ago.
Console log while saving elementary stream into the file
rtsp_h265_dump.pcapng (2.1 MB) - added by ioeir2 3 years ago.
Wireshark dump of RTSP/H265 stream (3 sec)

Change History (12)

Changed 3 years ago by ioeir2

H265 elementary stream

Changed 3 years ago by ioeir2

Console log while saving elementary stream into the file

comment:1 Changed 3 years ago by ioeir2

There are a lot of "Multi-layer HEVC coding is not implemented" records in the log. Maybe that is the issue.

comment:2 Changed 3 years ago by cehoyos

  • Component changed from avcodec to avformat
  • Keywords rtsp added; h265 removed
  • Priority changed from normal to wish
  • Status changed from new to open
  • Type changed from defect to enhancement

Maybe.

comment:3 Changed 3 years ago by ioeir2

Not sure that this is RTSP issue. ffplay for this camera works perfectly when H.264 stream is coming and video is shown without any issue.

comment:4 Changed 3 years ago by cehoyos

I don't understand, you wrote above "Video obtained from the camera cannot be played via ffplay"

comment:5 follow-up: Changed 3 years ago by thovo

If you make your RTSP service publicly available, I could check the stream data and look for possible bugs in the receiver source code.

comment:6 in reply to: ↑ 5 Changed 3 years ago by ioeir2

Replying to cehoyos:

I don't understand, you wrote above "Video obtained from the camera cannot be played via ffplay"

What I mean is that file video640x480.h265​ attached to this issue (it was obtained from this camera) cannot be played via ffplay.

Replying to thovo:

If you make your RTSP service publicly available, I could check the stream data and look for possible bugs in the receiver source code.

I will contact the owner of the camera and ask for providing a temporary access to the camera.

Last edited 3 years ago by ioeir2 (previous) (diff)

comment:7 Changed 3 years ago by ioeir2

Camera stream
rtsp://alexey:tinycam@91.159.99.228:11554/video.pro1

Please let me know when you finished. Stream will be available for a week.

Version 0, edited 3 years ago by ioeir2 (next)

comment:8 Changed 3 years ago by ioeir2

I cannot make PM here and the owner of the camera does not want his private camera to be accessible online.
So please send me an email and I will provide you a temporary access to this RTSP camera for fixing this bug.
My email is: 343434bbb@mail.ru

Changed 3 years ago by ioeir2

Wireshark dump of RTSP/H265 stream (3 sec)

comment:9 Changed 3 years ago by ioeir2

Issue still exists in ffmpeg master 2016-08-28

Note: See TracTickets for help on using tickets.