Playback doesn't work on Safari (Mac and iPad)

Apple TV froze during live playback. Lost tuner was the message.

2017/01/03 14:40:15 [HLS] Stopping transcoder session 13139C75-ch1129
[mpegts @ 0x7f9dba012400] PES packet size mismatch
[mpegts @ 0x7f9dba012400] Dropped corrupted packet (stream = 1)
[mpeg2video @ 0x7f9dbb103800] ac-tex damaged at 38 41
[mpeg2video @ 0x7f9dbb103800] Warning MVs not available
2017/01/03 14:40:52 [DVR] Waiting 18m37.019170019s until next job 1483473570-12
2017/01/03 14:43:19 [HLS] Starting transcoder for file-138 at 17m38s
[mpegts @ 0x7fc159802600] PES packet size mismatch
[mpegts @ 0x7fc159802600] Dropped corrupted packet (stream = 1)
[mpegts @ 0x7fc159802600] PES packet size mismatch
[mpegts @ 0x7fc159802600] Dropped corrupted packet (stream = 2)
2017/01/03 14:43:56 [HLS] Stopping transcoder session file-138
2017/01/03 14:43:56 [HLS] error during ffmpeg progress: unexpected EOF
2017/01/03 14:59:30 [DVR] Starting job 1483473570-12 Intentional Talk
2017/01/03 14:59:31 [DVR] Recording for job 1483473570-12 from 13139C75 ch1141 into “TV/Intentional Talk/2017-01-03-1459 Intentional Talk 2011-07-13.mpg” for 30m59.925615845s
2017/01/03 15:00:19 [DVR] Error running job 1483473570-12: net/http: request canceled
2017/01/03 15:00:20 [DVR] Starting job 1483473570-12 Intentional Talk
2017/01/03 15:01:36 [ERR] Failed to start stream on channel 1141 via 13139C75: Get http://10.0.1.2:5004/auto/v1141?duration=1810: dial tcp 10.0.1.2:5004: getsockopt: operation timed out
2017/01/03 15:01:36 [DVR] Error running job 1483473570-12: could not start stream on channels=[1141]: Get http://10.0.1.2:5004/auto/v1141?duration=1810: dial tcp 10.0.1.2:5004: getsockopt: operation timed out
2017/01/03 15:01:37 [DVR] Starting job 1483473570-12 Intentional Talk
2017/01/03 15:02:52 [ERR] Failed to start stream on channel 1141 via 13139C75: Get http://10.0.1.2:5004/auto/v1141?duration=1733: dial tcp 10.0.1.2:5004: getsockopt: operation timed out
2017/01/03 15:02:52 [DVR] Error running job 1483473570-12: could not start stream on channels=[1141]: Get http://10.0.1.2:5004/auto/v1141?duration=1733: dial tcp 10.0.1.2:5004: getsockopt: operation timed out
2017/01/03 15:02:53 [DVR] Starting job 1483473570-12 Intentional Talk
2017/01/03 15:04:08 [ERR] Failed to start stream on channel 1141 via 13139C75: Get http://10.0.1.2:5004/auto/v1141?duration=1657: dial tcp 10.0.1.2:5004: getsockopt: operation timed out
2017/01/03 15:04:08 [DVR] Error running job 1483473570-12: could not start stream on channels=[1141]: Get http://10.0.1.2:5004/auto/v1141?duration=1657: dial tcp 10.0.1.2:5004: getsockopt: operation timed out

Looks like your hdhomerun disappeared off the network for some reason.

Your right about the SD Unit losing connectivity. I did some digging in the Console and found a misbehaving LastPass. Lots of error messages. I have been disappointed in LastPass for a while, so I just uninstalled it. Channels works fine.

Thanks

Safari UI Play Froze. The Prime did not lose network connectivity, IP, this time.

2017/01/05 01:17:40 [HLS] Starting transcoder for channel 1141
pipe:: could not seek to position 63318.322
[ac3 @ 0x7f99d600b600] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x7f99d600f600] Queue input is backward in time
[hls @ 0x7f99d600c800] Non-monotonous DTS in output stream 0:1; previous: 134524, current: 133564; changing to 134525. This may result in incorrect timestamps in the output file.
Past duration 0.833488 too large
2017/01/05 01:27:23 [HLS] Stopping transcoder session 13139C75-ch1141
[mpegts @ 0x7f99d6008000] PES packet size mismatch
[mpegts @ 0x7f99d6008000] Dropped corrupted packet (stream = 1)
[mpeg2video @ 0x7f99d6008600] ac-tex damaged at 7 17
[mpeg2video @ 0x7f99d6008600] Warning MVs not available
[ac3 @ 0x7f99d600b600] incomplete frame

I’m adding more details to the Activity section of the Settings tab for the next release. Please look at it when the stream starts, and again when it stalls to see what the transcoder is doing.

Also it’s important that you leave the video player open in a tab with the stalled out image. If you close the dialog with the video player in it, the transcoder is cleaned up immediately.

1 Like

@tmm1

Speed decreases on every hls check, until playback freezes.

Server is idle otherwise during testing.

@photosmike The logs do not show anything usefu. You need to check the Activity section on the Settings tab like previously mentioned.

Latest freeze

Log:
2017/01/05 13:36:25 [HLS] Starting transcoder for channel 1035
pipe:: could not seek to position 85268.556
[ac3 @ 0x7f94de80c000] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x7f94de80f000] Queue input is backward in time
[hls @ 0x7f94de80cc00] Non-monotonous DTS in output stream 0:1; previous: 127200, current: 126240; changing to 127201. This may result in incorrect timestamps in the output file.

Activity from Settings after Freeze:

Activity
Watching ch1035 from ::1 (Running: 10m39.288644s @ 1x).

Latest Freeze.

Activity
Watching ch1141 from ::1 (Running: 3m8.338156s @ 1.01x).

Ok it looks like an issue on the video player side.

Next time it freezes, leave the video player open and go to the DVR server. Browse over to your DVR’s recordings folder. There’s a folder called Streaming inside. Right click it in Finder, click “Compress” and the send me the resulting zip file.

Sent Zip File

I will look at the zip files and see what’s going on. No need to post logs anymore, they do not have anything useful in them.

Thanks,

Let me know if I can help any more.

I was able to reproduce the hang in Safari with the zip files you sent me. I’m not sure yet how to fix it.

Any progress. Now I get freezes on both live and recorded. On ATV and the web UI.

@photosmike In the latest version, on the web admin Settings you can switch to the Software transcoder. Can you see if that fixes the stall issue you’ve been having?

1 Like

It’s a great improvement. It works without a glitch on live programing. It mostly is good on replaying recordings. All this at 720p to my iMac. 1040p worked on live but, not replay of recordings.

Cool. I also released 2017.01.21.0059 a few minutes ago, which made some improvements. Try the Hardware setting again on that version, and see if you still run into the problem you were seeing before.

Loaded 2017.01.21.0059 and playing live it would freeze. This was using both Hardware and software. The bottom of window showed it playing. Even gave a rate of 1x.