首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >解码YUV4 4:4:4流时发出ffmpeg问题

解码YUV4 4:4:4流时发出ffmpeg问题
EN

Stack Overflow用户
提问于 2022-05-30 11:29:17
回答 2查看 371关注 0票数 -1

有一个编码器,通过rtsp协议将其他监视器屏幕流到我的pc上。当流格式为YUV422p或更低时,一切都正常,但当我将其配置为YUV444P时,会出现以下错误:

ffmpeg -i rtsp://10.1.10.14:3049/S1 out.mp4

代码语言:javascript
运行
复制
[h264 @ 0000020ad88e9500] separate color planes are not supported

Last message repeated 2 times

[h264 @ 0000020ad88e9500] Error decoding the extradata        
[h264 @ 0000020ad88e9500] separate color planes are not supported 

Last message repeated 2 times

[h264 @ 0000020ad88e9500] non-existing PPS 2 referenced           
Last message repeated 1 times
[h264 @ 0000020ad88e9500] decode_slice_header error           
[h264 @ 0000020ad88e9500] non-existing PPS 2 referenced       
[h264 @ 0000020ad88e9500] decode_slice_header error           
[h264 @ 0000020ad88e9500] no frame!
[h264 @ 0000020ad88e9500] non-existing PPS 2 referenced           
Last message repeated 1 times
[h264 @ 0000020ad88e9500] decode_slice_header error           
[h264 @ 0000020ad88e9500] non-existing PPS 2 referenced       
[h264 @ 0000020ad88e9500] decode_slice_header error           
[h264 @ 0000020ad88e9500] no frame! 

我试着使用ffprobe -show_format来查看流的细节,但是它也会产生同样的错误。

我在等你的宝贵帮助。

诚挚的问候

about YUV

similar but was can't solved issues

EN

回答 2

Stack Overflow用户

发布于 2022-05-31 21:19:31

您的编码器(监视器)使用H264特性发送residual_color_transform_flag流,FFmpeg的H264解码器不支持这种功能。如果可以,请禁用此功能。否则,你必须坚持4:2:2。

票数 1
EN

Stack Overflow用户

发布于 2022-05-30 11:48:05

Enes,首先,尝试通过ffplay或vlc播放流。( -i rtsp://bla))如果一切顺利的话

更改ffmpeg命令,如下所示,然后重试

代码语言:javascript
运行
复制
ffmpeg -i rtsp://10.1.10.14:3049/S1 -vcodec libx264 -acodec aac -strict experimental -f mp4 out.mp4
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72433625

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档