Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#7586 closed defect (invalid)

HEVC stream Find ref with POC error with ffplay

Reported by: kevin.Wu Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Hi all, I'm trying to support sending the HEVC stream to SRS server by RTMP protocol. And I used ffplay to get the stream from SRS. The command is:

ffplay rtmp://192.168.1.189:1935/app/rtmpstream0

(192.168.1.189:1935/ is my SRS server IP and port)
The stream source which I send to SRS is created using the China hisiv high video embeded system. I've modified the code of ffplay to support HEVC by RTMP protocol. And I'm sure that the data from SRS is correct,but I just got the problem :[hevc @ 0xad240480] Could not find ref with POC 14
[swscaler @ 0xbbceb40] deprecated pixel format used, make sure you did set range correctly

and the video shows nothing but grey.What could make this happen?

The ffmpeg release is ffmpeg-4.1.

Change History (3)

comment:1 Changed 3 months ago by kevin.Wu

ffplay version 4.1 Copyright (c) 2003-2018 the FFmpeg developers

built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
configuration:
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100

Input #0, flv, from 'rtmp://192.168.1.189:1935/app/rtmpstream0':

Duration: N/A, start: 0.019000, bitrate: N/A

Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 3840x2160, 100 tbr, 1k tbn

comment:2 Changed 3 months ago by stevenliu

  • Resolution set to invalid
  • Status changed from new to closed

FLV/RTMP have not support hevc yet. there have no specification support that.

You can goto https://github.com/CDN-Union/H265 to find the solutions.

comment:3 Changed 3 months ago by cehoyos

  • Component changed from ffplay to undetermined
Note: See TracTickets for help on using tickets.