NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 64 65 66 67 68 … 433 Next »
Pausing live video-fails to play 4.0.5 (171208)

Pausing live video-fails to play 4.0.5 (171208)
eastavin
Offline

Member

Posts: 221
Threads: 54
Joined: Oct 2016
#1
2017-12-08, 07:16 PM
So I am watching CBS live tv. I push the pause bar and walk away. I return and push the pause bar again to play the paused video. Timer shows its been on pause for 48:57. Video starts to play.. I get about 3-4 seconds of video and a burst of audio then everything freezes with a black screen. Try pounding the escape key, the return key all to no avail. Then I decide to focus on 2 hits on escape followed by 2 hits on return followed by 2 hits on escape.. eventually it returns to the main menu from which I am able to reengage the Live Tv but my 49 minute paused video is gone. Watching live tv again. Zipped files attached. look at the end for hiccup.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#2
2017-12-08, 09:26 PM
There are known issues if you pause longer then the playback buffer which you already commented on https://forums.nextpvr.com/showthread.ph...post518421

Martin
HarryH3
Offline

Posting Freak

U.S.A
Posts: 925
Threads: 56
Joined: Mar 2006
#3
2017-12-09, 01:43 PM
Pausing Live TV for an extended period can definitely be problematic. If I know that I'm going to be stepping away for a while, I press the record button on my remote. This way, NPVR records the remainder the show that I was watching without fail and I can watch from the Recordings screen at my leisure. Smile
i3-3570k, 8GB RAM, Win10 Pro, Nvidia GT710, HDHomeRun (OTA), NPVR 6.x
On a clear disk, you can seek forever...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2017-12-09, 05:46 PM
The attached patch will jump forward to where video is available when you resume if you'd paused beyond the size of the buffer. It'll also show a message on the screen to let you know this happened.
eastavin
Offline

Member

Posts: 221
Threads: 54
Joined: Oct 2016
#5
2017-12-09, 06:35 PM
Thanks sub I will try it and see how it works. Before trying it here is what I thought pause video should be doing:

If one pauses for 70 minutes with a 60 minute buffer... one would expect that when you return and push resume that you get 60 minutes of video before it runs out. The other thing one would expect happening in the background is that as you playback the paused video... the buffer is emptying so it could then begin refilling with the current live video that you are not seeing because you are watching the paused video. Of course there would be a gap in the buffered video stream equal to the amount of time that you were away that was in excess of the buffer size. Of course its easy to type that maybe not so easy to write the code for that Smile

Maybe someone can explain what one should expect from the current design of the "Pause video" feature?

Many thanks for all the hard work on Nextpvr. Its a great system.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2017-12-09, 06:48 PM
eastavin Wrote:If one pauses for 70 minutes with a 60 minute buffer... one would expect that when you return and push resume that you get 60 minutes of video before it runs out. The other thing one would expect happening in the background is that as you playback the paused video... the buffer is emptying so it could then begin refilling with the current live video that you are not seeing because you are watching the paused video. Of course there would be a gap in the buffered video stream equal to the amount of time that you were away that was in excess of the buffer size. Of course its easy to type that maybe not so easy to write the code for that Smile
Nah, that's just crazy. Big Grin I haven't seen anything else work that way.

NextPVR works more like the set top boxes, where it's always buffering the last x minutes of video, and you can pause/skip/rewind etc within that buffer.

Some set top boxes do what NextPVR is now doing, and if paused too long, it'll resume playback in the video it has. With some other set top boxes if you pause to long, like it's got a 20 minute buffer, after 20 minutes it'll auto unpause itself and resume playback.
eastavin
Offline

Member

Posts: 221
Threads: 54
Joined: Oct 2016
#7
2017-12-15, 09:55 PM
So I installed the file and put it on pause for about 40 minutes. when I came back and unpaused it I got a message that said 'skipping to buffer' and video played without any incidents. after about 4 minutes I then hit stop and then selected Live TV and it worked as well without any hiccups. As I hit stop in a commercial and then on returning I got the tv show instead of a commercial - I figure the pause feature worked this time flawlessly. i will give it a longer workout the next few days.

So in this case with a 40 minute pause would I have been seeing the most recent 20 minutes to have been broadcast? or was it the 20 minutes from when I hit pause?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#8
2017-12-16, 02:18 AM
eastavin Wrote:So in this case with a 40 minute pause would I have been seeing the most recent 20 minutes to have been broadcast? or was it the 20 minutes from when I hit pause?
Think of it as two separate things happening:

1) The recording service is recording live tv to a temporary file. It always keeps the last 20 minutes in it's temporary file. (it has no idea if you've hit 'pause' - that is just a playback thing)

2) The front end is watching the video in that temporary file. If you pause, playback stops, but the recording service keeps doing #1. When you hit 'play' if the bit you paused in is no longer in the temp file, it just jumps forward to the oldest content that is in the temp file.
eastavin
Offline

Member

Posts: 221
Threads: 54
Joined: Oct 2016
#9
2017-12-22, 05:40 PM
This version you posted appears to be pausing and restarting reliably so far. One thing I noticed that was a bit of a pain in the neck was how it gets stuck on a channel with a weak signal and you cant escape while it tries to lock on to something. During this time the screen is black and no controls work... at least no controls I am aware of. Is there some sort of ctrl seqence that can be used to abort the tuners attempt to lock to a channel with a signal too weak to display?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#10
2017-12-22, 06:38 PM
If you've got weak unreliable channels, I'd try improving the signal or removing them.

Ctrl-S is the normal key for stop.

The video render will only allow me to display stuff on the screen while frames are being presented, so if there is no video frames, unfortunately I have no way to force it to display OSD graphics like controls etc.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  decoder issue? some channels don't play Donsch 10 5,471 2023-12-04, 10:19 PM
Last Post: turkeypets
Information Audio Video Sync Fixed with AC3Filter! gearsofwoe 0 1,133 2022-11-18, 04:36 AM
Last Post: gearsofwoe
  Tuner not being released when live TV stopped on Kodi dark_half 7 2,991 2022-06-12, 11:59 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,051 2022-04-14, 04:33 AM
Last Post: Antmannz
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,282 2021-05-05, 06:23 AM
Last Post: tvwatcher
  black play and zero recording sebjoan 5 2,581 2020-10-13, 05:16 PM
Last Post: sebjoan
  Video Meta information made from scratch MPMovieBuff 1 1,733 2020-04-06, 02:51 PM
Last Post: mvallevand
Photo video in recordings slow to display jimbojones 7 2,874 2020-04-02, 10:37 PM
Last Post: jimbojones
  Black Screen Live TV and Recording Eric8497 9 4,469 2020-03-14, 06:17 PM
Last Post: sub
  Will not play recorded video on 1st computer but will play same video on second compu Krepps 5 2,212 2020-02-28, 05:33 PM
Last Post: Krepps

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode