开发者

How to get pps and sps in ffmpeg 's h264 decoder

开发者 https://www.devze.com 2023-01-25 03:16 出处:网络
Iencode the image for use video capturer and encode it in h264 by ffmpeg and sent to my client pc . my cl开发者_StackOverflow中文版ient pc decode it and display it . It can be decoded and display we

I encode the image for use video capturer and encode it in h264 by ffmpeg and sent to my client pc .

my cl开发者_StackOverflow中文版ient pc decode it and display it . It can be decoded and display well.

But I save these compressed image in a file . and it can be decoded by vlc or quicktime. But It can be decoded by ffplay

I think because i did n't save the pps and sps info .

there is someone know how to get the pps sps in ffmpeg ?


If you didn't save the sps and pps, it wouldn't be decodable at all, by anyone. Something else could be wrong. What command lines are you using to save the file and to play it?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号