Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RK3588使用ffmpeg拉流,解码H265报错 #713

Open
Sunhaihua1 opened this issue Nov 14, 2024 · 0 comments
Open

RK3588使用ffmpeg拉流,解码H265报错 #713

Sunhaihua1 opened this issue Nov 14, 2024 · 0 comments

Comments

@Sunhaihua1
Copy link

解析h265的rtsp视频流存在问题

trailer.mp4为h264编码的视频文件,使用ffmpeg -i trailer.mp4 -c:v libx265 -c:a copy trailer_h265.mp4命令重新编码为h265格式,并使用以下命令推流

cvlc trailer_h265.mp4 --sout '#rtp{sdp=rtsp://10.42.0.1:8554/live}' --loop

mpp无法正常解码,tail -f /var/log/syslog 命令查看mpp的log信息时发现一直输出如下信息,换其他h265格式的纯码流或mp4文件进行模拟rtsp推流均显示此报错。

Mar 31 12:45:34 linaro-alip mpp[852381]: H265D_PARSER: PPS id out of range: 0
Mar 31 12:45:34 linaro-alip mpp[852381]: H265D_PARSER: hls_slice_header error ret = -1004
Mar 31 12:45:34 linaro-alip mpp[852381]: H265D_PARSER: Error parsing NAL unit #0,error ret = 0xd.
Mar 31 12:45:34 linaro-alip mpp[852381]: H265D_PARSER: current stream is no right skip it (nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant