Does playback work in Linux?

I've tried multiple Linux Distros and none of them will stream.

I have tried Firefox and Google Chrome browsers

Most of my desktops are running Fedora, and I have no issues playing back in a web browser. (Firefox is my main browser, but I have no problems with Chromium or Epiphany, either.)

(Although, I generally use mpv/Celluloid when watching live TV at the computer.)

I'm glad to hear it's possible.

No idea what I'm doing wrong :frowning:

Assuming you can stream to a Windows or Mac machine using browser? I have a Linux server and can stream both from within the same machine as well as to other machines (I use Mint Linux).

Yeah Windows works fine, but I hate Windows.

I've tried Linux Mint, MX Linux, EndeavorOS

I have also used Arch—which is what Endeavor is based on—without issue in the past, too. The issue is not Linux itself, but your particular situation.

I'm on manjaro, and have installed the dvr on multiple distros, none of them have had any issues. Firefox is my main & once in a while I'll use* chromium. But everything worked in my testing.

My log shows the following:

2021/03/19 13:06:17.907154 [TNR] Opened connection to 106202B3/0 for ch6.1 PBS HD
2021/03/19 13:06:17.907767 [HLS] Starting transcoder for channel 6.1 from 192.168.1.137 (encoder=remux, resolution=, deinterlacer=, bitrate=0)
2021/03/19 13:06:18.420580 [HLS] Probed live stream in 512.71871ms: mpeg2video 1920x1080 tt 7082200bps
2021/03/19 13:06:19.505772 [HLS] Session ch6.1-dANY-ip192.168.1.137 started in 2.012079632s
2021/03/19 13:06:19.506811 [ENC] Starting encoder for ch6.1 in /mnt/Channels/DVR/Streaming/ch6.1-dANY-ip192.168.1.137-769393148/encoder-1-629758251 at 1 (0.548033) (encoder=libx264, resolution=1080, deinterlacer=hardware, bitrate=10000 segment_size=0.01)
2021/03/19 13:06:20.521390 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [fastdeint @ 0x60fff40] [Eval @ 0x7ffe6bc37e50] Undefined constant or missing '(' in 'hardware'
2021/03/19 13:06:20.521434 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [fastdeint @ 0x60fff40] Unable to parse option value "hardware"
2021/03/19 13:06:20.521461 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [fastdeint @ 0x60fff40] [Eval @ 0x7ffe6bc37eb0] Undefined constant or missing '(' in 'hardware'
2021/03/19 13:06:20.521474 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [fastdeint @ 0x60fff40] Unable to parse option value "hardware"
2021/03/19 13:06:20.521479 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [fastdeint @ 0x60fff40] Error setting option mode to value hardware.
2021/03/19 13:06:20.521484 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [Parsed_fastdeint_0 @ 0x6352580] Error applying options to the filter.
2021/03/19 13:06:20.521491 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [AVFilterGraph @ 0x6101b40] Error initializing filter 'fastdeint' with args 'hardware'
2021/03/19 13:06:20.521515 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  Error reinitializing filters!
2021/03/19 13:06:20.521537 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  Failed to inject frame into filter network: Invalid argument
2021/03/19 13:06:20.521541 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  Error while processing the decoded data for stream #0:0
2021/03/19 13:06:20.521709 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [aac @ 0x611c580] 2 frames left in the queue on closing
2021/03/19 13:06:20.521765 [HLS] ffmpeg: ch6.1-dANY-ip192.168.1.137-1-h264-aac--10000-256-1080-0-0--hardware-false-false-0.01:  [aac @ 0x60f9b00] 2 frames left in the queue on closing
2021/03/19 13:06:20.693983 [ENC] Encoder stopped for ch6.1 in /mnt/Channels/DVR/Streaming/ch6.1-dANY-ip192.168.1.137-769393148/encoder-1-629758251 after starting from 1 without encoding any segments

That looks like you have a problem with your DVR server and issues with drivers for hardware encoding. Slightly different issue than what you initially posted about.

If you change the Web Player from Hardware to Software on the DVR server, does the problem persist?

Yes you are correct. I completely forgot the Linux Server got updated recently and I forgot to re-enable hardware encoding.

Working now. Thanks for the help!

1 Like