Page 1 of 1

Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 22 Apr 2018 18:15
by jerikooo
Heyho!

I'm using the latest VLC Version (3.0.1, 64bit).
My Samsung Smartphone can record 4k 60fps videos with the 'new' hevc /x265 codec. If playing them, my video is greenish. Recording in the 'old' x264 codec everything is fine.

Any ideas?

Tanks and best regards :)

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 22 Apr 2018 19:35
by Jean-Baptiste Kempf
Update to 3.0.2 from nightly builds.

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 00:39
by jerikooo
Thanks for your feedback.

Unfortunetaly, this does not solve my problem. Still persisting.
Tried this one
http://nightlies.videolan.org/build/win ... -win64.zip

Which further information can i provide to solve this problem?

best regards :)

Image

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 09:24
by Jean-Baptiste Kempf
Can you share your logs?

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 10:50
by jerikooo

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 13:29
by Jean-Baptiste Kempf
Your logs are not from 3.0.2, I'm afraid.

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 14:15
by jerikooo
Your logs are not from 3.0.2, I'm afraid.
Sorry!

Here we go:

https://pastebin.com/uuttuaCM

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 20:20
by Jean-Baptiste Kempf
This green thingie is very weird.

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 20:52
by jerikooo
Further steps i tried: Updating drivers of Intel graphics (Intel 620) and AMD graphics (M330) of my notebook, unfortunately still greenish.

I tried "Potplayer" - there are no problems. Therefore I assume, it's a codec problem of VLC. But I'm no expert at all, so I hope you can provide a solution. I'm using vlc for years now.

Can i provide more information, which can help to solve this problem?

best regards

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 21:26
by Lotesdelere
Are you playing it via RTSP ?
If so, does it work if you play it locally ?

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 21:29
by jerikooo
No, i play the file locally.

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 21:51
by jerikooo
https://cdn.gsmarena.com/imgroot/review ... a_v011.mp4

This file is also recorded 4k, 60fps, HEVC. Plays also greenish in VLC

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 21:55
by InTheWings
https://cdn.gsmarena.com/imgroot/review ... a_v011.mp4

This file is also recorded 4k, 60fps, HEVC. Plays also greenish in VLC
what about --rate=0.40 for example ?

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 23 Apr 2018 22:04
by jerikooo
I tried to start vlc like this:

"C:\Program Files\VideoLAN\VLC\vlc.exe" --rate=0.40

If i load the mp4, problem still persisting. The sound is weird, too.

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 24 Apr 2018 09:54
by robUx4
This sample works fine here on an HD630 with 4980 drivers.

Not sure what (probably the drivers) but something is wrong on your system `Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 6`. 6 bits per pixel ??? That's what DXGI says about the SwapChain output format. It may be using DXGI_FORMAT_B5G6R5_UNORM internally. Do you have a 16 bits screen ?

On our side we output pixels as floats so it should not matter if it's 6-8-10-12-16 bits. It's up to the driver to handle the range conversion into integer values.

Can you post logs from newer drivers than 4749 ?

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 24 Apr 2018 10:49
by #thweiss
On my Computer the linked Video play fine with the Microsoft Windows 10 Videoplayer.

With the VLC-Player 3.0.2 (64 Bit) the same Video only play the audio-track fine.
The Video-Track will stop for some Seconds in the middle of the File, during the audio playing.

My Computer:
Intel Core i5-2500 CPU @ 3.30 GHz
NVIDIA GeForce GTX 750 Ti (Driver 23.21.13.9135 - 23.03.2018)
Windows 10 Pro (10.0.16299)

The VLC-Logfile listed:
main debug: processing request item: gsmarena_v011.mp4, node: Wiedergabeliste, skip: 0
main debug: resyncing on gsmarena_v011.mp4
main debug: gsmarena_v011.mp4 is at 0
main debug: starting playback of new item
main debug: resyncing on gsmarena_v011.mp4
main debug: gsmarena_v011.mp4 is at 0
main debug: creating new input thread
main debug: Creating an input for 'gsmarena_v011.mp4'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:\Users\User\AppData\Local\Temp
main debug: `file:///D:/Video/gsmarena_v011.mp4' gives access `file' demux `any' path `/D:/Video/gsmarena_v011.mp4'
main debug: creating demux: access='file' demux='any' location='/D:/Video/gsmarena_v011.mp4' file='D:\Video\gsmarena_v011.mp4'
main debug: looking for access_demux module matching "file": 15 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: no access_demux modules matched
main debug: creating access: file:///D:/Video/gsmarena_v011.mp4
main debug: (path: D:\Video\gsmarena_v011.mp4)
main debug: looking for access module matching "file": 25 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache_read": 24 candidates
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\meta\fetcher
cache_read debug: Using stream method for AStream*
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
cache_read debug: starting pre-buffering
main debug: no meta fetcher modules matched
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
main debug: looking for art finder module matching "any": 2 candidates
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 24 candidates
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac
lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
qt debug: IM: Setting an input
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\newgrounds.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac
main debug: no art finder modules matched
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\twitch.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vocaroo.luac
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 1 candidates
main debug: no stream_directory modules matched
main debug: attachment of directory-extractor failed for file:///D:/Video/gsmarena_v011.mp4
main debug: looking for stream_filter module matching "record": 24 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='file' demux='any' location='/D:/Video/gsmarena_v011.mp4' file='D:\Video\gsmarena_v011.mp4'
main debug: looking for demux module matching "mp4": 55 candidates
mp4 warning: unknown box type smrd (incompletely loaded)
mp4 warning: unknown box type smta (incompletely loaded)
mp4 debug: dumping root Box "root"
mp4 debug: | + ftyp size 24 offset 0
mp4 debug: | + mdat size 55638496 offset 24
mp4 debug: | + moov size 10177 offset 55638520
mp4 debug: | | + mvhd size 108 offset 55638528
mp4 debug: | | + udta size 96 offset 55638636
mp4 debug: | | | + SDLN size 16 offset 55638644
mp4 debug: | | | + smrd size 16 offset 55638660 (????)
mp4 debug: | | | + cxyz size 30 offset 55638676
mp4 debug: | | | + smta size 26 offset 55638706 (????)
mp4 debug: | | + meta size 180 offset 55638732
mp4 debug: | | | + hdlr size 33 offset 55638740
mp4 debug: | | | + keys size 74 offset 55638773
mp4 debug: | | | + ilst size 65 offset 55638847
mp4 debug: | | | | + data size 21 offset 55638863
mp4 debug: | | | | + data size 20 offset 55638892
mp4 debug: | | + trak size 7298 offset 55638912
mp4 debug: | | | + tkhd size 92 offset 55638920
mp4 debug: | | | + mdia size 7198 offset 55639012
mp4 debug: | | | | + mdhd size 32 offset 55639020
mp4 debug: | | | | + hdlr size 44 offset 55639052
mp4 debug: | | | | + minf size 7114 offset 55639096
mp4 debug: | | | | | + vmhd size 20 offset 55639104
mp4 debug: | | | | | + dinf size 36 offset 55639124
mp4 debug: | | | | | | + dref size 28 offset 55639132
mp4 debug: | | | | | | | + url size 12 offset 55639148
mp4 debug: | | | | | + stbl size 7050 offset 55639160
mp4 debug: | | | | | | + stsd size 246 offset 55639168
mp4 debug: | | | | | | | + hvc1 size 230 offset 55639184
mp4 debug: | | | | | | | | + hvcC size 109 offset 55639270
mp4 debug: | | | | | | | | + pasp size 16 offset 55639379
mp4 debug: | | | | | | | | + colr size 19 offset 55639395
mp4 debug: | | | | | | + stts size 4096 offset 55639414
mp4 debug: | | | | | | + stss size 60 offset 55643510
mp4 debug: | | | | | | + stsz size 2528 offset 55643570
mp4 debug: | | | | | | + stsc size 52 offset 55646098
mp4 debug: | | | | | | + stco size 60 offset 55646150
mp4 debug: | | + trak size 2487 offset 55646210
mp4 debug: | | | + tkhd size 92 offset 55646218
mp4 debug: | | | + mdia size 2387 offset 55646310
mp4 debug: | | | | + mdhd size 32 offset 55646318
mp4 debug: | | | | + hdlr size 44 offset 55646350
mp4 debug: | | | | + minf size 2303 offset 55646394
mp4 debug: | | | | | + smhd size 16 offset 55646402
mp4 debug: | | | | | + dinf size 36 offset 55646418
mp4 debug: | | | | | | + dref size 28 offset 55646426
mp4 debug: | | | | | | | + url size 12 offset 55646442
mp4 debug: | | | | | + stbl size 2243 offset 55646454
mp4 debug: | | | | | | + stsd size 91 offset 55646462
mp4 debug: | | | | | | | + mp4a size 75 offset 55646478
mp4 debug: | | | | | | | | + esds size 39 offset 55646514
mp4 debug: | | | | | | + stts size 32 offset 55646553
mp4 debug: | | | | | | + stsz size 2000 offset 55646585
mp4 debug: | | | | | | + stsc size 52 offset 55648585
mp4 debug: | | | | | | + stco size 60 offset 55648637
mp4 debug: unrecognized major media specification (mp42).
mp4 debug: found 2 tracks
mp4 debug: track[Id 0x1] read 11 chunk
mp4 warning: STTS table of 510 entries
mp4 debug: track[Id 0x1] read 627 samples length:10s
main debug: selecting program id=0
mp4 debug: adding track[Id 0x1] video (enable) language eng
mp4 debug: track[Id 0x2] read 11 chunk
mp4 warning: STTS table of 2 entries
mp4 debug: track[Id 0x2] read 495 samples length:10s
mp4 debug: adding track[Id 0x2] audio (enable) language eng
main debug: using demux module "mp4"
main debug: looking for a subtitle file in D:\Video\
main debug: looking for video decoder module matching "any": 17 candidates
avcodec debug: using ffmpeg Lavc58.6.103
avcodec debug: CPU flags: 0x000853db
avcodec debug: allowing 5 thread(s) for decoding
avcodec debug: codec (hevc) started
avcodec debug: using frame thread mode with 5 threads
main debug: using video decoder module "avcodec"
main debug: looking for audio decoder module matching "any": 23 candidates
main debug: using audio decoder module "faad"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\User\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader modules matched
main debug: `file:///D:/Video/gsmarena_v011.mp4' successfully opened
mp4 debug: track[Id 0x1] using Sync Sample Box (stss)
mp4 debug: stss gives 0 --> 0 (sample number)
main debug: Buffering 0%
avcodec debug: available hardware decoder output format 53 (dxva2_vld)
avcodec debug: available hardware decoder output format 118 (d3d11va_vld)
avcodec debug: available hardware decoder output format 174 (d3d11)
avcodec debug: available hardware decoder output format 119 (cuda)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: trying format d3d11va_vld
main debug: looking for text renderer module matching "any": 3 candidates
faad warning: decoded zero sample
main debug: Buffering 83%
main debug: reusing audio output
main debug: looking for aout stream module matching "any": 2 candidates
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
main debug: Stream buffering done (500 ms in 5 ms)
main debug: using text renderer module "freetype"
main debug: looking for video converter module matching "any": 24 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 24 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace -1, mode auto, is_needed 0
main debug: looking for vout window module matching "qt,any": 3 candidates
qt debug: requesting video window...
wasapi debug: buffer size : 96000 frames
wasapi debug: maximum latency: 000 ns
wasapi debug: default period : 10000000 ns
wasapi debug: minimum period : 2666700 ns
main debug: using aout stream module "wasapi"
main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio filter module matching "scaletempo": 16 candidates
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "samplerate"
main debug: using vout window module "qt"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "inhibit"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 3840x2160
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
main debug: resized to 1168x660
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format VA_NV12 for chroma DX11
main debug: VoutDisplayEvent 'resize' 3858x2207
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
direct3d11 debug: D3D11 pool succeed with 38 surfaces (3840x2176) context 0x0000000008d76ab8
main debug: original format sz 3840x2160, of (0,0), vsz 3840x2160, 4cc DX11, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: VoutDisplayEvent 'resize' 1168x660
main debug: looking for text renderer module matching "any": 3 candidates
direct3d11 debug: Detected size change 1168x657
freetype debug: Using DWrite backend
freetype debug: DWrite_GetFamily(): family name: Arial
main debug: using text renderer module "freetype"
main debug: looking for hw decoder module matching "any": 2 candidates
d3d11va debug: NVIDIA WDDM driver 23.21.13.9135
d3d11va debug: Reusing Direct3D11 device
d3d11va debug: CreateDevice succeed
d3d11va debug: - 'MPEG-2 & MPEG-1 variable-length decoder' is supported
d3d11va debug: - 'MPEG-2 variable-length decoder' is supported
d3d11va debug: - 'MPEG-1 variable-length decoder, no D pictures' is supported
d3d11va debug: - 'VC-1 variable-length decoder' is supported
d3d11va debug: - 'VC-1 variable-length decoder' is supported
d3d11va debug: - 'Unknown decoder 0x32fcfe3f-0xde46-0x4a49-0x861bac71110649d5' is supported
d3d11va debug: - 'H.264 stereo high profile, mbs flag set' is supported
d3d11va debug: - 'H.264 stereo high profile' is supported
d3d11va debug: - 'H.264 variable-length decoder, no film grain technology' is supported
d3d11va debug: - 'HEVC Main profile' is supported
d3d11va debug: - 'MPEG-4 Part 2 variable-length decoder, Simple Profile' is supported
d3d11va debug: - 'MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, no GMC' is supported
d3d11va debug: - 'MPEG-4 Part 2 nVidia bitstream decoder' is supported
d3d11va debug: - 'Unknown decoder 0x33fcfe41-0xde46-0x4a49-0x861bac71110649d5' is supported
d3d11va debug: - 'Unknown decoder 0x6affd11e-0x1d96-0x42b1-0xa21593a31f09a53d' is supported
d3d11va debug: - 'Unknown decoder 0x914c84a3-0x4078-0x4fa9-0x984ce2f262cb5c9c' is supported
d3d11va warning: Unsupported profile 1 for HEVC Main profile
d3d11va error: FindVideoServiceConversion failed
main debug: no hw decoder modules matched
avcodec debug: trying format dxva2_vld
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
main debug: resized to 1168x660
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: deinterlace -1, mode auto, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
main debug: resized to 1168x660
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format NV12 for chroma NV12
main debug: VoutDisplayEvent 'resize' 3858x2207
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
main debug: A filter to adapt decoder DXA9 to display NV12 is needed
main debug: looking for video converter module matching "any": 24 candidates
d3d9_filters debug: Using Direct3D9 Extended API!
main debug: using video converter module "d3d9_filters"
main debug: Filter 'd3d9_filters' (000000000a4f72b0) appended to chain
direct3d11 debug: D3D11 pool succeed with 1 surfaces (3840x2160) context 0x0000000008d76ab8
main debug: original format sz 3840x2160, of (0,0), vsz 3840x2160, 4cc DXA9, sar 1:1, msk r0x0 g0x0 b0x0
main debug: reusing provided vout
main debug: looking for hw decoder module matching "any": 2 candidates
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: Detected size change 1168x657
dxva2 debug: Using Direct3D9 Extended API!
dxva2 debug: D3D9 device caps 0x1BBEF0 / 0x51
dxva2 debug: Direct3d9 Device: NVIDIA GeForce GTX 750 Ti 4318 4992 162
dxva2 debug: CreateDevice succeed
dxva2 debug: OurDirect3DCreateDeviceManager9 Success!
dxva2 debug: obtained IDirect3DDeviceManager9
dxva2 debug: - 'MPEG-2 & MPEG-1 variable-length decoder' is supported
dxva2 debug: - 'MPEG-2 variable-length decoder' is supported
dxva2 debug: - 'MPEG-1 variable-length decoder, no D pictures' is supported
dxva2 debug: - 'VC-1 variable-length decoder' is supported
dxva2 debug: - 'VC-1 variable-length decoder' is supported
dxva2 debug: - 'Unknown decoder 0x32fcfe3f-0xde46-0x4a49-0x861bac71110649d5' is supported
dxva2 debug: - 'H.264 stereo high profile, mbs flag set' is supported
dxva2 debug: - 'H.264 stereo high profile' is supported
dxva2 debug: - 'H.264 variable-length decoder, no film grain technology' is supported
dxva2 debug: - 'HEVC Main profile' is supported
dxva2 debug: - 'MPEG-4 Part 2 variable-length decoder, Simple Profile' is supported
dxva2 debug: - 'MPEG-4 Part 2 variable-length decoder, Simple&Advanced Profile, no GMC' is supported
dxva2 debug: - 'MPEG-4 Part 2 nVidia bitstream decoder' is supported
dxva2 debug: - 'Unknown decoder 0x33fcfe41-0xde46-0x4a49-0x861bac71110649d5' is supported
dxva2 debug: - 'Unknown decoder 0x6affd11e-0x1d96-0x42b1-0xa21593a31f09a53d' is supported
dxva2 debug: - 'Unknown decoder 0x914c84a3-0x4078-0x4fa9-0x984ce2f262cb5c9c' is supported
dxva2 warning: Unsupported profile 1 for HEVC Main profile
dxva2 error: FindVideoServiceConversion failed
main debug: no hw decoder modules matched
main debug: removing module "d3d9_filters"
main debug: Filter 000000000a4f72b0 removed from chain
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: deinterlace -1, mode auto, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
direct3d11 debug: creating Vout EventThread
direct3d11 debug: Win32VoutCreateWindow
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: created video sub-window
direct3d11 debug: Vout EventThread running
main debug: resized to 1168x660
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.709 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:STUDIO
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:22 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:FULL
direct3d11 debug: supports colorspace RGB Rec.2020 gamma:2084 range:STUDIO
direct3d11 debug: Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 8
direct3d11 debug: using colorspace RGB Rec.709 gamma:22 range:FULL
direct3d11 debug: Using pixel format I420 for chroma I420
main debug: VoutDisplayEvent 'resize' 3858x2207
direct3d11 debug: Direct3D11 resources created
direct3d11 debug: Direct3D11 device adapter successfully initialized
direct3d11 debug: Direct3D11 Open Succeeded
main debug: using vout display module "direct3d11"
direct3d11 debug: D3D11 pool succeed with 38 surfaces (3840x2176) context 0x00000000173f7748
main debug: original format sz 3840x2176, of (0,0), vsz 3840x2160, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
qt debug: Qt: Fullscreen state changed
main debug: reusing provided vout
avcodec warning: plane 0 not aligned: disabling direct rendering
main debug: VoutDisplayEvent 'resize' 1168x660
direct3d11 debug: Detected size change 1168x657
main debug: resized to 1168x660
main debug: VoutDisplayEvent 'resize' 1168x660
main debug: Received first picture
main debug: Decoder wait done in 522 ms
main debug: inserting 1456 zeroes
mmdevice debug: state changed: 1
main debug: picture might be displayed late (missing 2 ms)
main debug: picture might be displayed late (missing 2 ms)
main debug: picture might be displayed late (missing 1 ms)
main warning: picture is too late to be displayed (missing 73 ms)
main debug: auto hiding mouse cursor
main warning: picture is too late to be displayed (missing 61 ms)
main warning: picture is too late to be displayed (missing 52 ms)
main warning: picture is too late to be displayed (missing 48 ms)
main warning: picture is too late to be displayed (missing 43 ms)
main warning: picture is too late to be displayed (missing 50 ms)
main warning: picture is too late to be displayed (missing 39 ms)
main warning: picture is too late to be displayed (missing 59 ms)
main warning: picture is too late to be displayed (missing 47 ms)
main warning: picture is too late to be displayed (missing 38 ms)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
main debug: EOF reached
main warning: picture is too late to be displayed (missing 73 ms)
main warning: picture is too late to be displayed (missing 61 ms)
main warning: picture is too late to be displayed (missing 53 ms)
main warning: picture is too late to be displayed (missing 40 ms)
main warning: picture is too late to be displayed (missing 28 ms)
main warning: picture is too late to be displayed (missing 56 ms)
main warning: picture is too late to be displayed (missing 43 ms)
main warning: picture is too late to be displayed (missing 35 ms)
main warning: picture is too late to be displayed (missing 34 ms)
main warning: picture is too late to be displayed (missing 40 ms)
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: killing decoder fourcc `hevc'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: killing decoder fourcc `mp4a'
main debug: removing module "faad"
mmdevice debug: state changed: 0
wasapi debug: reset
main debug: removing module "samplerate"
main debug: removing module "scaletempo"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "mp4"
mp4 debug: freeing all memory
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d11"
qt debug: IM: Deleting the input
direct3d11 debug: Direct3D11 resources destroyed
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
qt debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 24 Apr 2018 14:23
by jerikooo
This sample works fine here on an HD630 with 4980 drivers.

Not sure what (probably the drivers) but something is wrong on your system `Output max luminance: 270.0, colorspace RGB Rec.709 gamma:22 range:FULL, bits per pixel 6`. 6 bits per pixel ??? That's what DXGI says about the SwapChain output format. It may be using DXGI_FORMAT_B5G6R5_UNORM internally. Do you have a 16 bits screen ?

On our side we output pixels as floats so it should not matter if it's 6-8-10-12-16 bits. It's up to the driver to handle the range conversion into integer values.

Can you post logs from newer drivers than 4749 ?
I updated my Intel graphics and AMD graphics to the latest drivers. Error persists.

Debuglog:

https://pastebin.com/hEVJ6fPR

Re: Ultra HD (4k 60fps) HEVC Playback Problems

Posted: 24 Apr 2018 19:23
by jerikooo
Just tried MediaPlayerClassic HD. Video works fine. Just for information. Nevertheless I want to stick to VLC :) Hoping for a fix....