jervine 3 Posted December 30, 2017 Share Posted December 30, 2017 HI, I have an NVIDIA ShieldTV (running the latest ShieldTV software: 6.2) and using version 1.5.26g of the Emby app on AndroidTV. The Emby server side is running on 3.2.60.0 (running on CentOS 7) on the same LAN all connected via ethernet cable. I have some MKV movie files that are being transcoded, such the one form the mediainfo output below: Complete name : /plex-library/movies/Die Hard (1988)/Die Hard-1080p.mkv Format : MatroskaFormat version : Version 1File size : 13.1 GiBDuration : 2 h 12 minOverall bit rate : 14.2 Mb/sEncoded date : UTC 2008-05-05 11:17:30Writing application : mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:26Writing library : libebml v0.7.7 + libmatroska v0.8.1VideoID : 1Format : AVCFormat/Info : Advanced Video CodecFormat profile : High@L4.1Format settings : CABAC / 4 Ref FramesFormat settings, CABAC : YesFormat settings, RefFrames : 4 framesCodec ID : V_MPEG4/ISO/AVCDuration : 2 h 12 minBit rate : 12.7 Mb/sWidth : 1 920 pixelsHeight : 812 pixelsDisplay aspect ratio : 2.35:1Frame rate mode : ConstantFrame rate : 23.976 FPSColor space : YUVChroma subsampling : 4:2:0Bit depth : 8 bitsScan type : ProgressiveBits/(Pixel*Frame) : 0.339Stream size : 11.4 GiB (87%)Title : X264 - 2 passesWriting library : x264 core 59 r819M 0414d78Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=10,6 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=8 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=12657 / ratetol=2.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=30000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00Language : EnglishDefault : YesForced : NoAudioID : 2Format : DTSFormat/Info : Digital Theater SystemsMode : 16Format settings, Endianness : BigCodec ID : A_DTSDuration : 2 h 12 minBit rate mode : ConstantBit rate : 1 509 kb/sChannel(s) : 6 channelsChannel positions : Front: L C R, Side: L R, LFESampling rate : 48.0 kHzFrame rate : 93.750 FPS (512 SPF)Bit depth : 24 bitsCompression mode : LossyStream size : 1.39 GiB (11%)Title : DTS - 1536 kbit/sLanguage : EnglishDefault : YesForced : NoText #1ID : 3Format : UTF-8Codec ID : S_TEXT/UTF8Codec ID/Info : UTF-8 Plain TextLanguage : DutchDefault : YesForced : NoText #2ID : 4Format : ASSCodec ID : S_TEXT/ASSCodec ID/Info : Advanced Sub Station AlphaCompression mode : LosslessLanguage : EnglishDefault : NoForced : No whereas another MKV is reported as direct playing: Unique ID : 221118760082741272196070582310006011083 (0xA659EC93D7EFE3D2923A1C34B2E5B4CB)Complete name : /plex-library/movies/Stronger (2017)/Stronger-1080p.mkvFormat : MatroskaFormat version : Version 4 / Version 2File size : 14.2 GiBDuration : 1 h 58 minOverall bit rate : 17.1 Mb/sEncoded date : UTC 2017-12-14 20:09:18Writing application : mkvmerge v18.0.0 ('Apricity') 64-bitWriting library : libebml v1.3.5 + libmatroska v1.4.8VideoID : 1Format : AVCFormat/Info : Advanced Video CodecFormat profile : High@L4.1Format settings : CABAC / 5 Ref FramesFormat settings, CABAC : YesFormat settings, RefFrames : 5 framesCodec ID : V_MPEG4/ISO/AVCDuration : 1 h 58 minBit rate : 15.6 Mb/sWidth : 1 920 pixelsHeight : 804 pixelsDisplay aspect ratio : 2.40:1Frame rate mode : ConstantFrame rate : 23.976 (24000/1001) FPSColor space : YUVChroma subsampling : 4:2:0Bit depth : 8 bitsScan type : ProgressiveBits/(Pixel*Frame) : 0.421Stream size : 12.9 GiB (91%)Title : x264 2 passesWriting library : x264 core 152 r2851 ba24899Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.05:0.00 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=0 / crf=19.5 / qcomp=0.65 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.25 / pb_ratio=1.15 / aq=3:0.80 / zones=0,279,crf=18/463,1265,crf=18/4362,4402,crf=18.1/52014,52068,crf=18.4/52328,52655,crf=18.4/72609,73412,crf=18/75613,75757,crf=18/78906,82515,crf=18/104429,105003,crf=18.4/158651,158684,crf=18.4/162273,171046,crf=22Language : EnglishDefault : YesForced : NoAudioID : 2Format : DTSFormat/Info : Digital Theater SystemsMode : 16Format settings, Endianness : BigCodec ID : A_DTSDuration : 1 h 58 minBit rate mode : ConstantBit rate : 1 509 kb/sChannel(s) : 6 channelsChannel positions : Front: L C R, Side: L R, LFESampling rate : 48.0 kHzFrame rate : 93.750 FPS (512 SPF)Bit depth : 24 bitsCompression mode : LossyStream size : 1.25 GiB (9%)Title : DTS@1510Language : EnglishDefault : YesForced : NoText #1ID : 3Format : UTF-8Codec ID : S_TEXT/UTF8Codec ID/Info : UTF-8 Plain TextDuration : 1 h 51 minBit rate : 70 b/sCount of elements : 2011Stream size : 57.9 KiB (0%)Language : EnglishDefault : NoForced : NoText #2ID : 4Format : UTF-8Codec ID : S_TEXT/UTF8Codec ID/Info : UTF-8 Plain TextDuration : 1 h 52 minBit rate : 69 b/sCount of elements : 1879Stream size : 56.8 KiB (0%)Language : SpanishDefault : NoForced : No I understand that the MKV file is simply a container for the audio and video, however, as far as I can tell (limited knowledge on this) the audio and video in these two files should be capable of direct play (or at worst direct stream?). When playing the Die Hard MKV file, the transcode information says: Reason for transcoding: Container not supported Video codec not supported Audio codec not supported Any pointers greatly appreciated. Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted December 30, 2017 Share Posted December 30, 2017 attach the transcode log for this instance. Link to comment Share on other sites More sharing options...
Luke 37248 Posted December 30, 2017 Share Posted December 30, 2017 Hi @@jervine, yes please attach the ffmpeg log from this example. Thanks. Link to comment Share on other sites More sharing options...
jervine 3 Posted January 1, 2018 Author Share Posted January 1, 2018 Attaching the ffmpeg trancode log file. ffmpeg-transcode-ae379ea1-b20d-4ed3-bb77-151a64bdcb04.txt Link to comment Share on other sites More sharing options...
ebr 14959 Posted January 1, 2018 Share Posted January 1, 2018 Based on that log I'm guessing that was due to a failure trying to direct play the item. Can you follow the instructions for sending a log from the app when you play this? Link to comment Share on other sites More sharing options...
jervine 3 Posted January 2, 2018 Author Share Posted January 2, 2018 OK, will try and capture those logs from the app later today. I agree that it's probably a direct play failure, as the emby dashboard does initially show 'direct play', however the display output is not showing anything at that point (the buffering circle is shown). Once video is displayed, the dashboard shows that the content is being transcoded. Link to comment Share on other sites More sharing options...
jervine 3 Posted January 2, 2018 Author Share Posted January 2, 2018 @@ebr - ok I have just sent a log file from Emby on my Shield to the developer, so hopefully that should have arrived. Link to comment Share on other sites More sharing options...
Luke 37248 Posted January 2, 2018 Share Posted January 2, 2018 Thanks, we'll see what @@ebr thinks. Link to comment Share on other sites More sharing options...
ebr 14959 Posted January 3, 2018 Share Posted January 3, 2018 Okay, the issue is the specific type of encoding for this file which is very rare and not supported by the player. So the app is reacting to that and transcoding it for proper playback. Link to comment Share on other sites More sharing options...
jervine 3 Posted January 4, 2018 Author Share Posted January 4, 2018 @@ebr - thanks ... so I need to re-encode the file in that case (or use a player that does support the encoding). Cheers. Link to comment Share on other sites More sharing options...
ebr 14959 Posted January 4, 2018 Share Posted January 4, 2018 If you are going to re-encode the specific issue is that you will need to either eliminate lacing or use simpleBlocks. It is possible that future player updates will solve this as well. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now