Web GUI playback (Linux/NAS hardware transcoder)

I have had limited success playing back video on the web GUI either locally or remotely. The video never plays right away, when it does play it takes around 30 seconds to load. Changing the web player resolution does not seem to help. Even when the video starts it fails after a few minutes. This is strange since I have no issues playing live or recorded content via the TVOS app and I have AirVideoHD that streams video including Channels DVR recordings over the web almost instantly with no issues. I am using MyCloud 4100PR to run DVR backend.

What browser are you using?

I have tried safari and Chrome on my iPhone. On windows pc I have tried IE, Edge and Chrome. Same result with all.

Here is the log from my DVR attempting to stream a show.

2017/01/17 09:24:43 [HLS] Starting transcoder for file-5 at 5m0s
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
[mpegts @ 0x1cac760] PES packet size mismatch
[mpegts @ 0x1cac760] Dropped corrupted packet (stream = 1)
[mpegts @ 0x1cac760] PES packet size mismatch
[mpegts @ 0x1cac760] Dropped corrupted packet (stream = 2)
[mpegts @ 0x1cac760] PES packet size mismatch
[mpegts @ 0x1cac760] Dropped corrupted packet (stream = 2)
Unrepairable overflow!
2017/01/17 09:26:05 [HLS] Stopping transcoder session file-5
2017/01/17 09:26:05 [HLS] error during ffmpeg progress: unexpected EOF

This might be what’s causing problems.

When you’re streaming, can you check the Settings tab in another window and look to see what it says under Activity about the stream?

I started a stream in IE and pulled the log from chrome.

2017/01/17 20:14:11 [HLS] Starting transcoder for file-5 at 5m0s
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: va_openDriver() returns 0
[mpegts @ 0x20f9760] PES packet size mismatch
[mpegts @ 0x20f9760] Dropped corrupted packet (stream = 1)
[mpegts @ 0x20f9760] PES packet size mismatch
[mpegts @ 0x20f9760] Dropped corrupted packet (stream = 2)
[mpegts @ 0x20f9760] PES packet size mismatch
[mpegts @ 0x20f9760] Dropped corrupted packet (stream = 2)
Unrepairable overflow!

In the latest version, you can switch to the Software transcoder at the bottom of the Settings tab. See if that helps.

this allows me to play on my windows with Firefox and edge browsers. this also fixes my problem with not being able to watch on my computers because they are all on separate subnets from my IoT devices and the “green guys” don’t support manual IPs like my Fancy Bits guys do.

maybe after DVR 2.0 you can wrap the page in a UWA.

thanks for the software encoding button!

1 Like

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