NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 25 26 27 28 29 … 102 Next »
.TS File Problem

 
  • 0 Vote(s) - 0 Average
.TS File Problem
geobrick
Offline

Junior Member

United States
Posts: 30
Threads: 5
Joined: Dec 2021
#1
2021-12-06, 02:04 AM
Thanks for this PVR. I was maintaining a PC with Win8.1 for the last few years just for WMC and using it with an X-box as a WMC extender. The X-box died last year so I set up a raspberry Pi with Kodi as a partial substitute for the xbox. When I eventually wanted access on a 3rd TV I discovered I could run NextPVR on a WIN10 PC and set up the next PVR client in Kodi. All is working great except...  

First, my setup:
NextPVR 5.2.2.211017 on a Win10 PC
HD Homerun Prime with Cable Card - Frontier FIOS

I'm having consistent problem with one specific recording. It will play but the length of time displayed for the show is wrong and pressing skip forward or back has unexpected results (mostly returning to the beginning of the show). This happens with any NextPVR client I've tried and also with VLC (ver 3.06). With VLC, it will seem to play fine and skipping appears to work but it's not skipping to a predictable location. It's very strange. Almost like the time code is corrupted or the channel is using a different streaming format. It's a one hour show but displays 27 minutes (the file size is consistent with a one hour length). 

I saw a similar issue posted in the NextPVR 4.0 section so I'm attempting the fix suggested there (renaming the npvr.db3 file, rescanning the channels on the HD Homerun, delete channels on the Settings->Channels screen, then scanning a device again to see what happens).

I'm not sure what's happening considering I had no problems with recording this show before switching to nextPVR last month (using WMC with the HD Homerun Priime). The show is only on once a week so I'll report back if the older suggested fix works.

If I'm on the wrong path let me know.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2021-12-06, 02:11 AM
If you want to put the file somewhere like onedrive or google drive, I'll download it and take a look.

If you don't skip, does the file look ok when it plays, and does it play for the duration you expected it to?

It sounds like the timestamps are broken in this file, and remuxing it would probably fix it. The broadcaster is responsible for generating the encoded stream and timestamps.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,130
Threads: 957
Joined: May 2006
#3
2021-12-06, 02:21 AM
The Kodi add-on uses the duration from the database so if that is wrong Kodi could have issues.  A quick test to compare with VLC would be to play the file from the Kodi Video Library

Martin
geobrick
Offline

Junior Member

United States
Posts: 30
Threads: 5
Joined: Dec 2021
#4
2021-12-06, 02:41 AM
(2021-12-06, 02:11 AM)sub Wrote: If you want to put the file somewhere like onedrive or google drive, I'll download it and take a look.

If you don't skip, does the file look ok when it plays, and does it play for the duration you expected it to?

It sounds like the timestamps are broken in this file, and remuxing it would probably fix it. The broadcaster is responsible for generating the encoded stream and timestamps.

I'm uploading it to google drive now (it's 6GB)

I haven't tried without skipping but it will go at least 10 minutes without a problem. If I click the timeline in VLC to some random place halfway through, it could end abruptly or play from what seems to be that point on the timeline but then clicking back to the 1 minute mark doesn't take you anywhere near the 1-minute mark. With a nextpvr client, skip forward can take you into negative numbers on the timeline.

I'll see what software I have for remuxing. I used to do it for replaytv mpg files.
geobrick
Offline

Junior Member

United States
Posts: 30
Threads: 5
Joined: Dec 2021
#5
2021-12-06, 02:47 AM
(2021-12-06, 02:21 AM)mvallevand Wrote: The Kodi add-on uses the duration from the database so if that is wrong Kodi could have issues.  A quick test to compare with VLC would be to play the file from the Kodi Video Library

Martin

I believe I tried that. That's where I go into the Kodi videos folder and select the recorded show from there? The videos are from the same network folder NextPVR uses to store recorded shows. I get the same problems playing the show that way.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,130
Threads: 957
Joined: May 2006
#6
2021-12-06, 02:51 AM
(2021-12-06, 02:47 AM)geobrick Wrote: I believe I tried that. That's where I go into the Kodi videos folder and select the recorded show from there? The videos are from the same network folder NextPVR uses to store recorded shows. I get the same problems playing the show that way.

Yes you would use Video from the main menu and not Recordings via the TV menu.

Martin
geobrick
Offline

Junior Member

United States
Posts: 30
Threads: 5
Joined: Dec 2021
#7
2021-12-06, 02:51 AM
(2021-12-06, 02:11 AM)sub Wrote: If you want to put the file somewhere like onedrive or google drive, I'll download it and take a look.

If you don't skip, does the file look ok when it plays, and does it play for the duration you expected it to?

It sounds like the timestamps are broken in this file, and remuxing it would probably fix it. The broadcaster is responsible for generating the encoded stream and timestamps.

Here's the link to the file (assuming I did it correctly).
The Recorded File
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2021-12-06, 03:19 AM
There doesn't appear be any packet lose within that file, but there is definitely some weird shit going on. There is quite a few reported clock issues in the file.

When I used ffmpeg to remux the file, it ended up with a file with duration of 1 hour 2 minutes, and it skipped much better.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#9
2021-12-06, 03:20 AM
To remux, I ran:

"C:\Program Files\NextPVR\Other\ffmpeg.exe" D:\Smerconish_20211204_06000700.ts" -vcodec copy -acodec copy d:\test.ts
geobrick
Offline

Junior Member

United States
Posts: 30
Threads: 5
Joined: Dec 2021
#10
2021-12-06, 07:13 AM
(2021-12-06, 03:20 AM)sub Wrote: To remux, I ran:

"C:\Program Files\NextPVR\Other\ffmpeg.exe" D:\Smerconish_20211204_06000700.ts" -vcodec copy -acodec copy d:\test.ts

Thanks! I didn't know ffmpeg was installed with nextpvr. In the meantime, I used the program VideoRedo which I remembered had a tool for correcting streams. It took about 2 minutes and now the file shows the correct length 1:02 and skip works fine. I could set up a script to run once a week or do it manually since it's just once a week (assuming the problem continues). 

Thanks for quickly identifying the problem.
« 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
  New Installation on WIN11 Sleep Problem 12vibes 3 46 1 hour ago
Last Post: 12vibes
  Login problem Magda 1 51 2025-07-07, 12:40 PM
Last Post: mvallevand
  Issues watching one channel, new problem Ricknextpvr 21 411 2025-07-04, 02:32 AM
Last Post: mvallevand
  "Recording interrupted" problem started happening sharkbite 8 654 2025-06-02, 08:08 AM
Last Post: sharkbite
  Problem with encrypted channels achim_m 0 192 2025-05-03, 03:34 PM
Last Post: achim_m
  Unable to delete recording. File may be in use. seattlefog 24 1,271 2025-04-13, 01:08 AM
Last Post: sub
  Transcoding Problem Version: 7.0.1.241229 Metroid 1 364 2025-01-25, 12:44 AM
Last Post: mvallevand
  Strange blastcfg.exe & blast.exe repeated digits problem fla 4 409 2025-01-18, 08:02 PM
Last Post: fla
  Audio connection problem at TV jamesefrye 1 298 2025-01-18, 02:07 AM
Last Post: sub
  Recording Auto Transcode Problem and HDHR Viewing Problems in v7 Metroid 8 1,222 2024-12-06, 04:42 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode