
#1
Posted 3 May 2025 - 22:05
• During timeshift, two files are normally created (for example timeshift.* and .sc).
• However, as soon as I zap away from an HEVC/4K channel, an .ap file consistently remains in the /media/hdd/ folder.
• This does not happen with HD (H.264) channels; only with HEVC/4K.
• After watching an HEVC/4K channel, the stuttering and timeshift issues begin, even when switching to other channels later.
What I have tried so far:
• Increased the delete speed in the recording settings,
• Adjusted the delete options (e.g., set to “everywhere”),
• Using an SSD as storage (which works perfectly otherwise),
• Tested various settings related to timeshift and recordings.
It seems that the Dreambox does not properly clean up the .ap files after stopping timeshift or zapping from HEVC/4K channels, which eventually affects the overall stability of the system.
Is this a known issue for others? Are there any updates, patches, or known solutions that specifically address the leftover .ap files with HEVC/4K channels? Any help or suggestions are greatly appreciated!
Re: Openpli 8 timeshift problems ap file #2
Posted 4 May 2025 - 11:40
We couldn't possibly comment on what the dreambox does or doesn't do, we don't make images for it.
The only issue with timeshift I am aware of is the zap delay when the timeshift files from the previous channels are deleted ( which on SATA connected storage is not much of a problem, but on USB connected storage, it is ).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Openpli 8 timeshift problems ap file #3
Posted 5 May 2025 - 07:34
We couldn't possibly comment on what the dreambox does or doesn't do, we don't make images for it.
The only issue with timeshift I am aware of is the zap delay when the timeshift files from the previous channels are deleted ( which on SATA connected storage is not much of a problem, but on USB connected storage, it is ).
Thank you for your response. I'm sorry to hear you're not in good health—hope you're doing better soon.
I have both a VU+ and a Dreambox, and I accidentally confused the two. The issue actually concerns my VU+ box, which is running OpenPLi. When I set the timeshift delay to 5 seconds and switch to 4K channels, the picture eventually starts to stutter.
I have a feeling this may be caused by leftover AP files. Could you please explain what might be causing this? Also, do you happen to have an updated timeshift.py file? I'm not sure what the file is normally called, but perhaps I could try replacing or modifying it to see if that resolves the issue.
I look forward to your response.
Re: Openpli 8 timeshift problems ap file #4
Re: Openpli 8 timeshift problems ap file #5
Re: Openpli 8 timeshift problems ap file #6
Posted 5 May 2025 - 12:10
Left over files, from any type, will not have any effect on performance, unless you have a million of them in a single folder.
Chances are the problem is caused by the very high bandwidth of the 4K channel, in combination with the very low and slow throughput of a USB storage device.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Openpli 8 timeshift problems ap file #7
Posted 5 May 2025 - 13:07
I’ve noticed that something goes wrong whenever I deal with 4K or HEVC content, although sometimes it also happens randomly without a clear reason. To me, it seems there’s an underlying issue that might be fixable. I’ve read on this forum that the problem could be related to the timeshift file, and that it may help to modify this file—while ensuring that the AP file gets deleted as part of the process.
Re: Openpli 8 timeshift problems ap file #8
Posted 5 May 2025 - 13:29
The problem is not the device, the problem is the connection.
USB on most STB's, even the ones that are supposed to be USB3, are notoriously slow in throughput. I get faster throughput to my NAS via wireless than I get to a USB memory stick plugged into the box.
The existence of other files in the timeshift directory, no matter what and where they came from, are of no relevance. Unless, like I wrote, there are a lot, but that would only have an impact on searches, not on writes.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Openpli 8 timeshift problems ap file #9
Re: Openpli 8 timeshift problems ap file #10
Posted 5 May 2025 - 14:25
Maybe I’m misunderstanding you, but I have a built-in SSD (Samsung 870 EVO). That’s not USB, right?
No, which is why I wrote
which on SATA connected storage is not much of a problem, but on USB connected storage, it is
But you never replied to that, so I had to assume (wrong, in this case).
The way timeshift works is that it starts a recording, and immediate playback of that recording, so you're never watching live TV (apart from the first x seconds after a zap).
If you notice issues, and you reverse back say 30seconds, do you notice exactly the same issues at exactly the same moment (which would suggest recording is the problem) or not (which would suggest playback is the problem).
If you can reliably reproduce the issue, restart in debug mode (in the restart menu), reproduce the problem, restart in standard mode again, get the debuglog file out of /home/root, zip it, and attach it to youre reply here (using the "More Reply Options" button).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Openpli 8 timeshift problems ap file #11
Posted 5 May 2025 - 14:41
Timeshift is now set to 2 seconds. I’m watching TV, mainly on AVC channels 1920 x 1080i 25. I noticed that when I zap to a channel like 4K HEVC 3840 x 2160p50 or HEVC 1920 x 1080p50, shortly after (or immediately) the stuttering problem starts. These are small hiccups, and it’s especially noticeable during football matches.
If I then turn off the timeshift function (set to 5 seconds), zap once and zap back, the stuttering stops.
I haven’t tried rewinding yet. What I did try is, for example, changing the swap speed to 100 Mb / wipe option set to background everywhere. At the moment I even have it completely turned off to see if that helps.
I now have the box in debug mode and am trying to reproduce the issue.
Re: Openpli 8 timeshift problems ap file #12
Posted 5 May 2025 - 14:42
Sorry, I didn’t see that earlier… otherwise I would have immediately mentioned that I installed a Samsung SSD. This is how the problem occurs:
Timeshift is now set to 5 seconds. I’m watching TV, mainly on AVC channels 1920 x 1080i 25. I noticed that when I zap to a channel like 4K HEVC 3840 x 2160p50 or HEVC 1920 x 1080p50, shortly after (or immediately) the stuttering problem starts. These are small hiccups, and it’s especially noticeable during football matches.
If I then turn off the timeshift function), zap once and zap back, the stuttering stops.
I haven’t tried rewinding yet. What I did try is, for example, changing the swap speed to 100 Mb / wipe option set to background everywhere. At the moment I even have it completely turned off to see if that helps.
I now have the box in debug mode and am trying to reproduce the issue.
Re: Openpli 8 timeshift problems ap file #13
Re: Openpli 8 timeshift problems ap file #14
Re: Openpli 8 timeshift problems ap file #15
Posted 6 May 2025 - 16:30
Just to check if it is really timeshift related or something else....
Are you also sure the timeshift is recorded onto that SSD... maybe it could also go incidentally to a different location (flash or something else).
Edited by littlesat, 6 May 2025 - 16:32.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Openpli 8 timeshift problems ap file #16
Re: Openpli 8 timeshift problems ap file #17
Also tagged with one or more of these keywords: Timeshift
Automatic timeshiftStarted by JordiTriangulo, 30 Jan 2024 ![]() |
|
![]() |
||
Timeshift warning when switching offStarted by umtauscher, 21 Dec 2023 ![]() |
|
![]() |
||
Auto save and auto delete timeshift filesStarted by Lugie, 19 Mar 2021 ![]() |
|
![]() |
||
How do you set up timeshift when using external usb storage?Started by ICTag, 8 Jun 2020 ![]() |
|
![]() |
||
Vu+ Solo 4K - Recording issue when timeshift is enabledStarted by dachu, 14 Aug 2018 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users