Web GUI playback (Linux/NAS hardware transcoder)

The software transcoder option works both locally and remotely now but stalls out on anything over 480p and only runs smooth without any re-buffering on 240p even locally. Is there a known issue with hardware transcoding and MyCloud PR4100?

Hardware transcoding should be working on your WD. Can you check if there are any OS updates available on the NAS?

just tried playing a record using the web gui. it did not play at all. here’s the log:

2017/01/19 20:36:49 [HLS] Starting transcoder for file-81 at 0s
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
[mpegts @ 0x18c7740] PES packet size mismatch
[mpegts @ 0x18c7740] Dropped corrupted packet (stream = 1)
[mpegts @ 0x18c7740] PES packet size mismatch
[mpegts @ 0x18c7740] Dropped corrupted packet (stream = 2)
Past duration 0.934746 too large
[mpeg2video @ 0x1928980] 00 motion_type at 14 11
[mpeg2video @ 0x1928980] Warning MVs not available
Past duration 0.934746 too large
[mpegts @ 0x18c7740] PES packet size mismatch
[mpegts @ 0x18c7740] Dropped corrupted packet (stream = 1)
[mpegts @ 0x18c7740] PES packet size mismatch
[mpegts @ 0x18c7740] Dropped corrupted packet (stream = 1)
[mpegts @ 0x18c7740] Dropped corrupted packet (stream = 0)
2017/01/19 20:37:27 [HLS] Stopping transcoder session file-81
2017/01/19 20:37:27 [HLS] error during ffmpeg progress: unexpected EOF
2017/01/19 20:37:55 [HLS] Starting transcoder for channel 503
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
pipe:: could not seek to position 5010.286
Past duration 0.948051 too large
2017/01/19 20:38:49 [HLS] Stopping transcoder session 131115C6-ch503
av_interleaved_write_frame(): No such file or directory
2017/01/19 20:38:51 [HLS] error during ffmpeg progress: unexpected EOF

also, tried to play a channel in the guide grid. no go too.

Version
2017.01.18.2126

What did it say under the video player when you tried? Was the timestamp increasing or did it stop? Was the rate 1x or higher?

Timestamp moving and rate is variable

But the rate is >= 1x?

If the timestamp keeps increasing, the transcoder is working. It must be a decoding issue on the web browser side, as noted in Playback Issues in Web UI (Mac hardware transcoder)

It have not happened to me before. Web playback has been great until today.

Now I'm outside and tried to access remotely. It played the channel via guide grid. Rate is below 1x. Lots of stopping and playing. Verizon LTE signl is 4bars. I used safari from my iPhone.

Did you check if there are any software updates available for your PR4100? @OurFamilySpot is also running on PR4100 and has not had any issues.

I’m suddenly having trouble with transcoded playback on Windows as well. It’s been working well before version .20.0217.

Log shows:

2017/01/20 11:36:53 [HLS] Starting transcoder for file-135 at 0s
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
[mpegts @ 0x2444aa0] PES packet size mismatch
[mpegts @ 0x2444aa0] Dropped corrupted packet (stream = 1)
[mpegts @ 0x2444aa0] PES packet size mismatch
[mpegts @ 0x2444aa0] Dropped corrupted packet (stream = 2)
[ac3 @ 0x24d0600] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x24f2d80] Queue input is backward in time
[stream_segment,ssegment @ 0x24ee620] Non-monotonous DTS in output stream 0:1; previous: 12480, current: 11520; changing to 12481. This may result in incorrect timestamps in the output file.
2017/01/20 11:37:21 [HLS] Stopping transcoder session file-135
2017/01/20 11:37:21 [HLS] error during ffmpeg progress: unexpected EOF

I’ve tested on two Win 10 boxes in both Edge and Firefox, as well as a simple UWP app I was attempting. The ‘Running’ status does increment and the rate is above 2x most of the time, but the video block remains blank.

The video never starts? What about audio?

I have seen similar reports that correspond to this message in the log:

Queue input is backward in time

No sound. In Edge the playback controls come up as it’s loading normal, then when they disappear there’s nothing. In Firefox it’s just a spinner.

I let one play in Firefox and eventually the status changed to Paused: 7m4s @ 2.37x. (Video never started though)

As I mentioned in another thread playback in a Win 10 has never hapenned
for me since day 1 of Channels DVR; it starts to load but then stalls and a blank
white space…video counter continues however…I never really pursued the bug because
I’m on the slow ring of advance releases of WIN 10 and didn’t want the Channels
devs chasing something not on released software…wish it worked,however,deal
breaker for me as I watch a lot on my WIN 10 machine with the SD DVR which is solid
on WIN 10 for time-shifting recordings

the firmware is up to date according to the control page Version 2.21.126

i also get no audio when playing remotely now with software transcoding.

I tested with Chrome on a windows 10 VM and it worked for me.

Also have been streaming NBC for the last 22min via Safari (with hardware transcoder on TS-251+) and no issues.

It looks like there’s probably atleast 5-6 different bugs going on here, caused by different edge cases in the transcoder. It’s also confusing because each bug is triggered by a different combination of HDHR (ota vs cable signals), Cable Company and Channel, Transcoder (hardware vs software), Deinterlacer (blend vs linear), DVR OS (linux vs mac vs NAS), Player (safari vs chrome vs firefox) and Player OS (mac, windows).

I’ll do some research on some of the bugs we’ve identified to see if we can fix them.

Yikes, that’s a lot to try and pin down.

I should add I have no trouble with Safari (Mac or iOS) or Firefox (Mac), working fine there.
I also retried the file that on Windows went to paused in Firefox, it did the same thing in Edge, however other recordings seem to just play on (according to the status anyway), so that particular bit of info seems to be specific to that file.

That’s what I expected. Seems you’ve caught one of the edge cases in that recording, so if you could send that to me it would be quite helpful.

I imagine the file is huge, so I don’t want all of it. The first 30MB should be more than plenty. Here’s a command you could run to download just 30MB to sample.mpg and then send it to support@getchannels.com or PM me a link.

curl http://dvr-mediaserver.local:8089/dvr/files/135/stream.mpg --range 0-30000000 -o sample.mpg

I have HDHR Prime with cable cards. Not sure if that is contributing to the error i get when trying to use hardware transcoding.

When hardware is turned on i get a video player that shows a white screen with no audio and the numbers at the bottom move and the play back is > 1. When i switch to software the white screen shows at first but 3 seconds later the video and audio start. Here is the log.

2017/01/20 14:32:22 [HLS] Starting transcoder for channel 702
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
pipe:: could not seek to position 21734.062
2017/01/20 14:36:56 [HLS] Stopping transcoder session 1321CF2C-ch702
[mpegts @ 0x2fff780] PES packet size mismatch
[mpegts @ 0x2fff780] Dropped corrupted packet (stream = 1)
[mpeg2video @ 0x3007be0] ac-tex damaged at 51 13
[mpeg2video @ 0x3007be0] Warning MVs not available
2017/01/20 14:45:02 [HLS] Starting transcoder for channel 702
pipe:: could not seek to position 22494.444
2017/01/20 14:45:25 [HLS] Stopping transcoder session 1321CF2C-ch702
[mpegts @ 0x35a9620] PES packet size mismatch
[mpegts @ 0x35a9620] Dropped corrupted packet (stream = 1)
[mpeg2video @ 0x35b18c0] ac-tex damaged at 56 18
[mpeg2video @ 0x35b18c0] Warning MVs not available

@brgator What if you try to watch recordings instead? Same issue?