2023-10-06, 18:34
Hello all,
Hoping someone can help point me in the right direction as to whether this is something solvable.
In my setup I remove video advertisements via ffmpeg via these basic steps:
1) Export metadata, subtitles, thumbnail
2) Detect ad ranges via comskip or via scanning for advertisement-titled chapters
3) Export each segment with the subtitles, then pad each segment to ensure audio synchronization
4) Concat the segments
5) Re-embed metadata / thumbnail if needed
What I've noticed is that most of the time during segment transitions between those segments the subtitles stop rendering on my media box (Kodi 19.4 Matrix on a Raspberry Pi 4 on RPiOS Lite Bullseye 64-bit). The subtitle slider is still on, indicating that the feature is still enabled, but if I fast forward / rewind a bit or stop / resume the subtitles start rendering again. It's not a huge deal but somewhat annoying.
Not sure if this is known or not --- would love to collect diagnostics if it's not if someone can help me figure out what's going on. At first, I thought it might be related to keeping remnants of the chapters or using an older version of ffmpeg, but neither of those appears to have helped.
Because I was curious I reverted to an older SD image, running Kodi 18.7 Leia on the same RPi 4, but on top of RPiOS Lite Buster 32-bit, and these same files seem to work fine. So it appears specific to Matrix and/or the OS. I'm not really convinced that this is RPi specific but this still seems to be the most appropriate place for an inquiry like this --- if not I can move / repost.
Through reading it appears that the subtitle system was revamped for Kodi 20 Nexus, but doesn't appear to be install-able / supported via apt-get on Bullseye, so I'll have to wait until Bookworm stabilizes a bit before giving that a try and that might be awhile.
Thanks in advance for any help anyone might be able to provide (and thanks for an amazing product team Kodi)!
Hoping someone can help point me in the right direction as to whether this is something solvable.
In my setup I remove video advertisements via ffmpeg via these basic steps:
1) Export metadata, subtitles, thumbnail
2) Detect ad ranges via comskip or via scanning for advertisement-titled chapters
3) Export each segment with the subtitles, then pad each segment to ensure audio synchronization
4) Concat the segments
5) Re-embed metadata / thumbnail if needed
What I've noticed is that most of the time during segment transitions between those segments the subtitles stop rendering on my media box (Kodi 19.4 Matrix on a Raspberry Pi 4 on RPiOS Lite Bullseye 64-bit). The subtitle slider is still on, indicating that the feature is still enabled, but if I fast forward / rewind a bit or stop / resume the subtitles start rendering again. It's not a huge deal but somewhat annoying.
Not sure if this is known or not --- would love to collect diagnostics if it's not if someone can help me figure out what's going on. At first, I thought it might be related to keeping remnants of the chapters or using an older version of ffmpeg, but neither of those appears to have helped.
Because I was curious I reverted to an older SD image, running Kodi 18.7 Leia on the same RPi 4, but on top of RPiOS Lite Buster 32-bit, and these same files seem to work fine. So it appears specific to Matrix and/or the OS. I'm not really convinced that this is RPi specific but this still seems to be the most appropriate place for an inquiry like this --- if not I can move / repost.
Through reading it appears that the subtitle system was revamped for Kodi 20 Nexus, but doesn't appear to be install-able / supported via apt-get on Bullseye, so I'll have to wait until Bookworm stabilizes a bit before giving that a try and that might be awhile.
Thanks in advance for any help anyone might be able to provide (and thanks for an amazing product team Kodi)!