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

流正常推送,播放器停止播放 #216

Open
Greasen opened this issue Oct 25, 2024 · 0 comments
Open

流正常推送,播放器停止播放 #216

Greasen opened this issue Oct 25, 2024 · 0 comments

Comments

@Greasen
Copy link

Greasen commented Oct 25, 2024

流正常推送,播放器停止播放。
pts 也正常打印

部分日志:

00:12:26.355 | seek_target | 746.06 -- | -- | -- 00:13:21.007 | seek_target | 800.46 00:13:21.021 | pipeline_state | "kSeeking" 00:13:21.112 | pipeline_state | "kPlaying" 00:13:21.831 | seek_target | 801.5 00:13:21.832 | pipeline_state | "kSeeking" 00:13:21.832 | pipeline_state | "kPlaying" 00:13:21.944 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:22.899 | seek_target | 802.58 00:13:22.901 | pipeline_state | "kSeeking" 00:13:22.901 | pipeline_state | "kPlaying" 00:13:22.923 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:24.006 | seek_target | 803.66 00:13:24.012 | pipeline_state | "kSeeking" 00:13:24.012 | pipeline_state | "kPlaying" 00:13:24.021 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:26.097 | seek_target | 804.78 00:13:26.100 | pipeline_state | "kSeeking" 00:13:26.101 | pipeline_state | "kPlaying" 00:13:26.157 | seek_target | 805.82 00:13:26.157 | pipeline_state | "kSeeking" 00:13:26.157 | pipeline_state | "kPlaying" 00:13:26.195 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:27.232 | seek_target | 806.9 00:13:27.232 | pipeline_state | "kSeeking" 00:13:27.235 | pipeline_state | "kPlaying" 00:13:27.291 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:28.290 | seek_target | 807.98 00:13:28.291 | pipeline_state | "kSeeking" 00:13:28.295 | pipeline_state | "kPlaying" 00:13:28.314 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:29.587 | seek_target | 809.06 00:13:29.587 | pipeline_state | "kSeeking" 00:13:29.588 | pipeline_state | "kPlaying" 00:13:30.417 | seek_target | 810.1 00:13:30.417 | pipeline_state | "kSeeking" 00:13:30.419 | pipeline_state | "kPlaying" 00:13:30.448 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:31.554 | seek_target | 811.22 00:13:31.555 | pipeline_state | "kSeeking" 00:13:31.601 | pipeline_state | "kPlaying" 00:13:32.026 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:32.617 | seek_target | 812.3 00:13:32.617 | pipeline_state | "kSeeking" 00:13:32.620 | pipeline_state | "kPlaying" 00:13:32.694 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:33.679 | seek_target | 813.38 00:13:33.679 | pipeline_state | "kSeeking" 00:13:33.683 | pipeline_state | "kPlaying" 00:13:33.750 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:34.819 | seek_target | 814.46 00:13:34.826 | pipeline_state | "kSeeking" 00:13:34.846 | pipeline_state | "kPlaying" 00:13:34.917 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:35.830 | seek_target | 815.5 00:13:35.830 | pipeline_state | "kSeeking" 00:13:35.831 | pipeline_state | "kPlaying" 00:13:35.936 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:36.895 | seek_target | 816.58 00:13:36.895 | pipeline_state | "kSeeking" 00:13:36.896 | pipeline_state | "kPlaying" 00:13:36.935 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:38.069 | seek_target | 817.66 00:13:38.069 | pipeline_state | "kSeeking" 00:13:38.074 | pipeline_state | "kPlaying" 00:13:38.086 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:39.062 | seek_target | 818.7 00:13:39.062 | pipeline_state | "kSeeking" 00:13:39.064 | pipeline_state | "kPlaying" 00:13:39.099 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:40.172 | seek_target | 819.82 00:13:40.172 | pipeline_state | "kSeeking" 00:13:40.173 | pipeline_state | "kPlaying" 00:13:40.203 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:41.245 | seek_target | 820.9 00:13:41.246 | pipeline_state | "kSeeking" 00:13:41.246 | pipeline_state | "kPlaying" 00:13:41.319 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:42.361 | seek_target | 822.02 00:13:42.362 | pipeline_state | "kSeeking" 00:13:42.363 | pipeline_state | "kPlaying" 00:13:42.373 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:43.434 | seek_target | 823.1 00:13:43.435 | pipeline_state | "kSeeking" 00:13:43.437 | pipeline_state | "kPlaying" 00:13:43.477 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:44.503 | seek_target | 824.14 00:13:44.504 | pipeline_state | "kSeeking" 00:13:44.507 | pipeline_state | "kPlaying" 00:13:44.519 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:45.502 | seek_target | 825.18 00:13:45.503 | pipeline_state | "kSeeking" 00:13:45.503 | pipeline_state | "kPlaying" 00:13:45.616 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:46.541 | seek_target | 826.22 00:13:46.541 | pipeline_state | "kSeeking" 00:13:46.543 | pipeline_state | "kPlaying" 00:13:46.560 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:13:47.617 | seek_target | 4295201.876 00:13:47.618 | pipeline_state | "kSeeking" 00:13:47.621 | pipeline_state | "kPlaying" 00:13:47.629 | pipeline_buffering_state | {"for_suspended_start":false,"state":"BUFFERING_HAVE_ENOUGH"} 00:22:46.904 | event | "kPlay" 00:22:47.287 | pipeline_buffering_state | {"for_suspended_start":false,"reason":"DEMUXER_UNDERFLOW","state":"BUFFERING_HAVE_NOTHING"} 00:23:01.865 | event | "kPause" 00:23:16.885 | pipeline_state | "kSuspending" 00:23:16.885 | pipeline_state | "kSuspended" 00:23:16.886 | event | "kSuspended" 00:23:20.386 | event | "kPlay" 00:23:20.386 | kRendererName | "RendererImpl" 00:23:20.386 | pipeline_state | "kResuming" 00:23:20.386 | debug | "Video rendering in low delay mode." 00:23:20.387 | info | "Cannot select DecryptingVideoDecoder for video decoding" 00:23:20.397 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:23:20.397 | info | "D3D11VideoDecoder producing NV12" 00:23:20.397 | info | "D3D11VideoDecoder: Selected NV12" 00:23:20.397 | info | "D3D11VideoDecoder is binding textures" 00:23:20.397 | info | "D3D11VideoDecoder is using D3D11 backend" 00:23:20.398 | info | "D3D11VideoDecoder is using array texture" 00:23:20.398 | info | "Selected D3D11VideoDecoder adapter LUID:{0, 81451}" 00:23:20.398 | info | "Video is supported by D3D11VideoDecoder" 00:23:20.404 | kIsVideoDecryptingDemuxerStream | false 00:23:20.404 | kVideoDecoderName | "D3D11VideoDecoder" 00:23:20.404 | kIsPlatformVideoDecoder | true 00:23:20.404 | info | "Selected D3D11VideoDecoder for video decoding, config: codec: h264, profile: h264 main, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" 00:23:20.404 | pipeline_state | "kPlaying" 00:23:20.405 | info | "D3D11VideoDecoder config change: profile: h264 main, chroma_sampling_format: 4:2:0, coded_size: 1920x1088, bit_depth: 8, color_space: {primary=1, transfer=1, matrix=1, range=2}" 00:23:20.405 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:23:20.405 | info | "D3D11VideoDecoder producing NV12" 00:23:20.405 | info | "D3D11VideoDecoder: Selected NV12" 00:23:20.405 | info | "D3D11VideoDecoder is binding textures" 00:23:20.405 | info | "D3D11VideoDecoder is using D3D11 backend" 00:23:20.406 | info | "D3D11VideoDecoder is using array texture" 00:23:21.538 | event | "kPause" 00:23:36.553 | pipeline_state | "kSuspending" 00:23:36.553 | pipeline_state | "kSuspended" 00:23:36.553 | event | "kSuspended" 00:28:57.266 | event | "kPlay" 00:28:57.266 | kRendererName | "RendererImpl" 00:28:57.288 | pipeline_state | "kResuming" 00:28:57.288 | debug | "Video rendering in low delay mode." 00:28:57.288 | info | "Cannot select DecryptingVideoDecoder for video decoding" 00:28:57.302 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:28:57.302 | info | "D3D11VideoDecoder producing NV12" 00:28:57.302 | info | "D3D11VideoDecoder: Selected NV12" 00:28:57.302 | info | "D3D11VideoDecoder is binding textures" 00:28:57.302 | info | "D3D11VideoDecoder is using D3D11 backend" 00:28:57.303 | info | "D3D11VideoDecoder is using array texture" 00:28:57.303 | info | "Selected D3D11VideoDecoder adapter LUID:{0, 81451}" 00:28:57.303 | info | "Video is supported by D3D11VideoDecoder" 00:28:57.303 | kIsVideoDecryptingDemuxerStream | false 00:28:57.304 | kVideoDecoderName | "D3D11VideoDecoder" 00:28:57.304 | kIsPlatformVideoDecoder | true 00:28:57.304 | info | "Selected D3D11VideoDecoder for video decoding, config: codec: h264, profile: h264 main, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" 00:28:57.304 | pipeline_state | "kPlaying" 00:28:57.305 | info | "D3D11VideoDecoder config change: profile: h264 main, chroma_sampling_format: 4:2:0, coded_size: 1920x1088, bit_depth: 8, color_space: {primary=1, transfer=1, matrix=1, range=2}" 00:28:57.305 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:28:57.305 | info | "D3D11VideoDecoder producing NV12" 00:28:57.305 | info | "D3D11VideoDecoder: Selected NV12" 00:28:57.305 | info | "D3D11VideoDecoder is binding textures" 00:28:57.305 | info | "D3D11VideoDecoder is using D3D11 backend" 00:28:57.306 | info | "D3D11VideoDecoder is using array texture" 00:29:13.991 | event | "kPause" 00:29:31.757 | pipeline_state | "kSuspending" 00:29:31.757 | pipeline_state | "kSuspended" 00:29:31.757 | event | "kSuspended" 00:35:37.990 | event | "kPlay" 00:35:37.990 | kRendererName | "RendererImpl" 00:35:37.997 | pipeline_state | "kResuming" 00:35:37.997 | debug | "Video rendering in low delay mode." 00:35:37.997 | info | "Cannot select DecryptingVideoDecoder for video decoding" 00:35:38.007 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:35:38.007 | info | "D3D11VideoDecoder producing NV12" 00:35:38.007 | info | "D3D11VideoDecoder: Selected NV12" 00:35:38.007 | info | "D3D11VideoDecoder is binding textures" 00:35:38.007 | info | "D3D11VideoDecoder is using D3D11 backend" 00:35:38.008 | info | "D3D11VideoDecoder is using array texture" 00:35:38.008 | info | "Selected D3D11VideoDecoder adapter LUID:{0, 81451}" 00:35:38.008 | info | "Video is supported by D3D11VideoDecoder" 00:35:38.018 | kIsVideoDecryptingDemuxerStream | false 00:35:38.018 | kVideoDecoderName | "D3D11VideoDecoder" 00:35:38.018 | kIsPlatformVideoDecoder | true 00:35:38.018 | info | "Selected D3D11VideoDecoder for video decoding, config: codec: h264, profile: h264 main, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" 00:35:38.018 | pipeline_state | "kPlaying" 00:35:38.018 | info | "D3D11VideoDecoder config change: profile: h264 main, chroma_sampling_format: 4:2:0, coded_size: 1920x1088, bit_depth: 8, color_space: {primary=1, transfer=1, matrix=1, range=2}" 00:35:38.019 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:35:38.019 | info | "D3D11VideoDecoder producing NV12" 00:35:38.019 | info | "D3D11VideoDecoder: Selected NV12" 00:35:38.019 | info | "D3D11VideoDecoder is binding textures" 00:35:38.019 | info | "D3D11VideoDecoder is using D3D11 backend" 00:35:38.020 | info | "D3D11VideoDecoder is using array texture" 00:35:41.470 | event | "kPause" 00:35:56.501 | pipeline_state | "kSuspending" 00:35:56.504 | pipeline_state | "kSuspended" 00:35:56.504 | event | "kSuspended" 00:38:05.713 | seek_target | 4296645.916 00:38:05.713 | kRendererName | "RendererImpl" 00:38:05.714 | pipeline_state | "kResuming" 00:38:05.714 | debug | "Video rendering in low delay mode." 00:38:05.714 | info | "Cannot select DecryptingVideoDecoder for video decoding" 00:38:05.717 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:38:05.717 | info | "D3D11VideoDecoder producing NV12" 00:38:05.717 | info | "D3D11VideoDecoder: Selected NV12" 00:38:05.717 | info | "D3D11VideoDecoder is binding textures" 00:38:05.717 | info | "D3D11VideoDecoder is using D3D11 backend" 00:38:05.718 | info | "D3D11VideoDecoder is using array texture" 00:38:05.718 | info | "Selected D3D11VideoDecoder adapter LUID:{0, 81451}" 00:38:05.718 | info | "Video is supported by D3D11VideoDecoder" 00:38:05.719 | kIsVideoDecryptingDemuxerStream | false 00:38:05.719 | kVideoDecoderName | "D3D11VideoDecoder" 00:38:05.719 | kIsPlatformVideoDecoder | true 00:38:05.719 | info | "Selected D3D11VideoDecoder for video decoding, config: codec: h264, profile: h264 main, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: false, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" 00:38:05.719 | pipeline_state | "kPlaying" 00:38:05.720 | info | "D3D11VideoDecoder config change: profile: h264 main, chroma_sampling_format: 4:2:0, coded_size: 1920x1088, bit_depth: 8, color_space: {primary=1, transfer=1, matrix=1, range=2}" 00:38:05.720 | info | "D3D11VideoDecoder is using h264 main / 4:2:0" 00:38:05.720 | info | "D3D11VideoDecoder producing NV12" 00:38:05.720 | info | "D3D11VideoDecoder: Selected NV12" 00:38:05.720 | info | "D3D11VideoDecoder is binding textures" 00:38:05.720 | info | "D3D11VideoDecoder is using D3D11 backend" 00:38:05.721 | info | "D3D11VideoDecoder is using array texture"

image

遇到这样的坏帧,播放就停止了,但是流还在推送,有没有什么好的方案不停止,只是跳过这样的坏帧。

@Greasen Greasen changed the title 当 pts 发生回环后,播放器会停止播放。 流正常推送,播放器停止播放 Oct 25, 2024
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

1 participant