Jump to content

Improper Transcoding


Recommended Posts

Posted

The short a new TCL 65S517 for the garage using the Roku Emby or Emby beta app transcodes this file. The Roku Blue Neon for emby does not and it plays flawless. Plex App & Plex on the same TV also do not require transcoding. Either does the Built limited Rolu media player.

head ffmpeg-transcode-abba5c28-b1e1-41be-984d-bda623b9df42_1.txt 
2019-02-23 10:36:32.555
Application version: 4.0.2.0

http://10.0.3.1:8096/emby/videos/119105/hls1/main/1625.ts?DeviceId=41f30b3c-0c64-5959-8fd4-13fcce636286&MediaSourceId=cf00309566eb3e78bce48d58a90be3fc&VideoCodec=h264,mpeg1video,mpeg2video,hevc&AudioCodec=ac3,aac,mp2,mp3,eac3,flac,opus,vorbis,lpcm&VideoBitrate=79360000&AudioBitrate=640000&MaxFramerate=61&MaxWidth=3840&MaxHeight=2160&PlaySessionId=9e7f0c6b89ed4154a6c2596a276e1601&api_key=baeebea3324a4a588d0d343c7248e3cb&AudioStreamIndex=2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&SegmentContainer=ts&SegmentLength=3&MinSegments=1&BreakOnNonKeyFrames=True&h264-maxrefframes=16&h264-videobitdepth=8&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&aac-audiochannels=6&eac3-audiochannels=6&ac3-audiochannels=6&flac-audiochannels=6&lpcm-audiochannels=6&mp3-audiochannels=2&mp2-audiochannels=2&vorbis-audiochannels=6&opus-audiochannels=6&TranscodeReasons=VideoResolutionNotSupported

{"Protocol":"File","Id":"cf00309566eb3e78bce48d58a90be3fc","Path":"/storage/multimedia/movies/the fifth element (1997)/the fifth element (1997) [4k].mkv","Type":"Default","Container":"mkv","Size":46322528674,"Name":"the fifth element (1997) [4k]","IsRemote":false,"RunTimeTicks":73011191808,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"hevc","TimeBase":"1/1000","CodecTimeBase":"125/2997","VideoRange":"SDR","DisplayTitle":"4K HEVC","IsInterlaced":false,"BitRate":50756634,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":2160,"Width":4096,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"Main","Type":"Video","AspectRatio":"256:135","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":150,"IsAnamorphic":false},{"Codec":"flac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"FLAC, 5.1 channels, 48kHz","DisplayTitle":"Eng FLAC 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitDepth":24,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":true,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 5.1 [4k]","DisplayTitle":"Eng Dolby Digital 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"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":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"PGS, 1721 captions","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"PGS, 1422 captions","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"PGS, 295 captions","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"SRT, 1721 captions","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":7,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"SRT, 1422 captions","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0},{"Codec":"mjpeg","ColorSpace":"bt470bg","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":444,"Width":300,"RealFrameRate":90000,"Profile":"192","Type":"EmbeddedImage","AspectRatio":"25:37","Index":9,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":false}],"Formats":[],"Bitrate":50756634,"RequiredHttpHeaders":{}}

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

Affected codecs:
>>>>>>  libx264 Software Encoder
        Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10LE, YUV422P10LE, YUV444P10LE, NV20LE
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)


>>>>>>  FindVideoDecoder - MediaType: hevc, Mode: 0
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

>>>>>>  FindVideoDecoder - MediaType: hevc, Mode: 0
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

/opt/emby-server/bin/ffmpeg -ss 01:21:15.000  -f matroska -i file:"/storage/multimedia/movies/the fifth element (1997)/the fifth element (1997) [4k].mkv" -threads 0 -map 0:0 -map 0:2 -map -0:s -c:v:0 libx264 -filter_complex "[0:0]scale=trunc(min(max(iw\,ih*dar)\,min(3840\,2160*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(3840/dar\,2160))/2)*2" -pix_fmt yuv420p  -maxrate 79360000 -bufsize 158720000 -preset slow -profile high -level 4.1 -crf 23 -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 copy -metadata:s:a:0 language=eng -disposition:a:0 default -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -segment_time_delta -4875 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 1625 -segment_list "/storage/emby/sync/transcoding-temp/6fd7f321079bb14e6959388818424a90.m3u8" -y "/storage/emby/sync/transcoding-temp/6fd7f321079bb14e6959388818424a90%d.ts"

ffmpeg version 4.0.2-emby_2018_12_09 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
  configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[matroska,webm @ 0xd0e400] Stream #9: not enough frames to estimate rate; consider increasing probesize
[matroska,webm @ 0xd0e400] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0xd0e400] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0xd0e400] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0xd0e400] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'file:/storage/multimedia/movies/the fifth element (1997)/the fifth element (1997) [4k].mkv':
  Metadata:
    encoder         : libebml v1.3.3 + libmatroska v1.4.4
    creation_time   : 2016-06-20T01:21:12.000000Z
  Duration: 02:01:41.12, start: 0.000000, bitrate: 50756 kb/s
    Chapter #0:0: start 0.000000, end 157.073583
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 157.073583, end 731.605875
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 731.605875, end 1457.539417
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1457.539417, end 1934.682750
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1934.682750, end 2405.236167
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2405.236167, end 2891.680458
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 2891.680458, end 3203.116583
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3203.116583, end 3616.613000
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 3616.613000, end 4036.991292
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4036.991292, end 4276.647375
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4276.647375, end 4914.659750
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 4914.659750, end 5245.657083
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5245.657083, end 5909.778875
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 5909.778875, end 6395.347292
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 6395.347292, end 6746.364625
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 6746.364625, end 7301.034000
    Metadata:
      title           : Chapter 16
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 4096x2160 [SAR 1:1 DAR 256:135], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Metadata:
      BPS             : 47155598
      BPS-eng         : 47155598
      DURATION        : 02:01:41.051000000
      DURATION-eng    : 02:01:41.051000000
      NUMBER_OF_FRAMES: 175050
      NUMBER_OF_FRAMES-eng: 175050
      NUMBER_OF_BYTES : 43035678608
      NUMBER_OF_BYTES-eng: 43035678608
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: flac, 48000 Hz, 5.1(side), s32 (24 bit) (forced)
    Metadata:
      title           : FLAC, 5.1 channels, 48kHz
      BPS             : 2871297
      BPS-eng         : 2871297
      DURATION        : 02:01:41.119000000
      DURATION-eng    : 02:01:41.119000000
      NUMBER_OF_FRAMES: 85560
      NUMBER_OF_FRAMES-eng: 85560
      NUMBER_OF_BYTES : 2620460567
      NUMBER_OF_BYTES-eng: 2620460567
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Metadata:
      title           : Surround 5.1 [4k]
      BPS             : 640000
      BPS-eng         : 640000
      DURATION        : 02:01:41.056000000
      DURATION-eng    : 02:01:41.056000000
      NUMBER_OF_FRAMES: 228158
      NUMBER_OF_FRAMES-eng: 228158
      NUMBER_OF_BYTES : 584084480
      NUMBER_OF_BYTES-eng: 584084480
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 15435
      BPS-eng         : 15435
      DURATION        : 02:01:12.057000000
      DURATION-eng    : 02:01:12.057000000
      NUMBER_OF_FRAMES: 3449
      NUMBER_OF_FRAMES-eng: 3449
      NUMBER_OF_BYTES : 14030935
      NUMBER_OF_BYTES-eng: 14030935
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : PGS, 1721 captions
      BPS             : 14265
      BPS-eng         : 14265
      DURATION        : 02:00:54.330000000
      DURATION-eng    : 02:00:54.330000000
      NUMBER_OF_FRAMES: 3442
      NUMBER_OF_FRAMES-eng: 3442
      NUMBER_OF_BYTES : 12935515
      NUMBER_OF_BYTES-eng: 12935515
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : PGS, 1422 captions
      BPS             : 12889
      BPS-eng         : 12889
      DURATION        : 01:58:25.432000000
      DURATION-eng    : 01:58:25.432000000
      NUMBER_OF_FRAMES: 2844
      NUMBER_OF_FRAMES-eng: 2844
      NUMBER_OF_BYTES : 11447995
      NUMBER_OF_BYTES-eng: 11447995
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : PGS, 295 captions
      BPS             : 42842
      BPS-eng         : 42842
      DURATION        : 02:01:03.882000000
      DURATION-eng    : 02:01:03.882000000
      NUMBER_OF_FRAMES: 444
      NUMBER_OF_FRAMES-eng: 444
      NUMBER_OF_BYTES : 38900574
      NUMBER_OF_BYTES-eng: 38900574
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:7(eng): Subtitle: subrip
    Metadata:
      title           : SRT, 1721 captions
      BPS             : 61
      BPS-eng         : 61
      DURATION        : 02:00:54.330000000
      DURATION-eng    : 02:00:54.330000000
      NUMBER_OF_FRAMES: 1718
      NUMBER_OF_FRAMES-eng: 1718
      NUMBER_OF_BYTES : 55666
      NUMBER_OF_BYTES-eng: 55666
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:8(eng): Subtitle: subrip
    Metadata:
      title           : SRT, 1422 captions
      BPS             : 50
      BPS-eng         : 50
      DURATION        : 01:58:25.431000000
      DURATION-eng    : 01:58:25.431000000
      NUMBER_OF_FRAMES: 1417
      NUMBER_OF_FRAMES-eng: 1417
      NUMBER_OF_BYTES : 44705
      NUMBER_OF_BYTES-eng: 44705
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-20 01:21:12
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-20 01:21:12
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:9: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x444 [SAR 1:1 DAR 25:37], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : FifthElement (1).jpg
      mimetype        : image/jpeg
Please use -profile:a or -profile:v, -profile is ambiguous
Stream mapping:
  Stream #0:0 (hevc) -> scale
  scale -> Stream #0:0 (libx264)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0xf87a00] subme=0 + direct=temporal is not supported
[libx264 @ 0xf87a00] using SAR=2024/2025
[libx264 @ 0xf87a00] frame MB size (240x127) > level limit (8192)
[libx264 @ 0xf87a00] DPB size (4 frames, 121920 mbs) > level limit (1 frames, 32768 mbs)
[libx264 @ 0xf87a00] VBV bitrate (79360) > level limit (50000)
[libx264 @ 0xf87a00] VBV buffer (158720) > level limit (62500)
[libx264 @ 0xf87a00] MB rate (730788) > level limit (245760)
[libx264 @ 0xf87a00] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0xf87a00] profile Main, level 4.1
[libx264 @ 0xf87a00] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=79360 vbv_bufsize=158720 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[segment @ 0xf860c0] Opening '/storage/emby/sync/transcoding-temp/6fd7f321079bb14e6959388818424a901625.ts' for writing
Output #0, segment, to '/storage/emby/sync/transcoding-temp/6fd7f321079bb14e6959388818424a90%d.ts':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 3840x2024 [SAR 2024:2025 DAR 256:135], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 79360000/0/0 buffer size: 158720000 vbv_delay: -1
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)

Posted

What resolution is the device set to?

 

MaxWidth=3840&MaxHeight=2160

TranscodeReasons=VideoResolutionNotSupported

 

{"Codec":"hevc","TimeBase":"1/1000","CodecTimeBase":"125/2997","VideoRange":"SDR","DisplayTitle":"4K HEVC","IsInterlaced":false,"BitRate":50756634,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":2160,"Width":4096,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"Main","Type":"Video","AspectRatio":"256:135","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":150,"IsAnamorphic":false}

 

@@Luke @@ebr For 4K should we increase from 3840 to 4096 as our upperlimit? The RokuTV might have higher capabilities than the RokuSTB? Should we throw caution to the wind and increase all Roku DVP that have 4K to max 4096?

Posted

In the Emby apps both where tired being set to auto and 4K (UHD)/80.

Plex is set to auto.

Blue Neon is set to 70 Mbps for quality and auto for resolution. 

The built in TV roku doesn't have display "options" like the externals. 

Posted (edited)

In the Emby apps both where tired being set to auto and 4K (UHD)/80.

Plex is set to auto.

Blue Neon is set to 70 Mbps for quality and auto for resolution. 

The built in TV roku doesn't have display "options" like the externals. 

 

I can raise the maximum resolution for 4K to 4096 in the capabilities. This would be for any 4K capable device it would allow 4096 max resolution instead of 3840. That is the issue here. 

 

Blue Neon may not be properly checking resolution for 4K. This would allow it to "sneak" these through. It also might be that you use "Force Direct" in Blue Neon which would forgo any capabilities and just try to play it regardless of any checking if it can properly or not. I added the ability to force in Blue Neon because it was a time when model numbers were used to add capabilities. It wasn't reading any information from the device much except for the audio profile and even that was using an outdated method compared to today.

 

Roku was not disclosing information on the device and developers were forced to know capabilities by device model number. Those days are like the medieval dark days before there was electricity. Roku now has functions which developers can use to know the exact capability of each device both video and audio. With this it is no longer relevant to track model number except for the rare exception with under-performing devices. There are a few problems with some models due to quirks in their implementation of Roku's OS version 9.0. As users come forward with issues on these devices we adapt accordingly. :)

 

Plex has a similar option to allow users to over-ride their automatic detection. They allow you to force play methods because they are not confident they know Roku that well.

 

We on the other hand feel confident in our ability to detect and are rarely wrong. In this case it is just raising the limit from 3840 to 4096 which I can have submitted today. It should make it to the app shortly after that. Thank you for reporting that the limit was too low. Tailoring the auto-detection to be perfect is a constantly evolving process. Thank you for being a part of the process.  :)

 

Reference: Fix #250: Adapt 4K

Edited by speechles

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