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

Flashing Blue Screen when Playing Videos #1695

Closed
1 task
WANGJIEKE opened this issue May 13, 2018 · 12 comments
Closed
1 task

Flashing Blue Screen when Playing Videos #1695

WANGJIEKE opened this issue May 13, 2018 · 12 comments
Labels

Comments

@WANGJIEKE
Copy link

WANGJIEKE commented May 13, 2018

System and IINA version:

  • macOS 10.13.4
  • IINA 0.0.15.1

Expected behavior:
Play the video normally.

Actual behavior:
When the setting "Preference -> Codec -> Video -> Hardware Decoder" is set to "Auto" and the file is a .mkv file with HEVC encoding, the video flashes between blue screen and the content of the video. If the hardware decoder is disabled, the problem disappears.
当播放HEVC编码的mkv文件,且硬件解码器被设置为“自动”时,画面在蓝屏和实际视频内容之间不断闪烁。如果将硬件解码器设置成“禁用”,问题消失。

Steps to reproduce:

  1. Set the Hardware Decoder to "Auto"
  2. Play a .mkv file whose encoding is HEVC
  • MPV does not have this problem.

How often does this happen?
Always, if the file is a .mkv file with HEVC encoding

@lhc70000
Copy link
Member

It should be related to FFmpeg 4.0 / mpv 0.28.

There're similar reports in mpv-player/mpv#5755.

@tmm1
Copy link

tmm1 commented May 16, 2018

I have a hacky fix in http://ffmpeg.org/pipermail/ffmpeg-devel/2018-May/229483.html, but would be better to figure out the root cause.

@saagarjha
Copy link
Member

Since this is an upstream issue, we're unlikely to merge it in here directly. I think the best course of action is to allow FFmpeg to come to consensus on how to resolve this issue, then wait for the changes to percolate downstream.

@tmm1
Copy link

tmm1 commented May 17, 2018

Here is an updated version of the patch if anyone would like to help test it: tmm1/FFmpeg@d5624b0

If it works, I will commit to FFmpeg master.

@tmm1
Copy link

tmm1 commented May 19, 2018

The fix has been merged to FFmpeg master: FFmpeg/FFmpeg@8f146b5

@danshao
Copy link

danshao commented Jul 8, 2018

Still getting this issue with the 0.0.15.1 Build 69. Does not occur while using mpv.

@inflation
Copy link
Contributor

@danshao I believe build 69 does not build from ffmpeg HEAD, try build 80.

@frost134
Copy link

Getting the issue too, totally the same situation.

@lhc70000
Copy link
Member

This issue happens in 0.0.15.1 or 1.0.0 beta1 which were built against FFmpeg 4.0. Please either rollback to 0.0.15 or upgrade to 1.0.0 beta3 if this bug annoys you.

@lhc70000
Copy link
Member

lhc70000 commented Sep 1, 2018

@xinxiaoliang Please check the comment above.

@fancyme
Copy link

fancyme commented Oct 7, 2018

I have the same problem.

@inflation inflation mentioned this issue Nov 8, 2018
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants