Web UI Playback Windows 10

I'm having a problem watching recordings from the web UI with Windows 10. I start the recording and everything is fine. The transcoder speed using hardware is around 4-5x. Next, I use the scrubber bar to move forward in the program. When I do this, the transcoding speed drops to less than one and starts using 100% of my Intel i3 3225 CPU power. The task manager shows 7-10 ffmpeg.exe processes spawned by Channels with each one using 5-20% CPU. Even if I stop playback, those processes keep going unless I end them using the task manager or reboot the PC. This is repeatable for any recording. If I hit the Stop button before using the scrub bar, then the ffmpeg process ends and my CPU load goes back to normal.

Hrm, that’s a nasty bug. What browser are you using?

Can you also post the entries from the Log tab when this happens?

I’m using Google Chrome to watch the recordings.

Here is the log file.

2017/05/01 19:47:30 [DVR] Recording engine stopped.
2017/05/01 19:47:33 [DVR] Recording engine started in G:\DVR
2017/05/01 19:47:33 [DVR] Waiting 12m26.4532885s until next job 1493683200-9 Kevin Can Wait
2017/05/01 19:47:33 [SYS] Created database snapshot: backup-20170501.194733
2017/05/01 19:47:43 [IDX] Pruned 18 expired airings from USA-OTA28269 in 71.0481ms.
2017/05/01 19:48:52 [SYS] Starting Channels DVR v2017.04.28.2317 (windows-x86_64) in C:\ProgramData\ChannelsDVR\data
2017/05/01 19:48:55 [HDR] Found 1 devices
2017/05/01 19:48:55 [SYS] Started HTTP Server
2017/05/01 19:49:14 [DVR] Recording engine started in G:\DVR
2017/05/01 19:49:14 [DVR] Waiting 10m45.6993796s until next job 1493683200-9 Kevin Can Wait
2017/05/01 19:49:14 [SYS] Bonjour service running for dvr-starkiller.local. [10.0.0.11]
2017/05/01 19:49:14 [NAT] Successfully mapped port 8089 using natpmp
2017/05/01 19:49:14 [SYS] Created database snapshot: backup-20170501.194914
2017/05/01 19:49:24 [IDX] Pruned 0 expired airings from USA-OTA28269 in 4.0045ms.
2017/05/01 19:50:46 [HLS] Starting transcoder for file-105 at 41m24s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 00000000011fbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 00000000011fbe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 42m12s (out=41m39.215211s, finished=false)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 42m28s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 42m12s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 42m44s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 0000000000edbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000edbe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 43m30s (out=0s, finished=false)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 43m46s (out=0s, finished=false)
[mpegts @ 0000000000dfbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000dfbe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 42m58s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 43m30s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 44m2s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 43m46s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 43m14s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 44m34s (out=0s, finished=false)
[mpegts @ 0000000000dcbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000dcbe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 44m50s (out=0s, finished=false)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 44m18s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:53 [HLS] Stopping transcoder for file-105 after seek to 45m6s (out=0s, finished=false)
[mpegts @ 000000000104be80] Dropped corrupted packet (stream = 1)
[mpegts @ 000000000104be80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000f8be80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000f8be80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000fabe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000fabe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:53 [HLS] Starting transcoder for file-105 at 45m22s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 44m34s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 45m6s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 0000000000dcbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000dcbe80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000d1be80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000d1be80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 45m38s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 44m50s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 0000000000d4be80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000d4be80] Dropped corrupted packet (stream = 2)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 46m10s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 46m26s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
2017/05/01 19:50:54 [HLS] Starting transcoder for file-105 at 45m54s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 000000000109be80] Dropped corrupted packet (stream = 1)
[mpegts @ 000000000109be80] Dropped corrupted packet (stream = 2)
[mpegts @ 000000000101be80] Dropped corrupted packet (stream = 1)
[mpegts @ 000000000101be80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000edbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000edbe80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000cfbe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000cfbe80] Dropped corrupted packet (stream = 2)
[mpegts @ 0000000000eebe80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000eebe80] Dropped corrupted packet (stream = 2)
2017/05/01 19:51:07 [HLS] Stopping transcoder for file-105 after seek to 46m28s (out=45m56.485833s, finished=false)
2017/05/01 19:51:07 [HLS] Stopping transcoder session file-105 @ 45m56.485833s
2017/05/01 19:51:08 [HLS] Starting transcoder for file-105 at 46m28s (encoder=h264_qsv, resolution=720, deinterlacer=blend, bitrate=2000)
[mpegts @ 0000000000f0be80] Dropped corrupted packet (stream = 1)
[mpegts @ 0000000000f0be80] Dropped corrupted packet (stream = 2)

I tried single clicking on the scrub bar and this did not cause any issues with CPU load. In the previous example, I clicked and dragged the scrub bar to the time I wanted. I think the click and drag is being interpreted as multiple clicks by Channels.

1 Like

Great catch, I can reproduce as well with click-and-drag. Will fix for the next build.

Does this mean that scrubbing will finally work with transcoding on the web ui?

I’ve never been able to use scrubbing with any browser/os, hence have to view all commercials on web ui, as there is no ffd/rew either.

If so, this would be a huge improvement when using web ui.

WOW!

Just now tried scrubbing and it seems to be working! Probably a combo of not retrying in the last two months on other browsers…Lately I’ve been using a Surface Pro due to larger display area (and encountering the same problem as above…resultant behaviour was similar to my previous attempts), plus I did switch to a higher powered server.

Will have to test more tomorrow but I’m :grin:.

Still would really like to see a 30/7 or 10 skip, as trying to control scrubbing is a bit difficult for me, but I’ll keep trying to master my limitations.

This is all I see in Chrome Browser. Windows 10