Web Player throwing ffmpeg errors, stopping playback

Hyperbole? Yes. But, nearly every single playback I do, from multiple sources, results in the DVR spitting back endless ffmpeg errors, the playback quits midstream, etc etc etc. It's a mess.

Yes, I guess i could go the VLC route, or just give up and only use the client apps elsewhere, but every other point of entry to watching stuff from the DVR is 10000% more polished. Are there any plans to improve this, or kill it?

2 Likes

The web admin is just that, it’s a management interface. Being able to play back is a bonus. We’ve never claimed anything else.

Our core experience is designed, invested in, and prioritized into the apps for streaming devices.

That being said, the web player is used by tons of people without fail. If you have a particular issue, it’d be helpful to post a topic with an actual solvable problem.

8 Likes

I have similar issues with the web player and nobody was ever able to explain or solve them. Attempting to watch live TV in a browser is an exercise in futility.

Personally, I have never had a problem with the web player.

If you want assistance, then please indicate:

  • Channels server version (including server OS details)
  • Client OS version
  • Web browser and version
  • Transcoding settings (including GPU model and driver versions)

Without those details, no one can offer any assistance; because everything would be a guess. Details, or there isn't an issue to address.

1 Like

Sorry if my tone offended at all - the "is a bonus" piece is really what I'm after. If it's destined to remain in that state, that's totally and completely fine.

For examples:

After playing < 20 seconds of a playon download (which i would think would be fairly clean)

2022/09/05 06:03:38.295023 [ENC] Starting encoder for FBI Most Wanted - S2E2 - Execute.mp4 in /Volumes/DVR/Streaming/file4408-ip192.168.50.1-4225859419/encoder-0-648287119 at 0 (0.000000) (encoder=h264_videotoolbox, resolution=1080, deinterlacer=blend, bitrate=9809, segment_size=0.01)
2022/09/05 06:03:38.322383 [HLS] ffmpeg: file4408-ip192.168.50.1:  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x126808200] stream 0, timescale not set
2022/09/05 06:03:38.326793 [HLS] ffmpeg: file4408-ip192.168.50.1:  [mov,mp4,m4a,3gp,3g2,mj2 @ 0x126808200] Could not find codec parameters for stream 3 (Video: png, none): unspecified size
2022/09/05 06:03:38.326810 [HLS] ffmpeg: file4408-ip192.168.50.1:  Consider increasing the value for the 'analyzeduration' and 'probesize' options
2022/09/05 06:03:56.770926 [ENC] Stopped encoder for FBI Most Wanted - S2E2 - Execute.mp4 in /Volumes/DVR/Streaming/file4408-ip192.168.50.1-4225859419/encoder-0-648287119 after encoding 0 to 116

Same for HDHR Cable, but this one causes the web player to stop every few mins (and i suspect it's actually a source issue, as it's only this channel, and had been present for a while):

2022/09/04 07:28:39.948516 [ENC] Request for 1123 is lower than current start segment of 1128
2022/09/04 07:28:39.980904 [ENC] Stopped encoder for Eyewitness News Sunday at 600am 2022-09-04-0559.mpg in /Volumes/DVR/Streaming/file4485-ip192.168.50.1-1610168219/encoder-1128-2858380222 after encoding 1128 to 1132
2022/09/04 07:28:39.984690 [ENC] Starting encoder for Eyewitness News Sunday at 600am 2022-09-04-0559.mpg in /Volumes/DVR/Streaming/file4485-ip192.168.50.1-1610168219/encoder-1123-1627770864 at 1123 (1123.604900) (encoder=h264_videotoolbox, resolution=1080, deinterlacer=blend, bitrate=9488, segment_size=0.01)
2022/09/04 07:28:40.003838 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 1)
2022/09/04 07:28:40.003871 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 2)
2022/09/04 07:28:40.003929 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] stream 2 : no PTS found at end of file, duration not set
2022/09/04 07:28:40.004432 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 1)
2022/09/04 07:28:40.004472 [HLS] ffmpeg: file4485-ip192.168.50.1:      Last message repeated 1 times
2022/09/04 07:28:40.004486 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 2)
2022/09/04 07:28:40.004637 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 1)
2022/09/04 07:28:40.004643 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 2)
2022/09/04 07:28:40.004694 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 1)
2022/09/04 07:28:40.004701 [HLS] ffmpeg: file4485-ip192.168.50.1:  [mpegts @ 0x14d008600] Dropped corrupted packet (stream = 2)
2022/09/04 07:28:43.400590 [ENC] Encoder stopped for Eyewitness News Sunday at 600am 2022-09-04-0559.mpg in /Volumes/DVR/Streaming/file4485-ip192.168.50.1-1610168219/encoder-1123-1627770864 after encoding 1123 to 1127

Interestingly, the TVE I tried to get logs for is suppressed in the logs, from the looks of it. I'll try a few more.

I’ve not experienced this issue, the web player works great for me. What web browser on what platform are you using? What version?

1 Like

This morning's test was chrome 104 (just upgraded to 105) on windows 11. It's been persistently "noisy" for a while, though, hence my original (somewhat questionably worded) post.

Those log messages are not errors. They are diagnostic aids to help us understand when transcoding fails. The transcoder used for the web player is the same transcoder that is used for the app player.

Is the problem that the web player isn't working or that you're seeing messages in the logs that you don't like?

Like the rest of the folks in the post, I use the web player from time to time (I was using it extensively over the weekend as I was testing changes) and it played back what I expected it to. I don't use it for hours at a time, because it's not a great experience, but for the few minutes that I watch it at a time, it plays as I would expect.

1 Like

The cable-HDHR-based one results in the web player exiting playing, where only a stop/start of playing session will work.

This would have played yesterday AM - would diagnostics cover that far back?

1 Like

Are you running the latest prerelease? There has been a lot of work done on the transcoder, deinterlacer this weekend. Your logs show you are using blend deinterlacer. You could try linear or update to prerelease and try something other than blend

Good point. I found Hardware best if available, otherwise Linear if using Software.
Always had issues using Blend with the web player.

I've had no problem using the web player on Windows 10 with Chrome

1 Like

I have had less than stellar results using a Mac and Chrome. Slow starts, freezes sometimes. Sometimes it works. But it is not a satisfying experience. If this were more robust it be nice.

1 Like

I've tried both Hardware/Software transcoders, and both deinterlacers, and no real change. Loads of similar ffmpeg debug errors, and the video outright stops within a few mins. Sent on diagnostics.

One other thing to note - i tried setting HEVC on, but i don't see a change in the logs, or in the transcoder debug. Any way to see if my setup is preventing that working? Thinking it could be the same root.

2022/09/11 07:41:19.745610 [ENC] Next segment to pre-encode of 594 is 4m11.251s from the last request of 343
2022/09/11 07:41:19.784948 [ENC] Starting encoder for Eyewitness News Saturday at 6am 2022-09-10-0559.mpg in /Volumes/DVR/Streaming/file4503-ip192.168.50.1-939306384/encoder-594-1722490326 at 594 (593.593000) (encoder=h264_videotoolbox, resolution=1080, deinterlacer=linear, bitrate=9488, segment_size=0.01)
2022/09/11 07:41:19.802441 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] Dropped corrupted packet (stream = 1)
2022/09/11 07:41:19.802483 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] Dropped corrupted packet (stream = 2)
2022/09/11 07:41:19.818372 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] stream 1 : no PTS found at end of file, duration not set
2022/09/11 07:41:19.818395 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] stream 2 : no PTS found at end of file, duration not set
2022/09/11 07:41:19.823069 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] Dropped corrupted packet (stream = 1)
2022/09/11 07:41:19.823089 [HLS] ffmpeg: file4503-ip192.168.50.1:  [mpegts @ 0x12d009c00] Dropped corrupted packet (stream = 2)
2022/09/11 07:42:11.787584 [ENC] Stopped encoder for Eyewitness News Saturday at 6am 2022-09-10-0559.mpg in /Volumes/DVR/Streaming/file4503-ip192.168.50.1-939306384/encoder-594-1722490326 after encoding 594 to 696
2022/09/11 07:43:13.047284 [ENC] Starting encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1727502398/encoder-0-2395698560 at 0 (0.000000) (encoder=libx264, resolution=1080, deinterlacer=linear, bitrate=9488, segment_size=0.01)
2022/09/11 07:43:13.057937 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x13e80b200] Dropped corrupted packet (stream = 1)
2022/09/11 07:43:13.057969 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x13e80b200] Dropped corrupted packet (stream = 2)
2022/09/11 07:43:13.058007 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x13e80b200] stream 1 : no PTS found at end of file, duration not set
2022/09/11 07:43:46.545588 [ENC] Request for 487 is more than 10 from the last encoded segment of 133
2022/09/11 07:43:46.562591 [ENC] Stopped encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1727502398/encoder-0-2395698560 after encoding 0 to 133
2022/09/11 07:43:46.566427 [ENC] Starting encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1727502398/encoder-487-2207715533 at 487 (486.966400) (encoder=libx264, resolution=1080, deinterlacer=linear, bitrate=9488, segment_size=0.01)
2022/09/11 07:43:46.579463 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x145808600] Dropped corrupted packet (stream = 1)
2022/09/11 07:43:46.579487 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x145808600] Dropped corrupted packet (stream = 2)
2022/09/11 07:43:46.579535 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x145808600] stream 1 : no PTS found at end of file, duration not set
2022/09/11 07:43:46.580054 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x145808600] Dropped corrupted packet (stream = 1)
2022/09/11 07:43:46.580301 [HLS] ffmpeg: file4520-ip192.168.50.1:      Last message repeated 1 times
2022/09/11 07:43:46.580306 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x145808600] Dropped corrupted packet (stream = 2)
2022/09/11 07:45:30.681048 [ENC] Stopped encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1727502398/encoder-487-2207715533 after encoding 487 to 877
2022/09/11 07:45:32.009198 [ENC] Next segment to pre-encode of 878 is 4m54.294s from the last request of 584
2022/09/11 07:45:32.022025 [ENC] Starting encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-4176499161/encoder-878-2541897035 at 878 (878.357400) (encoder=libx264, resolution=1080, deinterlacer=linear, bitrate=9488, segment_size=0.01)
2022/09/11 07:45:32.037901 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x12c80b200] Dropped corrupted packet (stream = 1)
2022/09/11 07:45:32.037941 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x12c80b200] Dropped corrupted packet (stream = 2)
2022/09/11 07:45:32.038073 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x12c80b200] stream 1 : no PTS found at end of file, duration not set
2022/09/11 07:45:32.039302 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x12c80b200] Dropped corrupted packet (stream = 1)
2022/09/11 07:45:32.039914 [HLS] ffmpeg: file4520-ip192.168.50.1:      Last message repeated 1 times
2022/09/11 07:45:32.039929 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x12c80b200] Dropped corrupted packet (stream = 2)
2022/09/11 07:47:16.446145 [ENC] Stopped encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-4176499161/encoder-878-2541897035 after encoding 878 to 1054
2022/09/11 07:47:17.690141 [ENC] Next segment to pre-encode of 1055 is 6m12.372s from the last request of 683
2022/09/11 07:47:17.717121 [ENC] Starting encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1569094913/encoder-1055-3063859905 at 1055 (1055.534400) (encoder=libx264, resolution=1080, deinterlacer=linear, bitrate=9488, segment_size=0.01)
2022/09/11 07:47:17.794825 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x15500b200] Dropped corrupted packet (stream = 1)
2022/09/11 07:47:17.794916 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x15500b200] Dropped corrupted packet (stream = 2)
2022/09/11 07:47:17.795065 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x15500b200] stream 1 : no PTS found at end of file, duration not set
2022/09/11 07:47:17.796846 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x15500b200] Dropped corrupted packet (stream = 1)
2022/09/11 07:47:17.797702 [HLS] ffmpeg: file4520-ip192.168.50.1:      Last message repeated 1 times
2022/09/11 07:47:17.797726 [HLS] ffmpeg: file4520-ip192.168.50.1:  [mpegts @ 0x15500b200] Dropped corrupted packet (stream = 2)
2022/09/11 07:47:27.021743 [ENC] Stopped encoder for Eyewitness News Sunday at 600am 2022-09-11-0559.mpg in /Volumes/DVR/Streaming/file4520-ip192.168.50.1-1569094913/encoder-1055-3063859905 after encoding 1055 to 1063

HEVC doesn’t work with web clients. Are you trying from the app?

Nope - i just expected it to hit anything (or at least try) against anything transcoded, but i can absolutely see why it wouldn't be set to use against the web player. Figured i would ask given issues...