Page 1 of 1

Error with H.265 video

PostPosted: Sun Mar 25, 2018 4:47 am
by atc98092
I successfully ripped my first UHD Blu Ray today, and added it to my Serviio library. However, when playing back on three different Roku players, I encountered a playback error after about 4 minutes. The profile used did not require any transcoding, so the following entry in the log is puzzling. It looks like whatever process was running was well ahead of the movie, since the timestamp appears to be 41 minutes into the movie:

  Code:
2018-03-24 15:25:22,502 INFO  [PlaybackEventsManager] Playback of media item 6014 (Close Encounters of the Third Kind [Close Encounters of the Third Kind (1977) (UHD).mkv]) has started at 0% on Identifier=192.168.0.53, Profile=Roku 4K TV, Name=Upstairs Den TV
2018-03-24 15:29:27,125 WARN  [ProcessExecutor] Process cmd has a return code of 1! This is a possible error. Detailed output follows.
frame=59282 fps=244 q=-1.0 size=17428224kB time=00:41:12.53 bitrate=57743.1kbits/s speed=10.2x
frame=59475 fps=244 q=-1.0 size=17485824kB time=00:41:20.52 bitrate=57747.5kbits/s speed=10.2x
frame=59669 fps=245 q=-1.0 size=17541888kB time=00:41:28.69 bitrate=57742.3kbits/s speed=10.2x
frame=59918 fps=245 q=-1.0 size=17606912kB time=00:41:39.09 bitrate=57715.1kbits/s speed=10.2x
frame=60154 fps=246 q=-1.0 size=17670912kB time=00:41:48.85 bitrate=57699.6kbits/s speed=10.2x


I don't know what cmd is being called, but Zip probably does. I can play the same video with my Samsung DLNA player app in my TV well beyond where it crashes here (haven't played the entire movie yet). The video is of course H.265 with HDR and DTS MA audio. The Roku passes the DTS core without requiring any transcoding. Also, I can play the same video without issue using Plex, so I wouldn't think there was an issue with the file itself. Both TVs capable of displaying HDR recognized the flag and enabled HDR.

FFMPEG info follows:

  Code:
Input #0, matroska,webm, from 'close encounters of the third kind (1977) (UHD).mkv':
  Metadata:
    title           : Close Encounters of the Third Kind 40th Anniversary Edition
    encoder         : libmakemkv v1.12.0 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2018-03-24T19:40:46.000000Z
  Duration: 02:17:14.23, start: 0.000000, bitrate: 52895 kb/s
    Chapter #0:0: start 0.000000, end 881.171958
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 881.171958, end 1197.112583
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1197.112583, end 1447.070625
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1447.070625, end 2242.573667
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 2242.573667, end 2918.790875
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2918.790875, end 3678.299625
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3678.299625, end 4772.601167
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 4772.601167, end 5186.639792
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 5186.639792, end 5639.884250
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 5639.884250, end 6155.816333
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 6155.816333, end 6342.377708
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 6342.377708, end 6823.399917
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 6823.399917, end 7069.729333
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 7069.729333, end 7552.253042
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7552.253042, end 7892.426208
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7892.426208, end 8234.226000
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc
    Metadata:
      BPS-eng         : 49349952
      DURATION-eng    : 02:17:14.226000000
      NUMBER_OF_FRAMES-eng: 197424
      NUMBER_OF_BYTES-eng: 50794832734
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1981219
      DURATION-eng    : 02:17:14.229333333
      NUMBER_OF_FRAMES-eng: 771959
      NUMBER_OF_BYTES-eng: 2039226484
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:17:14.229333333
      NUMBER_OF_FRAMES-eng: 771959
      NUMBER_OF_BYTES-eng: 1553181508
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 29279
      DURATION-eng    : 02:15:57.294979166
      NUMBER_OF_FRAMES-eng: 2913
      NUMBER_OF_BYTES-eng: 29855310
      SOURCE_ID-eng   : 0012A0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 23202
      DURATION-eng    : 02:11:00.790437500
      NUMBER_OF_FRAMES-eng: 2153
      NUMBER_OF_BYTES-eng: 22798357
      SOURCE_ID-eng   : 0012A1
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 798
      DURATION-eng    : 00:35:41.118145833
      NUMBER_OF_FRAMES-eng: 14
      NUMBER_OF_BYTES-eng: 213728
      SOURCE_ID-eng   : 0012A1
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-24 19:40:46
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID

Re: error with H.265 video

PostPosted: Sun Mar 25, 2018 5:43 pm
by atc98092
Update: I tried using the generic profile to ensure it wasn't something in the profile messing with it, but no change. I've just finished remuxing the file using TSMuxer into an M2TS container, so now I'll test that.

Re: error with H.265 video

PostPosted: Mon Mar 26, 2018 1:38 am
by atc98092
Update 2: the .TS file seems to play without error. However, I am encountering issues with stuttering with my Roku TV. I think the issue is I'm max-ing out the 100BaseT network connection with this full UHD rip. Since my test server is Windows 7, the Task Manager only shows network activity as a percentage of the network card's speed. So for my gigabit network, I'm seeing steady bitrates around 70-80 Mbps, with peaks exceeding 100 Mbps. Since no Roku player has a gigabit wired network adapter, it appears I'm bumping the ceiling.

Another strange issue. My Roku 4 only shows the initial MKV rip, not the .TS or .M2TS remuxed files. The Ultra exhibits the same issue as the 4. Since the Roku 4 supports UHD, and it's using almost the same profile as the Roku TV, I'm unsure why they aren't appearing. Before I contact the Roku engineer that helped me with the profiles, I'll try the exact same profile, just to be sure.

EDIT: The Ultra and 4 are the same: only the MKV file is visible. The Sharp TV is the only player that sees all three. If I change the 4 to the 1080 profile, all three appear, but will be transcoded, which isn't necessary.