Re: [問題]有關java ffmpeg 推流報錯造成延遲

作者: qrtt1 (有些事,有時候。。。)   2020-01-15 09:05:22
※ 引述《leenl ( )》之銘言:
: 我們在用java處理視頻推流的時候
: 遇到某些視頻 推流後會拋出
: cur_dts is invalid (this is harmless if it occurs once at the start per
: stream)
: cur_dts is invalid (this is harmless if it occurs once at the start per
: stream)
: cur_dts is invalid (this is harmless if it occurs once at the start per
: stream)
: 拋出error 倒沒事但是會造成 視頻延遲
: 沒有拋出error的就不會延遲
: 基本上google能查的 都先試過了
: 有沒有人遇到類似的問題
: 可以指點方向?
: 或是可以付費諮詢討論
先用 ffprobe 看一下你要 push 的影片是什麼 profile
互相比較看看。
不過,一般來說要用來 push 的影片,會在 encoding 時處理一下
確定把 B frame 移除,因為當 B frame 存在時,它儲存的順序
不一定是 decode 的順序。

Links booklink

Contact Us: admin [ a t ] ucptt.com