Jump to content


Photo

Timeshifting problems with OpenPLi 3.0


  • Please log in to reply
747 replies to this topic

Re: Timeshifting problems with OpenPLi 3.0 #381 mik9

  • Senior Member
  • 67 posts

0
Neutral

Posted 20 February 2013 - 23:31

That would have to be treated specially as following scenario can happen:
User have pre- 10 minutes and post- 20 minutes. Current TV channel has now e.g. 4 consecutive events by 5 minutes. That means you started 4 recordings just because of time shift. Imagine that you record something at the same time and you already achieved I/O limits on most machines.

Re: Timeshifting problems with OpenPLi 3.0 #382 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 21 February 2013 - 00:16

As far as I know is it not possible to make more than one timeshift recording at a time with the current implementation. You'll have to change C++ part for it... And mik9 suggestions are right. It would be difficult to implement.
I would prefer one big timeshift file and bookmarks

Edited by betacentauri, 21 February 2013 - 00:19.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #383 jeffphil

  • Senior Member
  • 116 posts

+7
Neutral

Posted 21 February 2013 - 00:23

Hi all I think that there may be a problem with user expectation with the number keys. If you look at the two basic operations
1 Watching TV number keys zap
2 Watching a movie number keys skip

From my point of view watching Timeshifted TV is an extension of Watching TV so I would expect the number keys to zap with the warning of exit to live TV etc
Until The Wheels are off the ground there is still hope


DM500,DM600,DM800HD,VU+ Duo

Re: Timeshifting problems with OpenPLi 3.0 #384 mik9

  • Senior Member
  • 67 posts

0
Neutral

Posted 21 February 2013 - 01:15

One big enough file with proper kind of marking would be fine. There is only one problem, that you have to ensure somehow that it will be buffering (and still keep markers in correct positions), i.e. once it exceeds pre-set time (e.g. 4 hours) it must move the content like in the buffer. As this is huge amount of data I do not know if this will be reasonably achievable. Of course, several smaller files could be employed instead of one big and just the oldest would be deleted, so rotation could be used. However, more files mean that you need to solve problem with exact continuation from one file to another, to avoid any gaps like the one in PTS.

Re: Timeshifting problems with OpenPLi 3.0 #385 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 21 February 2013 - 08:53

guys rewinding with multiple speeds in timeshift mode is working again. Many thanks for that.

VU+ Uno
Internal HDD

Re: Timeshifting problems with OpenPLi 3.0 #386 umtauscher

  • Senior Member
  • 177 posts

+1
Neutral

Posted 21 February 2013 - 15:14

Hi all I think that there may be a problem with user expectation with the number keys. If you look at the two basic operations
1 Watching TV number keys zap
2 Watching a movie number keys skip

From my point of view watching Timeshifted TV is an extension of Watching TV so I would expect the number keys to zap with the warning of exit to live TV etc

My point exactly.
I find it most annoying when elementary buttons change their behaviour on context.
Except from the original dreambox I suppose all receivers have proper dedicated buttons for basic play, skip and (re-wind). I realy don't see the necessity to skip with the number keys.
It only confuses the user. (I realize that an enigma receiver is nearly unusable for a noop, though)
The UI is always the hardest part on a programming project but its always getting the lowest priority. This thread is a good example for that.

Edited by umtauscher, 21 February 2013 - 15:16.


Re: Timeshifting problems with OpenPLi 3.0 #387 littlesat

  • PLi® Core member
  • 56,417 posts

+692
Excellent

Posted 21 February 2013 - 15:39

The skip with the number keys is much much more easier than fast forward and (fast) rewinding.... That is why this feature was added...
When I implemented it on E1 years years ago I used the <> keys next to the 0 key for that... Later in E2 it became at the numberkeys in the movieplayer and timeshift mode (as in the movie player the number keys are not used at all)...
Once used to the step skip you see the advantaged and you do never fast forward and fast rewind anymore ;)....
I think it does not confuse at all.... It is part of the added value of E2

Edited by littlesat, 21 February 2013 - 15:40.

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


Re: Timeshifting problems with OpenPLi 3.0 #388 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 21 February 2013 - 15:52

Skipping with numbers is very useful! Thanks for keeping it that way.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Timeshifting problems with OpenPLi 3.0 #389 umtauscher

  • Senior Member
  • 177 posts

+1
Neutral

Posted 21 February 2013 - 20:23

Just to make myself clear, I have nothing against skipping. In fact I use it all the time.
What I pledge against is using the number keys.

I agree that when skipping with a fixed distance, 2 buttons are not enough.
But if you use an iteration skip which reduces skipping distance when changing the direction, you can skip to a certain point much faster, even faster than using the number keys.

Let me explain:
You start with an initial skiiping distance, e.g. 5 Minutes. ( you could use the skipping distance of 7 and 9 for that). As long as you skip in the same direction, the skip would remain that distance.
Once you see, that you skipped too far, you skip in the opposite direction, but with that direction change the distance ist reduced to half. So you skip half the distance, until you have skipped too far. So you change direction again while the distance is reduced again.
That way, you find your target position very fast. I know, in theory its quite hard to follow, but when using it, its really great.
That way, you would only use 2 button, the < and > would be perfect for that.
Just think about it.
Cheers
Umtauscher

Edited by umtauscher, 21 February 2013 - 20:28.


Re: Timeshifting problems with OpenPLi 3.0 #390 littlesat

  • PLi® Core member
  • 56,417 posts

+692
Excellent

Posted 21 February 2013 - 20:58

That idea i tried here... But is really a nightmare. As user you need to expect and control the skip sizes...

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


Re: Timeshifting problems with OpenPLi 3.0 #391 umtauscher

  • Senior Member
  • 177 posts

+1
Neutral

Posted 21 February 2013 - 21:11

Hmm, I don't understand. I was using it for years and it worked great.

Anyone who wants to try a "simulation" just start with skipping with the number 9 and press 4 when you've skipped too far. If the back skip is too far, press 3 until you get near the position.

You cannot reduce further than 3 so the simulation ends here, but you could see what I mean.

When you want to skip to a new position start with 7 or 9 again and iterate to the target position.

I suspect the implementation of your testing was not quite orrect.

Btw. the user always starts with the biggest step, so the distance is always known. Pressing once forward and twice backwards always returns to the start position.
Cheers
Umtauscher.

If I had any python and enigma skills I would program it myself.

Edited by umtauscher, 21 February 2013 - 21:13.


Re: Timeshifting problems with OpenPLi 3.0 #392 littlesat

  • PLi® Core member
  • 56,417 posts

+692
Excellent

Posted 21 February 2013 - 22:21

the user always starts with the biggest step, so the distance is always known. Pressing once forward and twice backwards always returns to the start position.

Not to me.... here the steps are going well....

Edited by littlesat, 21 February 2013 - 22:23.

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


Re: Timeshifting problems with OpenPLi 3.0 #393 mik9

  • Senior Member
  • 67 posts

0
Neutral

Posted 22 February 2013 - 00:44

For this iteration (or binary) skipping you not only need 2 buttons but at least one more. As sometimes you can mess with skipping and get too short interval in incorrect place so that you would not be able to quickly achieve correct point unless you reset current skip length to some higher number. So you need something like reset to 1 or 2 minutes or simple menu that will let you choose what interval you want for next skip.

Re: Timeshifting problems with OpenPLi 3.0 #394 MiLo

  • PLi® Core member
  • 14,049 posts

+298
Excellent

Posted 22 February 2013 - 12:11

But it still takes performance...


It SHOULD not. When handled properly, the recording will take place in background, and there is no impact on "zap speed" or whatever. If it has any impact on performance, I would consider that a bug.

You never owned a Topfield I guess. The good old TF4000 had an excellent permanent timeshift function which demonstrated this feature perfectly (with a 150MHz PPC CPU and 9MB RAM). The only reason to disable the timeshift on that receiver was to reduce power consumption.
Real musicians never die - they just decompose

Re: Timeshifting problems with OpenPLi 3.0 #395 umtauscher

  • Senior Member
  • 177 posts

+1
Neutral

Posted 22 February 2013 - 13:24

For this iteration (or binary) skipping you not only need 2 buttons but at least one more

The plugin I used had a timeout, after which the step was reset to the initial value. So I only had to wait a few seconds to begin again.
That timeout was adjustable in the menue.
I never used more that those 2 skip buttons. (Software developers tend to complicate things more than necessary) ;-)

Where would I start to develop a plugin that implements skipping?

Edited by umtauscher, 22 February 2013 - 13:28.


Re: Timeshifting problems with OpenPLi 3.0 #396 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 22 February 2013 - 13:32

All this number skip blah is overcomplicated ...

Well, as long as the common controls FFWD and RWD work, I don't care about it as the number keys are useless anyways ... I guess nobody continues to number zap after being confronted with >30 channels
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Timeshifting problems with OpenPLi 3.0 #397 Dimitrij

  • PLi® Core member
  • 10,044 posts

+339
Excellent

Posted 22 February 2013 - 14:48

I offered an easy option.
Live TV will never be = no number zap
or
long key stop = Live TV

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Timeshifting problems with OpenPLi 3.0 #398 littlesat

  • PLi® Core member
  • 56,417 posts

+692
Excellent

Posted 22 February 2013 - 16:45

Long key stuff should be avoided...

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


Re: Timeshifting problems with OpenPLi 3.0 #399 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 February 2013 - 15:12

I would like to add marks(for skipping) to timeshift file. I can do it in 2 ways:[list=1]
[*]Like in eDVBServiceRecord: Storing unmodified pts from now/next events in memory and when timeshift stops, store it in .cuts file (Assume that timeshift file won't be deleted after timeshift stop! This is in work...). Problem is that you can't use marks while timeshifting only afterwards.
[*]In eDVBServicePlay store pts values from now/next events in m_cue_entries. Then you can theoretical use them while timeshifting. Problem is that I need to fixup pts values in order to use them (fixup: PTS values in cuts are zero-based). While watching timeshift file this is no problem. But in live TV I have no pvrChannel and can't call getCurrentPosition(this calls fixupPTS).
What can I do? Can I create a tstools instance and call fixupPTS? But then timeshift file and .sc are opened while other thread is writing to these files. Sounds not very good.
Another idea is to store pts value from start of timeshift file and to fixup pts in eDVBServicePlay without calling tstools.
Has anybody another idea how to get it working?
[/list]
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Timeshifting problems with OpenPLi 3.0 #400 umtauscher

  • Senior Member
  • 177 posts

+1
Neutral

Posted 23 February 2013 - 16:11

I'm confused, what is going on with the actual PTS?
Yesterday I updated and all warnings for zapping from timeshift are gone. Even the arrow keys on the nummber pad zap now and kill the timeshift buffer without warning. Is this a regression bug or is the behaviour changed again?



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users