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

ffmpeg解码会产生延时吗 #4

Open
Qianxunha opened this issue Jul 9, 2020 · 4 comments
Open

ffmpeg解码会产生延时吗 #4

Qianxunha opened this issue Jul 9, 2020 · 4 comments

Comments

@Qianxunha
Copy link

你好,想问个问题,谢谢
使用ffmpegAPI软解h.265/h.264裸流 为yuv420p数据会产生延时吗,推送端,推送实时流足够快,裸流到了ffmpeg解码这里慢了,然后后面导致推流端堆积了裸流。产生延时固定在3-6s

@snxly
Copy link
Collaborator

snxly commented Jul 9, 2020

像我们的播放器那样,在前端缓存数据,是不是能解决你们的堆积问题?

@Qianxunha
Copy link
Author

Qianxunha commented Jul 9, 2020 via email

@snxly
Copy link
Collaborator

snxly commented Jul 9, 2020

不太懂,我觉得ffmpeg解码1080p 30fps的h,264裸流会产生延时,ffmpeg解码实时流解不过来

------------------ 原始邮件 ------------------ 发件人: "snxly"<[email protected]>; 发送时间: 2020年7月9日(星期四) 上午10:12 收件人: "goldvideo/decoder_wasm"<[email protected]>; 抄送: "带带我搬砖"<[email protected]>; "Author"<[email protected]>; 主题: Re: [goldvideo/decoder_wasm] ffmpeg解码会产生延时吗 (#4) 像我们的播放器那样,在前端缓存数据,是不是能解决你们的堆积问题? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

是的,虽然wasm+ffmpeg已经是目前前端解码的最快方案了,但是对于高码流视频,还是达不到每秒25帧的要求。

@Qianxunha
Copy link
Author

Qianxunha commented Jul 9, 2020 via email

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

2 participants