Skip to content

HEVC: The codec information is incorrect. #3271

@winlinvip

Description

@winlinvip

Description

For HEVC, the stream description is incorrect.

  1. SRS Version: 6.0.2

  2. SRS Log:

2457B video sh,  codec(12, profile=Other, level=Other, 0x0, 0kbps, 0.0fps, 0.0s)
  1. SRS Config: conf/hevc.flv.conf

Replay:

Please describe how to replay the bug? (Steps to reproduce the bug)

  1. ./objs/srs -c conf/hevc.flv.conf
  2. ./ffmpeg -re -i ~/srs/doc/source.flv -acodec copy -vcodec libx265 -f flv rtmp://localhost/live/livestream
  3. Check log of SRS.

Expect (Expected behavior)

Should show correct metadata about stream, such as the profile, resolution and fps, etc.

The HTTP API stream information is also incorrect: http://localhost:1985/api/v1/streams/

TRANS_BY_GPT3

Metadata

Metadata

Labels

CodecHEVC, FFmpeg for ingesting, trascoding or codec.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions