#Channels never plays

1 messages · Page 1 of 1 (latest)

unique obsidian
#

When I try to watch a channel it loads until it crashes.
Ubuntu system
Tunarr version 1.1.2
When I look at my terminal I get a couple of warn and errors. I tried to troubleshoot without much success.

[warn]: Could not find /dev/dri directory. Did you pass this in as a device when starting your container?
[error]: [AVHWDeviceContext @ 0x591e1b3f0b40] Cannot load libcuda.so.1
[error]: Error starting stream after retrying
[error]: Received error from session. Shutting down
[error]: No playlist found for channel

left agate
#

You are trying to use nvidia for hwaccel but ffmpeg cannot find the driver on your machine

unique obsidian
#

it seems that my old graphics card nvdia (geforce gt 630m) is not supported. Do I have a way out of this ?

#

Alright I've disabled hardware acceleration and it did nothing.

left agate
#

Disabling hardware acceleration is probably not gonna do you any good unless you have a super beefy CPU to handle doing it on software

#

If you don’t have the necessary hardware your best bet is to try the HLS Direct mode, which come with its own caveats

unique obsidian
#

Turned it in HLS direct mode and now I have a new error [error]: [http @ 0x5ea4ec1899c0] No trailing CRLF found in HTTP header. Adding it.
[http @ 0x5ea4ec1899c0] HTTP error 404 Not Found

left agate
#

It’s hard to diagnose from truncated logs

unique obsidian
left agate
#

You sent tunarr logs but the original snippet was an ffmpeg log?

unique obsidian
#

No it's always been a tunarr log

left agate
#

This is an ffmpeg log

#

So my guess if you have / had ffmpeg logging to Tunarr’s console output. The ffmpeg log output will not appear in Tunarr’s log file with that setting

#

My recommendation: enable ffmpeg logging to file. Assuming it is set to console now since the log file you sent does not include the ffmpeg lines at all (and thus omits the relevant error)

unique obsidian
#

{"level":30,"time":1769236857291,"pid":136711,"hostname":"samuel","msg":"Starting Tunarr version 1.1.6"}
{"level":30,"time":1769236857292,"pid":136711,"hostname":"samuel","msg":"Using Tunarr database directory: /home/samuel/.local/share/tunarr"}
{"level":30,"time":1769236857295,"pid":136711,"hostname":"samuel","msg":"Running startup task SeedSystemDevicesStartupTask"}
{"level":30,"time":1769236857296,"pid":136711,"hostname":"samuel","msg":"Running startup task ClearM3uCacheStartupTask"}
{"level":30,"time":1769236857297,"pid":136711,"hostname":"samuel","msg":"Running startup task SeedFfmpegInfoCache"}
{"level":30,"time":1769236857297,"pid":136711,"hostname":"samuel","msg":"Running startup task LoadChannelCacheStartupTask"}
{"level":30,"time":1769236857298,"pid":136711,"hostname":"samuel","msg":"Running startup task RefreshLibrariesStartupTask"}
{"level":40,"time":1769236857410,"pid":136711,"hostname":"samuel","msg":"Unable to locate vainfo on system. May not be able to auto-detect hardware acceleration capabilities"}

#

{"level":30,"time":1769236857427,"pid":136711,"hostname":"samuel","caller":"UpdateXmlTvTask","task":"UpdateXmlTvTask","msg":"XMLTV Updated at 2026-01-24T01:40:57-05:00"}
{"level":30,"time":1769236857436,"pid":136711,"hostname":"samuel","msg":"Starting Meilisearch service..."}
{"level":30,"time":1769236857453,"pid":136711,"hostname":"samuel","msg":"Meilisearch service started on port 41095"}
{"level":30,"time":1769236861901,"pid":136711,"hostname":"samuel","msg":"HTTP server listening on host:port: http://*:8000"}
{"level":50,"time":1769236884293,"pid":136711,"hostname":"samuel","err":{"type":"Error","message":"Command failed: /usr/bin/ffmpeg -version\nerror: unknown flag v'\n","stack":"Error: Command failed: /usr/bin/ffmpeg -version\nerror: unknown flag v'\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at ChildProcess.exithandler (node:child_process:417:12)\n at ChildProcess.emit (node:events:519:28)\n at maybeClose (node:internal/child_process:1101:16)\n at ChildProcess._handle.onexit (node:internal/child_process:304:5)\n at Process.callbackTrampoline (node:internal/async_hooks:130:17)","code":64,"killed":false,"signal":null,"cmd":"/usr/bin/ffmpeg -version"},"msg":"Command failed: /usr/bin/ffmpeg -version\nerror: unknown flag `v'\n"}
{"level":30,"time":1769236903227,"pid":136711,"hostname":"samuel","msg":"Received exit signal SIGINT, attempting graceful shutdown"}

#

That's the content of my log

left agate
#

setting the ffmpeg logs to file will write them to a log file separate from your tunarr log. start the stream, a log should appear. it should have the error in it, assuming one is happening. send all of the logs, the tunarr ones and the ffmpeg ones.

unique obsidian
left agate
#

ok, as i mentioned above, this will produce a separate log file for every individual tunarr stream you play. reproduce the error and it should be in the ffmpeg logs files

unique obsidian
left agate
#

Are there more than 1 log file that start with ffmpeg in the directory

unique obsidian
#

yes there's a ton

left agate
#

Can you send them all

unique obsidian
#
#
#
unique obsidian
#

hey I fixed it no worries

left agate
#

what did you do

unique obsidian
#

lol I said fuck it and installed windows

left agate
#

welp lol

#

well looking at your original logs... idk how you had things installed previously, but the issue was that ffmpeg could not load the nvidia drivers correctly

#

dont always have to go nuclear, but if your new setup works then more power to ya