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
Playback Issues on Nvidia Shield TV and LG OLED65B7A TV #46
Comments
Thank you for reporting. Unfortunately, I don't have HDR TVs, but I was able to reproduce the "delay" in VLC. What is weird is that the "delay" seems to occur when muxing to mkv, but does not occur when muxing to mp4. I'll try to check around mkv muxing, and maybe I'll need to update libavformat dlls, as it is nearly a year old (but will take time). |
I've improved handling of HDR metadatas in NVEnc 4.00, now I see no delay of metadata info showing up in VLC. I hope this fixes the problem on TV too. |
I tried using NVEnc 4.00 with the pre-built Windows binaries on your Google Drive, but it's crashing for me. I tried outputting to both
I don't see any error messages that could provide some information on what is causing the crash. |
Thank you, I have fixed this issue in NVEnc 4.01. |
Using NVEncC 4.01 |
I have exactly the same problem |
After updating to 4.02 I found the problem to be solved |
the input master display string from harry potter is incorrect....the values you see in media info need to be calculated like this: G(x times 50000,y times 50000)B(x times 50000,y times 50000)R(x times 50000,y times 50000)WP(x times 50000,y times 50000)L(x times 10000,y times 10000) meaning the L(x must be wrong) one can only increase the value by 0.0001 or 1/10000th and the rest of the values can only be increased with 0.00002 or 1/50000th other values WILL GIVE ERRORS!!! |
These are the correct values for harry potter: Mastering display color primaries: R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000 So this should be the correct string: |
Secondly your tv is from the year 2017 meaning your tv can ONLY process up to 25000kilobits AVG per second and 40000 MAXIMUM per second for JUST the videostream. EVERYTHING together is a maximum of 50000 kilobits per second meaning h265, audio, subtitles, chapters and tags. |
I am also having trouble encoding anything with nvencc64 version 4.14 that will play on my LG OLED TV (mine is OLED65B6P from 2016). It appears that nothing encoded using my GPU will play on my TV. I've tried just encoding 8-bit, video only in h264 and h265 using mp4 and mkv containers but none of the files play on my TV. My source files are direct remux from UHD Blu-Ray disc to mkv container. The source files will play on the TV but stutter because it can't decode them fast enough. I did some test encodes using x264 and x265 encoders and those will play on the TV. I don't know enough about these codecs to be able to troubleshoot the problem adequately. Is there any information I might be able to provide that could help get this issue resolved? |
Simply ...some TV fail to play VBR encodes use CQP instead. |
I'm using the following command to re-encode 4k HDR Blu-ray Remux videos to a lower bitrate:
NVEncC64.exe -c hevc -i "Harry Potter and the Philosopher's Stone (2001).mkv" -o "Harry Potter and the Philosopher's Stone (2001).nvenc.mkv" --avsw --vbrhq 17000 --output-depth 10 --vbr-quality 15 --lookahead 32 --level 5.1 --profile main10 --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --max-cll 552,190 --master-display G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(39999999,50) --audio-copy --sub-copy
When I attempt to playback the output of this using a Nvidia Shield TV on a LG OLED65B7A TV, I have issues.
I am able to produce a video with ffmpeg and libx265 without any playback issues using the following command:
ffmpeg.exe -i "Harry Potter and the Philosopher's Stone (2001).mkv" -c:a copy -c:s copy -c:v libx265 -preset slower -crf 19 -pix_fmt yuv420p10le -x265-params "level-idc=5.1:profile=main10:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(39999999,50):max-cll=552,190:aq-mode=3" -y "Harry Potter and the Philosopher's Stone (2001).ffmpeg.mkv"
My suspicion is that this has something to do with the HDR metadata on the output video.
I've noticed that if I playback the NVEnc video in VLC player, the HDR metadata does not appear in the "Tools > Codec information" dialog until 5 to 7 seconds into the video; at the exact point that Plex and Kodi have issues. Whereas with the FFMPEG produced video, the HDR metadata appears immediately.
I can provide some sample video files if they would assist in analysis.
The text was updated successfully, but these errors were encountered: