25 Mar 2024 |
| @voxjah:matrix.org left the room. | 03:04:43 |
26 Mar 2024 |
advplyr | I'm not understanding what you are trying to do | 21:52:11 |
nyxholas | It should work if it's a symlink of the file itself, not a symlink of the folder | 21:57:41 |
nyxholas | At one point folder symlinks were not followed due to the filesystem library being used. It gets mentioned periodically but don't think anyone has changed that | 22:23:26 |
nyxholas | * At one point folder symlinks were not followed due to the filesystem library being used or something. It gets mentioned periodically but don't think anyone has changed that | 22:23:45 |
27 Mar 2024 |
| @martin:stpv.xyz left the room. | 17:56:54 |
30 Mar 2024 |
zerosan | Does anybody have an idea for this? I have the audiobooks on a docker volume (rclone volume driver) And when I try to play back an audiobook that is concluded to require transcoding I get the following behavior:
audiobookshelf | [2024-03-30 14:04:03.201] INFO: [PlaybackSessionManager] startSession: Closing open session "The Perfect Run" for user "zerosan" (Device: Windows 10 / Edge)
audiobookshelf | [2024-03-30 14:04:03.215] INFO: [STREAM] START STREAM - Num Segments: 10784
audiobookshelf | [2024-03-30 14:04:03.218] INFO: [STREAM] Starting Stream at startTime 2:46:37.0 (User startTime 2:47:07.0) and Segment #1666
audiobookshelf | [2024-03-30 14:04:03.220] INFO: [INFO] FFMPEG transcoding started with command: ffmpeg -seek_timestamp 1 -f concat -safe 0 -ss 9997.3s -noaccurate_seek -i /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345/files.txt -y -loglevel error -map 0:a -c:a copy -f hls -copyts -avoid_negative_ts make_non_negative -max_delay 5000000 -max_muxing_queue_size 2048 -hls_time 6 -hls_segment_type mpegts -start_number 1666 -hls_playlist_type vod -hls_list_size 0 -hls_allow_cache 0 -hls_segment_filename /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345/output-%d.ts /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345/final-output.m3u8
audiobookshelf | [2024-03-30 14:04:03.220] INFO:
audiobookshelf | [2024-03-30 14:04:03.290] INFO: [concat @ 0x7f73a419e600] Impossible to open '/audiobooks/The Perfect Run, Book 1/The Perfect Run, Book 1 - Maxime J. Durand, Void Herald.m4b'
audiobookshelf | [2024-03-30 14:04:03.291] INFO: [in#0 @ 0x7f73a42948c0] Error opening input: I/O error
audiobookshelf | [2024-03-30 14:04:03.291] INFO: Error opening input file /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345/files.txt.
audiobookshelf | [2024-03-30 14:04:03.292] INFO: Error opening input files: I/O error
audiobookshelf | [2024-03-30 14:04:03.298] INFO:
audiobookshelf | [2024-03-30 14:04:03.337] ERROR: Ffmpeg Err "ffmpeg exited with code 251: Error opening input file /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345/files.txt.
audiobookshelf | Error opening input files: I/O error
audiobookshelf | " (Stream.js:342)
audiobookshelf | [2024-03-30 14:04:03.337] INFO: Closing Stream 20c7b2ec-7079-41a5-bf5c-e9997ac86345
audiobookshelf | [2024-03-30 14:04:03.340] INFO: Deleted session data /metadata/streams/20c7b2ec-7079-41a5-bf5c-e9997ac86345
audiobookshelf | [2024-03-30 14:04:03.930] ERROR: [HlsRouter] Stream "20c7b2ec-7079-41a5-bf5c-e9997ac86345" does not exist (HlsRouter.js:56)
audiobookshelf | [2024-03-30 14:04:05.053] ERROR: [HlsRouter] Stream "20c7b2ec-7079-41a5-bf5c-e9997ac86345" does not exist (HlsRouter.js:56) | 13:06:54 |
zerosan | I have gone into the container and checked the file that is claimed to be impossible to open, and, it's there and readable without any trouble. It just seems like the process for transcoding can't | 13:08:22 |
zerosan | Direct play works, transcoding does not | 15:25:00 |
nyxholas | What server version? | 15:29:54 |
advplyr | Looks like it has trouble accessing /metadata/streams where the transcode stores what it needs to | 17:19:27 |
zerosan | I will check that!, latest version 2.8.1 | 20:54:46 |
zerosan | I've created new volumes for metadata and config, and restored a backup. DirectPlay still works right away, media that requires transcoding still fails in exactly the same way | 21:08:55 |
zerosan | 2024-03-30 22:35:39.875
INFO
[STREAM] START STREAM - Num Segments: 5963
2024-03-30 22:35:39.877
INFO
[STREAM] Starting Stream at startTime 1:07:17.0 (User startTime 1:07:47.0) and Segment #672
2024-03-30 22:35:39.880
INFO
[INFO] FFMPEG transcoding started with command: ffmpeg -seek_timestamp 1 -f concat -safe 0 -ss 4037.5s -noaccurate_seek -i /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771/files.txt -y -loglevel error -map 0:a -c:a copy -f hls -copyts -avoid_negative_ts make_non_negative -max_delay 5000000 -max_muxing_queue_size 2048 -hls_time 6 -hls_segment_type mpegts -start_number 672 -hls_playlist_type vod -hls_list_size 0 -hls_allow_cache 0 -hls_segment_filename /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771/output-%d.ts /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771/final-output.m3u8
2024-03-30 22:35:39.880
INFO
2024-03-30 22:35:39.949
INFO
[concat @ 0x7f8be1631600] Impossible to open '/audiobooks/Dennis E. Taylor/Dennis E. Taylor - Bobiverse/#1 - We Are Legion (We Are Bob) (Dennis E. Taylor) [B01L0831K6]/#1 - We Are Legion (We Are Bob)_ Bobiverse, Book 1 (Dennis E. Taylor) [B01L0831K6].m4b'
2024-03-30 22:35:39.950
INFO
[in#0 @ 0x7f8be17278c0] Error opening input: I/O error
2024-03-30 22:35:39.950
INFO
Error opening input file /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771/files.txt.
2024-03-30 22:35:39.950
INFO
Error opening input files: I/O error
2024-03-30 22:35:39.950
INFO
2024-03-30 22:35:39.951
ERROR
Ffmpeg Err "ffmpeg exited with code 251: Error opening input file /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771/files.txt. Error opening input files: I/O error "
2024-03-30 22:35:39.951
INFO
Closing Stream ea0cba86-570d-4530-8954-d1babff2b771
2024-03-30 22:35:39.953
INFO
Deleted session data /metadata/streams/ea0cba86-570d-4530-8954-d1babff2b771
2024-03-30 22:35:39.953
DEBUG
[PlaybackSessionManager] Stream closed for session "ea0cba86-570d-4530-8954-d1babff2b771" (Device: Windows 10 / Edge)
2024-03-30 22:35:40.406
ERROR
[HlsRouter] Stream "ea0cba86-570d-4530-8954-d1babff2b771" does not exist
2024-03-30 22:35:41.607
ERROR
[HlsRouter] Stream "ea0cba86-570d-4530-8954-d1babff2b771" does not exist
2024-03-30 22:35:44.491
ERROR
[HlsRouter] Stream "ea0cba86-570d-4530-8954-d1babff2b771" does not exist
2024-03-30 22:35:49.480
ERROR
[HlsRouter] Stream "ea0cba86-570d-4530-8954-d1babff2b771" does not exist | 21:39:28 |
zerosan | Yes, I've even gone as far as setting permissions to 0777 for everything in there, for testing purposes | 21:39:29 |
zerosan | I have now mounted the remote directly via rclone, and then added it to the container via a local volume. it works flawlessly, so, I guess it's an odd behavior that only happens in combination with rclone as a volume driver. Quite odd indeed. | 21:57:18 |
zerosan | I will have to try a different solution of mounting the ftp and making it accessible, given that I wanted things to be a bit more self contained, and this setup currently is not that | 21:58:08 |
dieseltech | It's not odd at all | 22:00:00 |
dieseltech | rclone is a bunch of hacks to try and expose files as a file system | 22:00:16 |
dieseltech | Have you tuned your rclone settings and tweaked it? | 22:00:33 |
zerosan | running the mount with rclone mount --allow-other --vfs-cache-mode off --dir-perms 777 --umask 0 | 22:01:11 |
zerosan | That has worked just fine for me on a non-docker install of abs, and is working just fine when mounted to the local file system and then attached to the container via a local volume | 22:02:11 |
zerosan | Do you happen to have an idea or solution that works better or is cleaner? | 22:02:54 |
31 Mar 2024 |
nyxholas | Can you enable debug logs and provide logs from when you're navigating the library? | 15:44:30 |
nyxholas | Is it crashing at that point? It looks like it's loading the home page shelves in under 2 seconds from those logs | 16:28:17 |
nyxholas | And it's just not loading, not crashing? Any logs from that? | 16:31:30 |
nyxholas | Ah, cool. Thanks for the update | 16:34:16 |
nyxholas | If you're willing to share the database that could be useful for having the large database to test against (don't need the files or anything) | 16:34:45 |
nyxholas | * If you're willing to share the database that could be useful for having the large database to test against (don't need the media files or anything) | 16:34:55 |
nyxholas | Thanks! | 16:47:20 |