shutter-encoder icon indicating copy to clipboard operation
shutter-encoder copied to clipboard

CPU编码CQ转换的BUG

Open zme70 opened this issue 3 months ago • 5 comments

https://github.com/user-attachments/assets/5d13237c-8780-4c56-85d7-e60383e3b81d

Image

经过多次尝试这种问题在CQ1、无GPU硬件加速的情况下才会触发,[最大限度]的多少无关

在播放的前5到10秒左右无法播放,一直保持定格状态,可以听到声音 这种视频放到Obsidian是无法正常播放的,放到网页也一样。要注意视频文件是AV1编码

CQ15降低了画质,就不会出现这种问题了,之前CQ1不会这样的。上方视频是有数据的,只不过网页无法直接播放。

zme70 avatar Oct 11 '25 12:10 zme70

When AV1 encoded video is in CQ1 without GPU hardware acceleration, there will be a phenomenon of frozen frames but sound in the first 5 to 10 seconds of the converted file After lowering to CQ15 (low image quality), this problem will not occur, and there has been no similar situation in CQ1 before.

zme70 avatar Oct 11 '25 16:10 zme70

https://github.com/paulpacifico/shutter-encoder/issues/320

无GPU配置加速看下图 Image

仅在CQ1——CQ3出现此问题,CQ4以后正常

Image

CQ1 Auto码率 无GPU加速 视频正常播放

Image

CQ1 3000码率 无GPU加速 视频无法正常播放

Image

下图方案在CQ1,GPU硬件加速,不会出现视频定格前10秒的问题 Image 下图配置报错,无法执行 Image

GOP1 正常播放 Image

zme70 avatar Oct 12 '25 09:10 zme70

该问题在首次安装是不会出现 有时转码时间太长了,我就在任务管理器强制关闭它

zme70 avatar Oct 12 '25 10:10 zme70

D:\下载\自白:为什么免费分享《人性》《思维》体系,而不是用来赚钱!\9-人生的意义:就是一种生命情绪体验-AV1_9.mp4 General Complete name : D:\下载\自白:为什么免费分享《人性》《思维》体系,而不是用来赚钱!\9-人生的意义:就是一种生命情绪体验-AV1_9.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/av01/iso2/mp41) File size : 155 MiB Duration : 5 min 55 s Overall bit rate mode : Variable Overall bit rate : 3 659 kb/s Frame rate : 30.000 FPS Description : Packed by Bilibili XCoder v2.0.2 Encoded date : 2025-10-12 09:49:10 UTC Tagged date : 2025-10-12 09:49:10 UTC Writing application : Lavf62.6.100

Video ID : 1 Format : AV1 Format/Info : AOMedia Video 1 Format profile : [email protected] Codec ID : av01 Duration : 5 min 55 s Bit rate : 3 507 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.056 Stream size : 149 MiB (96%) Writing library : Lavc62.16.100 libsvtav1 Encoded date : 2025-10-12 09:49:10 UTC Tagged date : 2025-10-12 09:49:10 UTC Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Codec configuration box : av1C

Audio ID : 2 Format : Opus Codec ID : Opus Duration : 5 min 55 s Source duration : 5 min 55 s Bit rate mode : Variable Bit rate : 146 kb/s Sampling rate : 48.0 kHz Compression mode : Lossy Stream size : 6.18 MiB (4%) Source stream size : 6.18 MiB (4%) Default : Yes Alternate group : 1 Encoded date : 2025-10-12 09:49:10 UTC Tagged date : 2025-10-12 09:49:10 UTC

zme70 avatar Oct 12 '25 10:10 zme70

此配置下前5秒出现花屏,可正常播放,关闭GOP未出现花屏问题 Image

zme70 avatar Oct 12 '25 11:10 zme70