Nvidia Shield - High CPU - Transcoding Failures

Log Excerpt and Settings Screen Shot:

Initially was at 10mbps…adj to 4mbps

2018/04/11 08:12:42 [SYS] Update downloaded and verified successfully.
2018/04/11 08:12:42 [SYS] Shutting down for upgrade from v2018.04.07.0329 to v2018.04.11.0401
2018/04/11 08:12:42 [DVR] Recording engine stopped.
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/channels-dvr: unsupported flags DT_FLAGS_1=0x8000000
2018/04/11 08:12:43 [SYS] Starting Channels DVR v2018.04.11.0401 (android-arm64) in /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/data
2018/04/11 08:12:44 [HDR] Found 1 devices
2018/04/11 08:12:44 [SYS] Started HTTP Server
2018/04/11 08:12:48 [DVR] Recording engine started in /storage/B0CA-2A28/NVIDIA_SHIELD/Channels
2018/04/11 08:12:48 [DVR] Waiting 20h17m11.117835011s until next job 1523521800-ch431 ABC7 News at 4:30am
2018/04/11 08:12:50 [SYS] Created database snapshot: backup-20180411.081248
2018/04/11 08:12:51 [SYS] Removing old backup backup-20171102.153531
2018/04/11 08:13:00 [IDX] Pruned 190 expired airings from USA-FL61795-X in 1.705649374s.
2018/04/11 08:13:08 [HLS] Starting transcoder for file21-ip10.0.0.2 at 5m14s from 10.0.0.2 (encoder=remux, resolution=, deinterlacer=, bitrate=10000)
2018/04/11 08:13:08 [HLS] Stopping transcoder for file21-ip10.0.0.2 after seek to 5m14s (out=0s, finished=false)
2018/04/11 08:13:09 [HLS] Starting transcoder for file21-ip10.0.0.2 at 5m14s from 10.0.0.2 (encoder=remux, resolution=, deinterlacer=, bitrate=10000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x201f45f600] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x201f45f600] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x201f45f600] Dropped corrupted packet (stream = 1)
2018/04/11 08:13:13 [HLS] Stopping transcoder for file21-ip10.0.0.2 after seek to 4m59s (out=5m14s, finished=false)
2018/04/11 08:13:16 [HLS] Starting transcoder for file21-ip10.0.0.2 at 4m59s from 10.0.0.2 (encoder=remux, resolution=, deinterlacer=, bitrate=10000)
2018/04/11 08:13:16 [HLS] Stopping transcoder for file21-ip10.0.0.2 after seek to 4m59s (out=0s, finished=false)
2018/04/11 08:13:18 [HLS] Starting transcoder for file21-ip10.0.0.2 at 4m59s from 10.0.0.2 (encoder=remux, resolution=, deinterlacer=, bitrate=10000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x203645f600] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x203645f600] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x203645f600] Dropped corrupted packet (stream = 1)
[NULL @ 0x2036516500] illegal reordering_of_pic_nums_idc 28
2018/04/11 08:13:38 [HLS] Stopping transcoder session file21-ip10.0.0.2 @ 5m7.947378s
2018/04/11 08:15:20 [TNR] Opened connection to 1318CAEB for ch420
2018/04/11 08:15:24 [HLS] Probing live stream for codec/bitrate took 2.696177551s
2018/04/11 08:15:24 [HLS] Starting transcoder for channel 420 from 10.0.0.2 (encoder=remux, resolution=, deinterlacer=, bitrate=10000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
2018/04/11 08:15:39 [HLS] Stopping transcoder session ch420-dANY-ip10.0.0.2 @ 6.681978s
2018/04/11 08:15:39 [TNR] Closed connection to 1318CAEB for ch420
2018/04/11 08:17:22 [TNR] Opened connection to 1318CAEB for ch420
2018/04/11 08:17:27 [HLS] Probing live stream for codec/bitrate took 3.791066717s
2018/04/11 08:17:27 [HLS] Starting transcoder for channel 420 from 10.0.0.2 (encoder=remux, resolution=1080, deinterlacer=, bitrate=6000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
2018/04/11 08:17:37 [HLS] Stopping transcoder session ch420-dANY-ip10.0.0.2 @ 5.704377s
2018/04/11 08:17:37 [TNR] Closed connection to 1318CAEB for ch420
2018/04/11 08:18:22 [TNR] Opened connection to 1318CAEB for ch423
2018/04/11 08:18:26 [HLS] Probing live stream for codec/bitrate took 3.15186203s
2018/04/11 08:18:26 [HLS] Starting transcoder for channel 423 from 10.0.0.2 (encoder=remux, resolution=720, deinterlacer=, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
2018/04/11 08:18:49 [HLS] Stopping transcoder session ch423-dANY-ip10.0.0.2 @ 9.809311s
2018/04/11 08:18:49 [TNR] Closed connection to 1318CAEB for ch423
2018/04/11 08:19:04 [HLS] Starting transcoder for file1-ip10.0.0.2 at 8m46s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
2018/04/11 08:19:04 [HLS] Stopping transcoder for file1-ip10.0.0.2 after seek to 8m46s (out=0s, finished=false)
2018/04/11 08:19:07 [HLS] Starting transcoder for file1-ip10.0.0.2 at 8m46s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x202a05f600] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 0x202a05f600] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x202a05f600] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x202a05f600] Dropped corrupted packet (stream = 1)
[hls @ 0x202a05fc00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2018/04/11 08:19:14 [HLS] Stopping transcoder for file1-ip10.0.0.2 after seek to 8m31s (out=8m46.405333s, finished=false)
2018/04/11 08:19:18 [HLS] Starting transcoder for file1-ip10.0.0.2 at 8m31s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
2018/04/11 08:19:18 [HLS] Stopping transcoder for file1-ip10.0.0.2 after seek to 8m31s (out=0s, finished=false)
2018/04/11 08:19:21 [HLS] Starting transcoder for file1-ip10.0.0.2 at 8m31s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
2018/04/11 08:19:21 [HLS] Stopping transcoder session file1-ip10.0.0.2 @ 0s
2018/04/11 08:19:38 [HLS] Starting transcoder for file2-ip10.0.0.2 at 52s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
2018/04/11 08:19:38 [HLS] Stopping transcoder for file2-ip10.0.0.2 after seek to 52s (out=0s, finished=false)
2018/04/11 08:19:43 [HLS] Starting transcoder for file2-ip10.0.0.2 at 52s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x202e05f600] Dropped corrupted packet (stream = 1)
[mpegts @ 0x202e05f600] Dropped corrupted packet (stream = 2)
2018/04/11 08:19:46 [HLS] Stopping transcoder for file2-ip10.0.0.2 after seek to 52s (out=0s, finished=false)
2018/04/11 08:19:49 [HLS] Starting transcoder for file2-ip10.0.0.2 at 52s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x2028c5f600] Dropped corrupted packet (stream = 1)
[mpegts @ 0x2028c5f600] Dropped corrupted packet (stream = 2)
2018/04/11 08:19:56 [HLS] Stopping transcoder for file2-ip10.0.0.2 after seek to 52s (out=0s, finished=false)
2018/04/11 08:20:01 [HLS] Starting transcoder for file2-ip10.0.0.2 at 52s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x2008c5f600] Dropped corrupted packet (stream = 1)
[mpegts @ 0x2008c5f600] Dropped corrupted packet (stream = 2)
2018/04/11 08:20:05 [HLS] Stopping transcoder session file2-ip10.0.0.2 @ 0s
2018/04/11 08:20:15 [HLS] Starting transcoder for file3-ip10.0.0.2 at 0s from 10.0.0.2 (encoder=h264_mediacodecndk, resolution=720, deinterlacer=blend, bitrate=4000)
WARNING: linker: /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2018.04.11.0401/ffmpeg: unsupported flags DT_FLAGS_1=0x8000000
[mpegts @ 0x202f45f600] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x202f45f600] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x202f45f600] start time for stream 5 is not set in estimate_timings_from_pts
[mpegts @ 0x202f45f600] Dropped corrupted packet (stream = 1)
[mpegts @ 0x202f45f600] Dropped corrupted packet (stream = 2)
[hls @ 0x202f45fc00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2018/04/11 08:20:33 [HLS] Stopping transcoder session file3-ip10.0.0.2 @ 3.670333s<img src="//channels-

[mpegts @ 0x2029c5f600] Dropped corrupted packet (stream = 1)
Error closing progress log, loss of information possible: Broken pipe

Also Bonjour discovery is odd after clicking:

Bonjour
Advertising dvr-shield.local. via 2 networks: [10.0.0.34]

Mouse hover on #2 reveals: dummy0 eth0

Load average is quite high. Can’t tell what’s using up all that cpu.

FYI: for @tmm1 et all:

Thought at first that high CPU usage could be attributed Plex Server (? as only running for music - 2300 tracks) since I disabled Plex server…and usage fell to normal ranges.

However CPU again crept back up to intolerable ranges over time. Then deleted all non used apps (which were available for uninstall)…several file managers, and MRMC + added back Plex Server (music).

Currently only using Channels (DVR server & client app) plus one file manager (X-file) and Plex Server (music only) + HD View, Netflix, Vudu, Amazon Video, Google Apps, You Tube, Photo&Videos and Launch on Reboot.

This combination appears to allow a lower CPU usage and Channels transcoding is working at 720 (4mbps).

Hopefully, this combo will continue to work on the 16gb Shield…without dropouts, high CPU, etc.

One other data point for consideration:

I was never able to connect to the Shield (on web browser) using wi-fi. I had to be on a wired connection (MoCA).

I do have Bonjour discovery turned off for the Shield, due to desire to use my Qnap Server for client connection…as I am only testing the Shield currently.