Regenerating Video Index

Hello,

Is it possible to disable the "regenerating video index" process?

Some background. I have my data all on a remote server and my local Channels server reads the media via a sshfs mount using rclone.

Issue 1: As it's a remote storage drive the regeneration process is taking hours and will last for days on end as its using my internet connection to index the files.
Issue 2: The rclone mount is configured to use its vfs cache. rClone caches the files in chunks, so as an example when Plex reads the header to determine the file codec/size etc rclone will only cache the downloaded chunk. I believe Channels is reading the entire file while indexing causing rclone to try cache the entire file and ultimately the entire media directory.

If there are no alternatives, could we get an option to disable media indexing if one does not exist?

Wow. This must be a miserable experience. You are correct that generating the video indexes does require reading the entire contents of the files to calculate.

Everything about how Channels works is centered around the DVR having fast and reliable access to the underlying files. Even without this process, all of the ways that Channels deals with video files expects to be able to have fast random access to the file data. Unfortunately what you're trying to do is unsupported and you're likely going to have a bad time all around.

Sorry I don't have better news for you.

Can you please elaborate?
All my media plays instantly, including 4k media. Seeking media is instant. Loading all metadata is instant.
So what exactly is "bad time all around."? The only issue is that I want to stop the indexing of video.

Why can’t you just run Channels locally and then view the recordings remotely through a VPN or maybe even a Plex server?

That’s exactly what I’m doing.
Plex also has the ability to scan video files but you have the option to turn that off, which I do.

The viewing experience is like having the media locally except for the indexing issue.

1 Like

I meant in reverse then. Run the DVR local to where the media location is instead of it being a “remote storage drive.”

I tried that originally but I didn’t like the fact that you have to jumps through hoops to setup channels to work through a vpn so I moved channels DVR locally.
Again, I want to state this as clearly as I can, the setup is perfect in terms of viewing experience the issue has nothing to do with that but mostly with how channels handles indexing.

1 Like

There are many Plex(emby/jelly) users who use cloud storage, I'm one of them, who see channels as a superior product. I love where Channels is so far and where it's going but this is a problem.

Eric,

It seems you are you saying that remote storage is not supported?
Is it unrealistic to add an option to disable video indexing for "local" media(Movies/TV)?

@xtinct101 we're having internal discussions regarding the overall impact on doing this. Even if we do provide a way to do this, please understand that you're definitely coloring outside the lines and may run into hangs, crashes, timeouts, errors and flakiness due to this being something we just haven't been considering in any of the designs of the DVR.

I completely understand and accept that YMMV.

We've added a setting in the Imports section to disable the indexing. Please note for everyone else: disabling this feature will cause the transcoder to insert more keyframes than would be efficient which will lower the over-all quality of the transcode. It's best to keep this setting on if you don't have a very strong reason to disable it.

You and the Channels team are fantastic. This completely fixed the issue.

2 Likes