#Is a periodic/scheduled restart of ersatztv recommended?

1 messages · Page 1 of 1 (latest)

compact niche
#

I ran into an issue on version 25.8.0-docker-amd64 where playback for a stream failed with:

ersatztv  | [21:07:15 ERR] HLS process for channel 103 has terminated unsuccessfully with exit code 251: [AVHWDeviceContext @ 0x558aab042f40] libva: vaGetDriverNames() failed with operation failed
ersatztv  | [http @ 0x558aab1524c0] Stream ends prematurely at 0, should be 19319233150
ersatztv  | [in#0 @ 0x558aab138280] Error opening input: Input/output error
ersatztv  | Error opening input file http://localhost:8409/media/plex/3//library/parts/381116/1672127733/file.mkv.
ersatztv  | Error opening input files: Input/output error
ersatztv  | 
ersatztv  | [21:07:15 DBG] HW accel mode: Qsv

This is a Plex library but I am streaming from disk. I verified the URL does return content:

# curl -v -L 'http://localhost:8409/media/plex/3//library/parts/381116/1672127733/file.mkv'
...
Warning: Binary output can mess up your terminal. Use "--output -" to tell 
Warning: curl to output it to your terminal anyway, or consider "--output 
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* Closing connection
# exit

And the playback troubleshooter worked (but I didn't save the logs)

This ended up getting resolved on its own after I restarted the service docker compose restart ... so I wonder if maybe an occasional restart would help (not sure if anyone else has done this to mitigate similar issues before)?

vestal trail
#

According to the log your QSV device failed to init

#

so the stream didn’t (couldn’t) write anything, because it couldn’t decode/encode

#

What hardware do you have?

untold mango
#

couple things - this seems to happen all the time, and doesn't mean anything as far as i can tell

[AVHWDeviceContext @ 0x558aab042f40] libva: vaGetDriverNames() failed with operation failed

#

i think this is the cause of the failure

[http @ 0x558aab1524c0] Stream ends prematurely at 0, should be 19319233150
http (not https) connections can be flaky from plex. my suggestion is to get streaming from disk actually working

dreamy vine
#

Solved a crap-ton of problems when I started by-passing JF/Plex. Streaming from disk rocks.

compact niche
#

aha there was a typo in the path replacement 😢