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

Sometimes, attempting to retrieve FLV streams using SRS5.0 may result in failure. #4112

Open
yrJim opened this issue Jul 10, 2024 · 4 comments
Labels
TransByAI Translated by AI/GPT.

Comments

@yrJim
Copy link

yrJim commented Jul 10, 2024

[2024-07-10 13:20:50.213][INFO][1][0bny523e] complex handshake success.
[2024-07-10 13:20:50.213][INFO][1][0bny523e] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2024-07-10 13:20:50.213][INFO][1][0bny523e] connected, version=5.0.210.0, ip=192.168.2.2, pid=1, id=0, dsu=1
[2024-07-10 13:20:50.214][INFO][1][0bny523e] edge-pull publish url rtmp://192.168.2.2:1935/live/1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad&vhost=srs-edge-server, stream=1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad as 1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad
[2024-07-10 13:20:50.214][INFO][1][0bny523e] got metadata, width=960, height=540, vcodec=7, acodec=10
[2024-07-10 13:20:50.214][INFO][1][0bny523e] 39B video sh, codec(7, profile=High, level=3.1, 960x540, 0kbps, 0.0fps, 0.0s)
[2024-07-10 13:20:50.224][INFO][1][u008759b] -> HTS http: got 2 msgs, age=41206190, min=8, mw=100
[2024-07-10 13:20:50.431][WARN][1][0bny523e][11] EdgeIngester: Ignore error, code=3001(HlsDecode)(HLS decode av stream failed) : process message : source consume video : format consume video : demux NALU : avc demux annexb : not annexb
[2024-07-10 13:20:53.434][INFO][1][0bny523e] complex handshake success.
[2024-07-10 13:20:53.434][INFO][1][0bny523e] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
[2024-07-10 13:20:53.435][INFO][1][0bny523e] connected, version=5.0.210.0, ip=192.168.2.2, pid=1, id=0, dsu=1
[2024-07-10 13:20:53.435][INFO][1][0bny523e] edge-pull publish url rtmp://192.168.2.2:1935/live/1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad&vhost=srs-edge-server, stream=1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad as 1e4529d97ce16f2d61209b70bfc39982?token=c99644d5c57245af8c5e0fefd58371ad
[2024-07-10 13:20:53.435][INFO][1][0bny523e] got metadata, width=960, height=540, vcodec=7, acodec=10
[2024-07-10 13:20:53.435][INFO][1][0bny523e] 39B video sh, codec(7, profile=High, level=3.1, 960x540, 0kbps, 0.0fps, 0.0s)
[2024-07-10 13:20:53.668][WARN][1][0bny523e][11] EdgeIngester: Ignore error, code=3001(HlsDecode)(HLS decode av stream failed) : process message : source consume video : format consume video : demux NALU : avc demux annexb : not annexb

TRANS_BY_GPT4

@winlinvip winlinvip changed the title SRS5.0有时拉FLV流会失败 Sometimes, attempting to retrieve FLV streams using SRS5.0 may result in failure. Jul 10, 2024
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 10, 2024
@yrJim
Copy link
Author

yrJim commented Jul 11, 2024

@winlinvip If this is the case, can you set the callback function to be processed logically by the business application

@yrJim
Copy link
Author

yrJim commented Jul 19, 2024

@winlinvip 这个问题在播放flv时会出现,对同一个流用hls播放时不会出现,报错信息却提示是HLS解码失败,这是不是有问题

@ShineSea
Copy link

ShineSea commented Aug 28, 2024

I also encountered this issue, and upon investigation, it appears that there is a problem with the parsing of NALU. The frame length information at the beginning of the IBMF format might start with 000001, which has been mistakenly identified as the ANNEXB format.

TRANS_BY_GPT4

@ShineSea
Copy link

ShineSea commented Aug 28, 2024

1724839796627
I have configured this on my end, and there are no more error messages.

TRANS_BY_GPT4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

3 participants