Jump to content


Photo

Openpli 8 timeshift problems ap file

Timeshift

  • Please log in to reply
16 replies to this topic

#1 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 3 May 2025 - 22:05

have been experiencing ongoing issues with timeshift on my Dreambox UHD 900 running OpenPLi. The problem seems to occur specifically with HEVC/4K channels, such as ESPN UHD. What I notice:
• 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 WanWizard

  • PLi® Core member
  • 72,200 posts

+1,915
Excellent

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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

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 littlesat

  • PLi® Core member
  • 58,129 posts

+727
Excellent

Posted 5 May 2025 - 08:31

Looks like bandwidth issues…. What timeshift.py file?

Edited by littlesat, 5 May 2025 - 08:33.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Openpli 8 timeshift problems ap file #5 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 5 May 2025 - 11:18

am looking for the file that we might be able to modify to resolve the issue, and I have read that it could be related to a timeshift file.

Re: Openpli 8 timeshift problems ap file #6 WanWizard

  • PLi® Core member
  • 72,200 posts

+1,915
Excellent

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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 5 May 2025 - 13:07

I got a ssd so thats not the problem
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 WanWizard

  • PLi® Core member
  • 72,200 posts

+1,915
Excellent

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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 5 May 2025 - 14:17

Maybe I’m misunderstanding you, but I have a built-in SSD (Samsung 870 EVO). That’s not USB, right?

But aside from that… do you have any kind of solution or something I can try?

Re: Openpli 8 timeshift problems ap file #10 WanWizard

  • PLi® Core member
  • 72,200 posts

+1,915
Excellent

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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 5 May 2025 - 14:41

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 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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 5 May 2025 - 14:42

I made a typo.. it has to be like this

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 littlesat

  • PLi® Core member
  • 58,129 posts

+727
Excellent

Posted 5 May 2025 - 22:07

And what if you disable permanent timeshift (why should you enable it anyway?). Couldn’t it be an issue with the HDMI cable?

Edited by littlesat, 5 May 2025 - 22:07.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Openpli 8 timeshift problems ap file #14 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 6 May 2025 - 12:26

I want to be able to pause and rewind. At the moment, I have disabled background removal, and so far I haven't been able to reproduce the issue. This might be the solution! I'll keep an eye on it.



Re: Openpli 8 timeshift problems ap file #15 littlesat

  • PLi® Core member
  • 58,129 posts

+727
Excellent

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 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 6 May 2025 - 21:10

Yes 100% sure

Re: Openpli 8 timeshift problems ap file #17 Teslapolestar

  • Member
  • 10 posts

0
Neutral

Posted 6 May 2025 - 21:11

And the problem came back unfornately



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users