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

Thanks.

@dckiwi Let me know if it works for you on your NAS.

@MinistryOfMagic Run this in terminal and post output:

cd channels-dvr/latest
./ffmpeg -loglevel verbose -hide_banner -f lavfi -t 60 -i color=black:1280x720 -c:v h264_videotoolbox -profile:v main -level 4.2 -realtime 1 -allow_sw 1 -filter:v fastdeint=linear -f null -y /dev/null

@MinistryOfMagic Also try some other recordings to see if they all have the same issue.

[Parsed_color_0 @ 0x7f8f12c0f360] size:1280x720 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:1280x720':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[graph 0 input from stream 0:0 @ 0x7f8f12c11b20] w:1280 h:720 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
GVA info: Successfully connected to the Intel plugin, offline Gen6 
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf57.56.100
    Stream #0:0: Video: h264 (h264_videotoolbox), 1 reference frame, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
    Metadata:
      encoder         : Lavc57.64.100 h264_videotoolbox
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
Press [q] to stop, [?] for help
[h264_videotoolbox @ 0x7f8f13009600] Color range not set for yuv420p. Using MPEG range.
No more output streams to write to, finishing.:58.50 bitrate=N/A speed=7.75x    
frame= 1500 fps=194 q=-0.0 Lsize=N/A time=00:00:59.94 bitrate=N/A speed=7.75x    
video:90kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (color=black:1280x720):
  Input stream #0:0 (video): 1501 packets read (2074982400 bytes); 1501 frames decoded; 
  Total: 1501 packets (2074982400 bytes) demuxed
Output file #0 (/dev/null):
  Output stream #0:0 (video): 1500 frames encoded; 1500 packets muxed (92063 bytes); 
  Total: 1500 packets (92063 bytes) muxed

@MinistryOfMagic The transcoder seems to be working fine, so I guess there is some issue with that particular recording triggering a bug. Do other recordings work?

Iā€™ve been seeing hundreds of these in the log when transcoding, is it anything I should worry about?

[h264 @ 0x7fe8f7804000] SPS unavailable in decode_picture_timing
[h264 @ 0x7fe8f7804000] non-existing PPS 0 referenced
[h264 @ 0x7fe8f7804000] SPS unavailable in decode_picture_timing
[h264 @ 0x7fe8f7804000] non-existing PPS 0 referenced
[h264 @ 0x7fe8f7804000] decode_slice_header error
[h264 @ 0x7fe8f7804000] no frame!

Also, is there a way to get the raw stream in the web page? (maybe selecting 1080p does the trick - not sure about it)

If the streams are working then the errors can be ignored.

Unfortunately it is not possible to play raw mpeg2 in a browser, so we must convert it to mpeg4 first.

Actually looks like that particular stream is already mpeg4, but we currently decode the video to deinterlace it and then re-encode it. It might be possible to avoid this in the future if the stream is not interlaced.

@tmm1

Iā€™m continuing to test different shows that Iā€™ve recorded. Out of 5 shows, I only had luck streaming two of them. I noticed that when I tried to clone my boot drive with Carbon Copy Cloner, it reported some read errors so Iā€™ve replaced the internal boot drive on my iMac. Iā€™ll give you an update shortly if this has fixed my streaming problems.

The streaming error returned when I tried to stream the 3rd show that I had recorded. The first two streamed back fine.

[mpegts @ 0x7f8b9b000000] PES packet size mismatch
[mpegts @ 0x7f8b9b000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:26 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:27 [HLS] Stopping transcoder for file-3 after seek to 1m6s (out=0s, finished=true)
2016/12/30 20:21:27 [HLS] Starting transcoder for file-3 at 1m6s
[mpegts @ 0x7f8063808600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f8063808600] PES packet size mismatch
[mpegts @ 0x7f8063808600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:27 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:27 [HLS] Stopping transcoder for file-3 after seek to 1m8s (out=0s, finished=true)
2016/12/30 20:21:27 [HLS] Starting transcoder for file-3 at 1m8s
[mpegts @ 0x7fe2f1008600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fe2f1008600] PES packet size mismatch
[mpegts @ 0x7fe2f1008600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:27 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:27 [HLS] Stopping transcoder for file-3 after seek to 1m10s (out=0s, finished=true)
2016/12/30 20:21:27 [HLS] Starting transcoder for file-3 at 1m10s
[mpegts @ 0x7f8286008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f8286008000] PES packet size mismatch
[mpegts @ 0x7f8286008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:27 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:28 [HLS] Stopping transcoder for file-3 after seek to 1m12s (out=0s, finished=true)
2016/12/30 20:21:28 [HLS] Starting transcoder for file-3 at 1m12s
[mpegts @ 0x7fce5e808000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fce5e808000] PES packet size mismatch
[mpegts @ 0x7fce5e808000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:28 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:28 [HLS] Stopping transcoder for file-3 after seek to 1m14s (out=0s, finished=true)
2016/12/30 20:21:28 [HLS] Starting transcoder for file-3 at 1m14s
[mpegts @ 0x7f9033012000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9033012000] PES packet size mismatch
[mpegts @ 0x7f9033012000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:28 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:29 [HLS] Stopping transcoder for file-3 after seek to 1m16s (out=0s, finished=true)
2016/12/30 20:21:29 [HLS] Starting transcoder for file-3 at 1m16s
[mpegts @ 0x7f81f7801200] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f81f7801200] PES packet size mismatch
[mpegts @ 0x7f81f7801200] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:29 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:29 [HLS] Stopping transcoder for file-3 after seek to 1m18s (out=0s, finished=true)
2016/12/30 20:21:29 [HLS] Starting transcoder for file-3 at 1m18s
[mpegts @ 0x7fa7bc009a00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fa7bc009a00] PES packet size mismatch
[mpegts @ 0x7fa7bc009a00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:29 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:29 [HLS] Stopping transcoder for file-3 after seek to 1m20s (out=0s, finished=true)
2016/12/30 20:21:29 [HLS] Starting transcoder for file-3 at 1m20s
[mpegts @ 0x7ffcbf00a000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7ffcbf00a000] PES packet size mismatch
[mpegts @ 0x7ffcbf00a000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:30 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:30 [HLS] Stopping transcoder for file-3 after seek to 1m22s (out=0s, finished=true)
2016/12/30 20:21:30 [HLS] Starting transcoder for file-3 at 1m22s
[mpegts @ 0x7faf29808000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7faf29808000] PES packet size mismatch
[mpegts @ 0x7faf29808000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:30 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:30 [HLS] Stopping transcoder for file-3 after seek to 1m24s (out=0s, finished=true)
2016/12/30 20:21:30 [HLS] Starting transcoder for file-3 at 1m24s
[mpegts @ 0x7f9e59008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9e59008000] PES packet size mismatch
[mpegts @ 0x7f9e59008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:30 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:31 [HLS] Stopping transcoder for file-3 after seek to 1m26s (out=0s, finished=true)
2016/12/30 20:21:31 [HLS] Starting transcoder for file-3 at 1m26s
[mpegts @ 0x7f9369004c00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9369004c00] PES packet size mismatch
[mpegts @ 0x7f9369004c00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:31 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:31 [HLS] Stopping transcoder for file-3 after seek to 1m28s (out=0s, finished=true)
2016/12/30 20:21:31 [HLS] Starting transcoder for file-3 at 1m28s
[mpegts @ 0x7f8ade808600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f8ade808600] PES packet size mismatch
[mpegts @ 0x7f8ade808600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:31 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:31 [HLS] Stopping transcoder for file-3 after seek to 1m30s (out=0s, finished=true)
2016/12/30 20:21:31 [HLS] Starting transcoder for file-3 at 1m30s
[mpegts @ 0x7fd0bd809a00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fd0bd809a00] PES packet size mismatch
[mpegts @ 0x7fd0bd809a00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:32 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:32 [HLS] Stopping transcoder for file-3 after seek to 1m32s (out=0s, finished=true)
2016/12/30 20:21:32 [HLS] Starting transcoder for file-3 at 1m32s
[mpegts @ 0x7fe0b6808600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fe0b6808600] PES packet size mismatch
[mpegts @ 0x7fe0b6808600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:32 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:32 [HLS] Stopping transcoder for file-3 after seek to 1m34s (out=0s, finished=true)
2016/12/30 20:21:32 [HLS] Starting transcoder for file-3 at 1m34s
[mpegts @ 0x7f9b1c000000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9b1c000000] PES packet size mismatch
[mpegts @ 0x7f9b1c000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:32 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:33 [HLS] Stopping transcoder for file-3 after seek to 1m36s (out=0s, finished=true)
2016/12/30 20:21:33 [HLS] Starting transcoder for file-3 at 1m36s
[mpegts @ 0x7fbd10008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fbd10008000] PES packet size mismatch
[mpegts @ 0x7fbd10008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:33 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:33 [HLS] Stopping transcoder for file-3 after seek to 1m38s (out=0s, finished=true)
2016/12/30 20:21:33 [HLS] Starting transcoder for file-3 at 1m38s
[mpegts @ 0x7faa8e000000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7faa8e000000] PES packet size mismatch
[mpegts @ 0x7faa8e000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:33 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:33 [HLS] Stopping transcoder for file-3 after seek to 1m40s (out=0s, finished=true)
2016/12/30 20:21:33 [HLS] Starting transcoder for file-3 at 1m40s
[mpegts @ 0x7fc832009e00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc832009e00] PES packet size mismatch
[mpegts @ 0x7fc832009e00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:33 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:34 [HLS] Stopping transcoder for file-3 after seek to 1m42s (out=0s, finished=true)
2016/12/30 20:21:34 [HLS] Starting transcoder for file-3 at 1m42s
[mpegts @ 0x7fe16580aa00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fe16580aa00] PES packet size mismatch
[mpegts @ 0x7fe16580aa00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:34 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:34 [HLS] Stopping transcoder for file-3 after seek to 1m44s (out=0s, finished=true)
2016/12/30 20:21:34 [HLS] Starting transcoder for file-3 at 1m44s
[mpegts @ 0x7f89f2803c00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f89f2803c00] PES packet size mismatch
[mpegts @ 0x7f89f2803c00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:34 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:35 [HLS] Stopping transcoder for file-3 after seek to 1m46s (out=0s, finished=true)
2016/12/30 20:21:35 [HLS] Starting transcoder for file-3 at 1m46s
[mpegts @ 0x7fa97a008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fa97a008000] PES packet size mismatch
[mpegts @ 0x7fa97a008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:35 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:35 [HLS] Stopping transcoder for file-3 after seek to 1m48s (out=0s, finished=true)
2016/12/30 20:21:35 [HLS] Starting transcoder for file-3 at 1m48s
[mpegts @ 0x7fc6b6808000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc6b6808000] PES packet size mismatch
[mpegts @ 0x7fc6b6808000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:35 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:35 [HLS] Stopping transcoder for file-3 after seek to 1m50s (out=0s, finished=true)
2016/12/30 20:21:35 [HLS] Starting transcoder for file-3 at 1m50s
[mpegts @ 0x7ff04f008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7ff04f008000] PES packet size mismatch
[mpegts @ 0x7ff04f008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:35 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:36 [HLS] Stopping transcoder for file-3 after seek to 1m52s (out=0s, finished=true)
2016/12/30 20:21:36 [HLS] Starting transcoder for file-3 at 1m52s
[mpegts @ 0x7fb76880c400] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fb76880c400] PES packet size mismatch
[mpegts @ 0x7fb76880c400] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:36 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:36 [HLS] Stopping transcoder for file-3 after seek to 1m54s (out=0s, finished=true)
2016/12/30 20:21:36 [HLS] Starting transcoder for file-3 at 1m54s
[mpegts @ 0x7f7fa8008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f7fa8008000] PES packet size mismatch
[mpegts @ 0x7f7fa8008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:36 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:36 [HLS] Stopping transcoder for file-3 after seek to 1m56s (out=0s, finished=true)
2016/12/30 20:21:37 [HLS] Starting transcoder for file-3 at 1m56s
[mpegts @ 0x7fc7ea008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc7ea008000] PES packet size mismatch
[mpegts @ 0x7fc7ea008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:37 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:37 [HLS] Stopping transcoder for file-3 after seek to 1m58s (out=0s, finished=true)
2016/12/30 20:21:37 [HLS] Starting transcoder for file-3 at 1m58s
[mpegts @ 0x7fb302809e00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fb302809e00] PES packet size mismatch
[mpegts @ 0x7fb302809e00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:37 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:37 [HLS] Stopping transcoder for file-3 after seek to 2m0s (out=0s, finished=true)
2016/12/30 20:21:37 [HLS] Starting transcoder for file-3 at 2m0s
[mpegts @ 0x7fb9da008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fb9da008000] PES packet size mismatch
[mpegts @ 0x7fb9da008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:37 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:38 [HLS] Stopping transcoder for file-3 after seek to 2m2s (out=0s, finished=true)
2016/12/30 20:21:38 [HLS] Starting transcoder for file-3 at 2m2s
[mpegts @ 0x7fdb9d000000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fdb9d000000] PES packet size mismatch
[mpegts @ 0x7fdb9d000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:38 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:38 [HLS] Stopping transcoder for file-3 after seek to 2m4s (out=0s, finished=true)
2016/12/30 20:21:38 [HLS] Starting transcoder for file-3 at 2m4s
[mpegts @ 0x7fe049812000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fe049812000] PES packet size mismatch
[mpegts @ 0x7fe049812000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:38 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:39 [HLS] Stopping transcoder for file-3 after seek to 2m6s (out=0s, finished=true)
2016/12/30 20:21:39 [HLS] Starting transcoder for file-3 at 2m6s
[mpegts @ 0x7fe44b808a00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fe44b808a00] PES packet size mismatch
[mpegts @ 0x7fe44b808a00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:39 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:39 [HLS] Stopping transcoder for file-3 after seek to 2m8s (out=0s, finished=true)
2016/12/30 20:21:39 [HLS] Starting transcoder for file-3 at 2m8s
[mpegts @ 0x7fef22000000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fef22000000] PES packet size mismatch
[mpegts @ 0x7fef22000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:39 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:39 [HLS] Stopping transcoder for file-3 after seek to 2m10s (out=0s, finished=true)
2016/12/30 20:21:39 [HLS] Starting transcoder for file-3 at 2m10s
[mpegts @ 0x7fc1a3012000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc1a3012000] PES packet size mismatch
[mpegts @ 0x7fc1a3012000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:39 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:40 [HLS] Stopping transcoder for file-3 after seek to 2m12s (out=0s, finished=true)
2016/12/30 20:21:40 [HLS] Starting transcoder for file-3 at 2m12s
[mpegts @ 0x7f8d37810600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f8d37810600] PES packet size mismatch
[mpegts @ 0x7f8d37810600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:40 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:40 [HLS] Stopping transcoder for file-3 after seek to 2m14s (out=0s, finished=true)
2016/12/30 20:21:40 [HLS] Starting transcoder for file-3 at 2m14s
[mpegts @ 0x7fb433810600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fb433810600] PES packet size mismatch
[mpegts @ 0x7fb433810600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:40 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:40 [HLS] Stopping transcoder for file-3 after seek to 2m16s (out=0s, finished=true)
2016/12/30 20:21:40 [HLS] Starting transcoder for file-3 at 2m16s
[mpegts @ 0x7ff8f8802a00] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7ff8f8802a00] PES packet size mismatch
[mpegts @ 0x7ff8f8802a00] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:41 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:41 [HLS] Stopping transcoder for file-3 after seek to 2m18s (out=0s, finished=true)
2016/12/30 20:21:41 [HLS] Starting transcoder for file-3 at 2m18s
[mpegts @ 0x7fdad9010600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fdad9010600] PES packet size mismatch
[mpegts @ 0x7fdad9010600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:41 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:41 [HLS] Stopping transcoder for file-3 after seek to 2m20s (out=0s, finished=true)
2016/12/30 20:21:41 [HLS] Starting transcoder for file-3 at 2m20s
[mpegts @ 0x7f9747000000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9747000000] PES packet size mismatch
[mpegts @ 0x7f9747000000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:41 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:42 [HLS] Stopping transcoder for file-3 after seek to 2m22s (out=0s, finished=true)
2016/12/30 20:21:42 [HLS] Starting transcoder for file-3 at 2m22s
[mpegts @ 0x7fc7db008600] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc7db008600] PES packet size mismatch
[mpegts @ 0x7fc7db008600] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:42 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:42 [HLS] Stopping transcoder for file-3 after seek to 2m24s (out=0s, finished=true)
2016/12/30 20:21:42 [HLS] Starting transcoder for file-3 at 2m24s
[mpegts @ 0x7f9a40808000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7f9a40808000] PES packet size mismatch
[mpegts @ 0x7f9a40808000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:42 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:42 [HLS] Stopping transcoder for file-3 after seek to 2m26s (out=0s, finished=true)
2016/12/30 20:21:42 [HLS] Starting transcoder for file-3 at 2m26s
[mpegts @ 0x7fc8f5008000] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0x7fc8f5008000] PES packet size mismatch
[mpegts @ 0x7fc8f5008000] Dropped corrupted packet (stream = 2)
2016/12/30 20:21:43 [HLS] error during ffmpeg progress: unexpected EOF
2016/12/30 20:21:43 [HLS] Stopping transcoder session file-3
[Parsed_color_0 @ 0x7fb02140f340] size:1280x720 rate:25/1 duration:-1.000000 sar:1/1
Input #0, lavfi, from 'color=black:1280x720':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo, 1 reference frame (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[graph 0 input from stream 0:0 @ 0x7fb0216002c0] w:1280 h:720 pixfmt:yuv420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
GVA info: Successfully connected to the Intel plugin, offline Gen6 
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf57.56.100
    Stream #0:0: Video: h264 (h264_videotoolbox), 1 reference frame, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
    Metadata:
      encoder         : Lavc57.64.100 h264_videotoolbox
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_videotoolbox))
Press [q] to stop, [?] for help
[h264_videotoolbox @ 0x7fb022000c00] Color range not set for yuv420p. Using MPEG range.
No more output streams to write to, finishing.:58.26 bitrate=N/A speed=7.73x    
frame= 1500 fps=193 q=-0.0 Lsize=N/A time=00:00:59.94 bitrate=N/A speed=7.73x    
video:90kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (color=black:1280x720):
  Input stream #0:0 (video): 1501 packets read (2074982400 bytes); 1501 frames decoded; 
  Total: 1501 packets (2074982400 bytes) demuxed
Output file #0 (/dev/null):
  Output stream #0:0 (video): 1500 frames encoded; 1500 packets muxed (92063 bytes); 
  Total: 1500 packets (92063 bytes) muxed

Thanks. It seems to this message, which I should be able to fix.

start time for stream 1 is not set in estimate_timings_from_pts

Can you get the output from:

http://localhost:8089/dvr/files/3/mediainfo.json

and post it here.

Also grab any new messages that appear in the log after you visit that URL.

{"format":{"bit_rate":"2442457","duration":"3660.143866","filename":"/Volumes/Drobo/Recordings/TV/Star Trek: The Next Generation/2016-12-30-1759 Star Trek: The Next Generation 1993-01-25 S06E12 Ship in a Bottle.mpg","format_long_name":"MPEG-TS (MPEG-2 Transport Stream)","format_name":"mpegts","nb_programs":1,"nb_streams":3,"probe_score":50,"size":"1117468240","start_time":"44835.026111"},"streams":[{"avg_frame_rate":"30000/1001","chroma_location":"left","codec_long_name":"MPEG-2 video","codec_name":"mpeg2video","codec_tag":"0x0002","codec_tag_string":"[2][0][0][0]","codec_time_base":"1001/30000","codec_type":"video","coded_height":0,"coded_width":0,"color_range":"tv","display_aspect_ratio":"16:9","disposition":{"attached_pic":0,"clean_effects":0,"comment":0,"default":0,"dub":0,"forced":0,"hearing_impaired":0,"karaoke":0,"lyrics":0,"original":0,"timed_thumbnails":0,"visual_impaired":0},"duration":"3659.622633","duration_ts":3.29366037e+08,"field_order":"tt","has_b_frames":1,"height":480,"id":"0x13ab","index":0,"level":8,"pix_fmt":"yuv420p","profile":"Main","r_frame_rate":"30000/1001","refs":1,"sample_aspect_ratio":"32:27","start_pts":4.035199261e+09,"start_time":"44835.547344","time_base":"1/90000","width":720},{"avg_frame_rate":"0/0","codec_long_name":"SCTE 35 Message Queue","codec_name":"scte_35","codec_tag":"0x0000","codec_tag_string":"[0][0][0][0]","codec_type":"data","disposition":{"attached_pic":0,"clean_effects":0,"comment":0,"default":0,"dub":0,"forced":0,"hearing_impaired":0,"karaoke":0,"lyrics":0,"original":0,"timed_thumbnails":0,"visual_impaired":0},"duration":"3660.143867","duration_ts":3.29412948e+08,"id":"0x1356","index":1,"r_frame_rate":"0/0","start_pts":4.03515235e+09,"start_time":"44835.026111","time_base":"1/90000"},{"avg_frame_rate":"0/0","bit_rate":"192000","bits_per_sample":0,"channel_layout":"stereo","channels":2,"codec_long_name":"ATSC A/52A (AC-3)","codec_name":"ac3","codec_tag":"0x332d4341","codec_tag_string":"AC-3","codec_time_base":"1/48000","codec_type":"audio","disposition":{"attached_pic":0,"clean_effects":0,"comment":0,"default":0,"dub":0,"forced":0,"hearing_impaired":0,"karaoke":0,"lyrics":0,"original":0,"timed_thumbnails":0,"visual_impaired":0},"dmix_mode":"-1","duration":"3659.360000","duration_ts":3.293424e+08,"id":"0x13db","index":2,"loro_cmixlev":"-1.000000","loro_surmixlev":"-1.000000","ltrt_cmixlev":"-1.000000","ltrt_surmixlev":"-1.000000","r_frame_rate":"0/0","sample_fmt":"fltp","sample_rate":"48000","start_pts":4.03515235e+09,"start_time":"44835.026111","tags":{"language":"eng"},"time_base":"1/90000"}]}

No additional messages were created in the log after visiting the URL.

Run these commands, then send sample.ts from the Desktop to support@getchannels.com

cd Desktop
head -c 5024000 "/Volumes/Drobo/Recordings/TV/Star Trek: The Next Generation/2016-12-30-1759 Star Trek: The Next Generation 1993-01-25 S06E12 Ship in a Bottle.mpg" > sample.ts

The file has been sent to you.

Thanks for the file! I was able to reproduce the issue. Will need some time to find a fix.

There was a bug in the deinterlacer which has been fixed for the next build. You should be able to playback those recordings via web UI.

Playback on Safari locks up after about 2 min.

Playback of recording or live tv? Does it happen every time? If you try to playback again, does it resume from same spot and then lock up 2 minutes later?

Please post lines from Log as well

Both.

2017/01/03 05:40:52 [IDX] Finished pruning 0 groups.
2017/01/03 05:40:52 [IDX] Pruning expired airingsā€¦
2017/01/03 05:40:52 [DVR] Rule ā€˜Pardon the Interruptionā€™ found 1 new airings
2017/01/03 05:40:52 [DVR] queued recording job 1484605800-3
2017/01/03 05:40:52 [DVR] Rule ā€˜Intentional Talkā€™ found 1 new airings
2017/01/03 05:40:52 [DVR] queued recording job 1484596770-12
2017/01/03 05:40:52 [IDX] Finished pruning 52 airings.
2017/01/03 06:24:21 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 07:24:21 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 07:45:08 [HLS] Starting transcoder for channel 1128
pipe:: could not seek to position 73773.745
[ac3 @ 0x7f98b5803000] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x7f98b5806400] Queue input is backward in time
Past duration 0.795891 too large
[hls @ 0x7f98b5803600] Non-monotonous DTS in output stream 0:1; previous: 176160, current: 175200; changing to 176161. This may result in incorrect timestamps in the output file.
[mpegts @ 0x7f98b5000000] PES packet size mismatch
[mpegts @ 0x7f98b5000000] Dropped corrupted packet (stream = 1)
[mpeg2video @ 0x7f98b5800000] ac-tex damaged at 62 27
[mpeg2video @ 0x7f98b5800000] Warning MVs not available
[ac3 @ 0x7f98b5803000] incomplete frame
2017/01/03 07:48:11 [HLS] Stopping transcoder session 13139C75-ch1128
2017/01/03 08:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 09:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 10:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 11:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 12:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 13:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 14:24:22 [NAT] Successfully mapped port 97.101.139.192:8089 using natpmp
2017/01/03 14:34:30 [HLS] Starting transcoder for channel 1122
pipe:: could not seek to position 22785.576
[ac3 @ 0x7fd63f9a9200] frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
[aac @ 0x7fd63f802800] Queue input is backward in time
[hls @ 0x7fd63f9c6800] Non-monotonous DTS in output stream 0:1; previous: 164640, current: 163680; changing to 164641. This may result in incorrect timestamps in the output file.
2017/01/03 14:38:07 [HLS] Stopping transcoder session 13139C75-ch1122
[mpeg2video @ 0x7fd63f9a6200] ac-tex damaged at 18 31
[mpeg2video @ 0x7fd63f9a6200] Warning MVs not available
[ac3 @ 0x7fd63f9a9200] incomplete frame
2017/01/03 14:38:20 [HLS] Starting transcoder for channel 1129
pipe:: could not seek to position 92901.154
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