Jump to content

Recommended Posts

Posted

使用浏览器播放4K视频时播放失败,显示如下图所示

fba7c5ce33b96728ab1453529e6fa18.png.691bd9226bb31e5e4f8bb2c52f2b8c31.png

我开启了使用硬件解码

image.png.436afeabb6a1ab50cc34989fc92b38fb.png

在查看资源管理器时,我发现在开始播放视频后,ffmepg.exe的CPU占用率会很高,但GPU占用率为0

播放分辨率低于4K的视频,比如2K或者1080p的视频时,可以正常播放,GPU占用率页比较正常

但在这些可以正常播放的视频开始播放时,也是先有很高的ffmepg.exe CPU占用率,然后CPU占用率开始逐渐降低,GPU占用率逐渐提高

日志如附件所示

embyserver.txt ffmpeg-transcode-c2252d43-26d1-435d-bd4f-e57de9cf0e75_1.txt

Posted

Hello Yra_pril,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

GrimReaper
Posted

Your HWA is failing and falling back to software transcoding (which is also failing). 

Quote
Info    Previous transcoding attempt failed. Falling back to software transcoding.

Hence high CPU usage. 

Have you tried playing that item without graphical subtitles selected? 

Quote
&TranscodeReasons=SubtitleCodecNotSupported,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false

Or alternatively obtain external text-based subs (like .srt) and see how does that compare. 

You're also running 32-bit OS, restricting your graphics card capabilities hence taxing your CPU. 

Quote
>>>>>>  Processing Plan
        Name                                        CanDoInHW  WillDoInHW  Reason                                                 
        NVDEC NVIDIA GeForce RTX 3070 - H.265... >> True       True        Hardware Codec                                          
        VideoInput                               >> True       False       Matching hardware context                               
        ToneMapping (when possible)              >> False      False       CUDA filters are not supported on 32bit OS              
        SubtitleOverlay                          >> False      False       CUDA filters are not supported on 32bit OS              
        VideoOutput                              >> True       True        Hardware encoder                                        
        NVENC NVIDIA GeForce RTX 3070 - H.264... >> True       True        Hardware Codec

 

  • Like 1
Posted
15 minutes ago, GrimReaper said:

Your HWA is failing and falling back to software transcoding (which is also failing). 

Hence high CPU usage. 

Have you tried playing that item without graphical subtitles selected? 

Or alternatively obtain external text-based subs (like .srt) and see how does that compare. 

You're also running 32-bit OS, restricting your graphics card capabilities hence taxing your CPU. 

 

感谢你的建议,我会在稍后尝试一下换成64位的版本是否可以解决问题。

请问我该怎么设置,才能不选择图形字幕呢。

感谢您的帮助

GrimReaper
Posted
2 minutes ago, Yra_pril said:

请问我该怎么设置,才能不选择图形字幕呢。

In your client Settings>Subtitles, set "Subtitle mode" to no subtiles.

Or select "Subtitles: Off" before playing that item in item detail screen. 

Alternatively, obtain external text-based subs either via Emby or by some other means (like directly from providers website), OpenSubtitles is a good place to start. 

https://emby.media/support/articles/Subtitles.html

https://emby.media/support/articles/Open-Subtitles.html

 

  • Like 1
Posted
2 minutes ago, GrimReaper said:

In your client Settings>Subtitles, set "Subtitle mode" to no subtiles.

Or select "Subtitles: Off" before playing that item in item detail screen. 

Alternatively, obtain external text-based subs either via Emby or by some other means (like directly from providers website), OpenSubtitles is a good place to start. 

https://emby.media/support/articles/Subtitles.html

https://emby.media/support/articles/Open-Subtitles.html

 

我尝试按照第一种方式关闭了字幕,但还是发生了错误。

请问我现在遇到的错误是什么原因造成的

ffmpeg-transcode-32978ea1-adde-4e43-ad1e-fa3ae5e4112f_1.txt embyserver.txt

GrimReaper
Posted
1 minute ago, Yra_pril said:

我尝试按照第一种方式关闭了字幕,但还是发生了错误。

Nope, you did not turn them off. 

Quote
&TranscodeReasons=SubtitleCodecNotSupported,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false
Quote
16:02:38.084 Stream mapping:
16:02:38.084   Stream #0:0 (hevc) -> format:default (graph 0)
16:02:38.084   Stream #0:4 (pgssub) -> scale:default (graph 0)
16:02:38.084   overlay:default (graph 0) -> Stream #0:0 (libx264)
16:02:38.084   Stream #0:1 -> #0:1 (flac (native) -> mp3 (libmp3lame))

 

  • Like 1
Posted
4 minutes ago, GrimReaper said:

Nope, you did not turn them off. 

 

但我已经在字幕中选择了无字幕啊

还需要在其他地方进行设置吗

image.png.73bbd517f775c7b72f687ad20acd2d9b.png

GrimReaper
Posted
4 minutes ago, Yra_pril said:

但我已经在字幕中选择了无字幕啊

还需要在其他地方进行设置吗

That applies to any unplayed item, going forward. For any already played item, selection is remembered, you need to either:

a) Click green-colored "Clear saved track selection" on that screen you posted screenshot of

or 

b) 

17 minutes ago, GrimReaper said:

select "Subtitles: Off" before playing that item in item detail screen. 

 

  • Like 1
Posted
2 minutes ago, GrimReaper said:

That applies to any unplayed item, going forward. For any already played item, selection is remembered, you need to either:

a) Click green-colored "Clear saved track selection" on that screen you posted screenshot of

or 

b) 

 

选择清除已保存的选择之后可以了

感谢您的帮助

但我有些问题请请教一下

请问为什么会出现这种情况呢

是因为显卡的解码能力不够吗

GrimReaper
Posted
23 minutes ago, Yra_pril said:

请问为什么会出现这种情况呢

是因为显卡的解码能力不够吗

Devs would have to answer that question, but no, your graphics card should be more than sufficient. 

Posted
1 minute ago, GrimReaper said:

Devs would have to answer that question, but no, your graphics card should be more than sufficient. 

 

好的

感谢您的帮助

  • Like 1
Posted

The subtitle burn-in can't be done in hardware so that's why it ends up using cpu transcoding when you do that.

GrimReaper
Posted

@Luke, it was overlaying, not burning in, and fallback software transcode failed as well. 

Posted
4 minutes ago, GrimReaper said:

@Luke, it was overlaying, not burning in, and fallback software transcode failed as well. 

The idea is the same.

He could also try the 4.8 beta server to see if there are any improvements with that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...