Jump to content
utomi

Xbox One X + No 4K HEVC Direct Play or HDR!!!

Recommended Posts

teetniin

Same issues here. My Emby server is running on Synology DS716+, Emby server version 3.5. If needed ja can dig up log files.

Edited by teetniin

Share this post


Link to post
Share on other sites
Paul77nz

I don't suppose there's been any news yet from Microsoft in regards to fixing this platform defect? @@FrostByte

Share this post


Link to post
Share on other sites
Luke

@@FrostByte have you seen anything on the alpha channel?

Share this post


Link to post
Share on other sites
FrostByte

@@FrostByte have you seen anything on the alpha channel?

 

No, there is nothing mentioned in the latest release notes that remotely mentions fixing HDR for apps like Emby.

 

I did load the Alpha Skip ahead release 1810 Redstone 5 before going on vacation though and it did fix some problems I was having with the media remote.

Share this post


Link to post
Share on other sites
Luke

Thanks for the info.

Share this post


Link to post
Share on other sites
BurntTech

Would this still be the reason video codec is unsupported for all hevc videos? Is there any updates on this as all my new videos are 4k and having the transcoding on xbox one x. ( unplayable in my case ) Thanks! :-)

Share this post


Link to post
Share on other sites
Luke

Would this still be the reason video codec is unsupported for all hevc videos? Is there any updates on this as all my new videos are 4k and having the transcoding on xbox one x. ( unplayable in my case ) Thanks! :-)

We'd have to look at an example. Please see how to report a media playback issue. thanks !

Share this post


Link to post
Share on other sites
BurntTech

The audio makes sense for the xbox one x with truehd but the video says VideoCodecNotSupported for hevc

Application version: 3.5.2.0

http://NAS:8096/emby/videos/7e24cd59d405c7dfd148d40de7b973a7/hls1/main/0.ts?DeviceId=5ClXD0kI9ooAWQrfYAVLeoYXIwRoAATipynKaWAIUJ0&MediaSourceId=7e24cd59d405c7dfd148d40de7b973a7&VideoCodec=h264&AudioCodec=ac3,eac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&PlaySessionId=6c36d3b25d3540f98430a2af55b77faf&api_key=ae01b3a6531f40a99fe6c2c8b320430b&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=c2966fb59f9343c3ac26a9e64aefa566&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported

{"Protocol":"File","Id":"7e24cd59d405c7dfd148d40de7b973a7","Path":"/mnt/Videos/Movies/Jurassic Park (1993)/Jurassic Park (1993).mkv","Type":"Default","Container":"mkv,webm","Name":"Jurassic Park (1993)","IsRemote":false,"ETag":"c2966fb59f9343c3ac26a9e64aefa566","RunTimeTicks":75879970000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"hevc","Language":"eng","ColorTransfer":"smpte2084","ColorPrimaries":"bt2020","ColorSpace":"bt2020nc","TimeBase":"1/1000","CodecTimeBase":"1001/24000","VideoRange":"HDR","DisplayTitle":"4K HEVC","IsInterlaced":false,"BitRate":57639554,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":2160,"Width":3840,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"Main 10","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p10le","Level":153},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 7.1","DisplayTitle":"Eng DTS 7.1 Default","IsInterlaced":false,"ChannelLayout":"7.1","BitDepth":24,"Channels":8,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 5.1","DisplayTitle":"Eng DTS 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":1536000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"DTS","Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mjpeg","ColorSpace":"bt470bg","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":360,"Width":640,"RealFrameRate":90000,"Profile":"192","Type":"EmbeddedImage","AspectRatio":"16:9","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj444p","Level":-99}],"Formats":[],"Bitrate":57639554,"RequiredHttpHeaders":{}}

User policy for USERNAME: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/usr/local/opt/emby-server/bin/ffmpeg -f matroska,webm -i file:"/mnt/Videos/Movies/Jurassic Park (1993)/Jurassic Park (1993).mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 115279108 -bufsize 230558216 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 ac3 -ac 6 -ab 384000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/af5e70de86cce2ecab718610fbe9f01e.m3u8" -y "/var/db/emby-server/transcoding-temp/af5e70de86cce2ecab718610fbe9f01e%d.ts"

Share this post


Link to post
Share on other sites
Luke

Please attach the complete ffmpeg log. thanks.

  • Like 1

Share this post


Link to post
Share on other sites
Luke

Attached the log

 

Thanks

 

Is this from today, or the other day?

Share this post


Link to post
Share on other sites
BurntTech

It was same as the snip in the previous post a few days ago

Share this post


Link to post
Share on other sites
Luke

Ok in this example the audio requires transcoding, but we should be able to get the video to stream copy. I will look into this. Thanks.

Share this post


Link to post
Share on other sites
BurntTech

Thanks luke! This might fix my performance issues of playing 4k movies if I only need to transcode audio.

Share this post


Link to post
Share on other sites
Allex

Any news about emby playing 4k HDR? I tested plex on xbox one x with latest beta firmware and its not buffering any more, 4k HDR plays perfectly. Emby is transcoding now all my 4k HDR movies. 

  • Like 1

Share this post


Link to post
Share on other sites
FrostByte

From what I saw on the forum it wasn't a patch on the Xbox One itself that fixed it for them, but they are using a different stack for 4K which eliminated the buffering issue they were having causing 4H HDR to transcode. 

 

It may not be the same issue though because I'm not seeing a buffering/transcoding issue with Emby when playing 4K HDR.  It's Direct Playing on my XB1X, just not passing HDR

Share this post


Link to post
Share on other sites
Allex

Can emby use same stack to play 4k HDR it may fix the HDR issue with emby? I wonder why is my emby transcoding than. I'm on latest emby app on xbox one x and latest stable emby server on qnap.

Edited by zeroq

Share this post


Link to post
Share on other sites
FrostByte

Can emby use same stack to play 4k HDR it may fix the HDR issue with emby? I wonder why is my emby transcoding than. I'm on latest emby app on xbox one x and latest stable emby server on qnap.

 

Hmm...our setups are very similar.  Are you playing HD audio by chance?  I usually just let Handbrake convert everything to AC3 since my soundbar doesn't do Atmos, etc.   I normally don't play remuxes either to scale back on size, bitrate, etc.  Here is an Infinity War encode I did with Handbrake.  I also burn in all my subtitles when I encode something so I don't have to deal with that

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main 10@L5.1@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 29 min
Bit rate                                 : 18.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 608 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.122
Stream size                              : 18.8 GiB (97%)
Writing library                          : x265 2.8:[Windows][GCC 7.1.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1608 / interlace=0 / total-frames=214872 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=16.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1) / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 29 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 684 MiB (3%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Edited by FrostByte

Share this post


Link to post
Share on other sites
Allex

All my movies have ac3 audio with TrueHD Atmos as well. But for some reason Emby is reporting that bitrate is to high and needs to transcode. Before me updating xbox to this latest beta, emby played directly without HDR.

  • Like 1

Share this post


Link to post
Share on other sites
Luke

I would check your in-app quality setting and put it on Auto.

Share this post


Link to post
Share on other sites
BurntTech

Ok in this example the audio requires transcoding, but we should be able to get the video to stream copy. I will look into this. Thanks.

 

Were you able to figure anything out on the streaming the 4k Video when audio has to be transcoded. I don't have the server power to transcode HEVC 4k and pretty fond of xbox :-)

Share this post


Link to post
Share on other sites
Luke

Yea, we're going to need a new video player because the stock Microsoft player does not support hevc in HLS, so that is why the video is also being converted. What we'd like to do is use mpv like on other platforms.

  • Like 1

Share this post


Link to post
Share on other sites
BurntTech

Yea, we're going to need a new video player because the stock Microsoft player does not support hevc in HLS, so that is why the video is also being converted. What we'd like to do is use mpv like on other platforms.

 

If I was to build a HTPC would HDR work on windows 10 with HDR setting enabled with MPV player? I couldn't find any working ones yet in the forum but my search skills might be lacking. @

Edited by BurntTech

Share this post


Link to post
Share on other sites

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...