-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
265 打包成ts 流长时间后ts流不能被识别 #332
Comments
正常情况50帧(音频/视频) 或者 视频关键帧 会生成PAT/PMT。 保存的TS文件有多大, 连续多保存个几个TS文件确认下呢? |
我这个不存流,在ts 回调函数中用udp 发走,接收端也不是一直在线接收,隔个一两个小时用vlc接收解码看看 |
另外,为避免生成一包ts包就调用回调函数的频繁操作,修改了mepg-ts-enc.c的 ts_write_pes函数,在mpeg_ts_enc_context_t 中 为视频和音频各添加了一个内存缓冲区,用与在ts_write_pes 缓冲一整帧的ts 流包 |
此问题已解决,是我的版本问题,新版本程序和老版本混了,完全用最新的版本没事 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我们打包实时流,一般20小时后vlc 收流就不能播放了,把ts存下来后发现文件中没有pat pmt ,请问这个是什么问题?
The text was updated successfully, but these errors were encountered: