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 … 5 6 7 8 9 … 433 Next »
Possible to record in different format than .ts files?

Possible to record in different format than .ts files?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,809
Threads: 954
Joined: May 2006
#21
2019-11-29, 12:49 PM
That only changes how NextPVR handles it for LiveTV. That is not the issue, it is your h/w player. I don't think you can get away without remuxing your files. Your file is marked 1080p which is unusual for broadcast but I do remember years ago we had problems with the BBC using a mix of interlaced and progressive video and indeed check with ffprobe this file is a mix. I wonder if this remux creates a playable file?

ffmpeg.exe -y -i filename.ts -vcodec h264 -profile:v high -acodec copy -vf yadif progressive.ts

If so transcoding is slow I'd think about a better player.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,809
Threads: 954
Joined: May 2006
#22
2019-11-29, 02:16 PM (This post was last modified: 2019-11-29, 02:48 PM by mvallevand.)
(2019-11-26, 09:17 PM)gadgetgaz Wrote: Thanks, check out this link for a 1m21s long .ts file https://drive.google.com/file/d/10tZyb6o...sp=sharing
The blackouts are these locations: 31s, 43s, 46s, 49s, 59s, 1m3s, 1m7s, 1m14s.

To follow up on the progressive/interlaced post here are the transitions between the two in your file which do match your blackouts

Code:
"pkt_pts_time": "61382.400789", 0.00
"pkt_pts_time": "61413.640789", 31.24
"pkt_pts_time": "61425.200789", 42.80
"pkt_pts_time": "61428.480789", 46.08
"pkt_pts_time": "61431.160789", 48.76
"pkt_pts_time": "61441.240789", 58.84
"pkt_pts_time": "61445.480789", 63.08
"pkt_pts_time": "61449.600789", 67.20
"pkt_pts_time": "61456.120789", 73.72

Clearly not a NextPVR issue. Maybe there is a way to tell your tv not to choose an auto frame rate?

Martin
gadgetgaz
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Nov 2019
#23
2019-11-29, 03:35 PM
Well that seems pretty conclusive Martin. So, the blackouts occur where the transmission changes between progressive and interlace?
I'm just running the remux now but, as you say, it is a slow process ~1.2 x realtime.

I presume there is no way to make NextPVR record in a single framerate?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,643
Threads: 767
Joined: Nov 2003
#24
2019-11-29, 03:54 PM
(2019-11-29, 03:35 PM)gadgetgaz Wrote: I presume there is no way to make NextPVR record in a single framerate?
NextPVR always just records an exact copy of whatever your broadcaster sent.
gadgetgaz
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Nov 2019
#25
2019-11-29, 05:36 PM
I looked through the ffprobe docs but couldn't find how to reproduce that output. Could you advise please?
gadgetgaz
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Nov 2019
#26
2019-11-29, 06:13 PM
(2019-11-29, 12:49 PM)mvallevand Wrote: That only changes how NextPVR handles it for LiveTV.  That is not the issue, it is your h/w player.  I don't think you can get away without remuxing your files.  Your file is marked  1080p which is unusual for broadcast but I do remember years ago we had problems with the BBC using a mix of interlaced and progressive video and indeed check with ffprobe this file is a mix.  I wonder if this remux creates a playable file?

ffmpeg.exe -y -i filename.ts -vcodec h264  -profile:v high -acodec copy -vf yadif  progressive.ts

If so transcoding is slow I'd think about a better player.
 
Martin
That remux works fine - no blackouts. Like you say though, really slow.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,643
Threads: 767
Joined: Nov 2003
#27
2019-11-29, 06:18 PM
(2019-11-29, 06:13 PM)gadgetgaz Wrote: That remux works fine - no blackouts. Like you say though, really slow.
Actually this was more than a remux. This was re-encoding the video (to make it the same format all the way through).

This action is particularly hard on CPUs, which is one of the reasons NextPVR records the native broadcast format, which it is much easier on the CPU.

The native format is usually absolutely fine, since ultimately that's what the broadcaster wanted your TV to display, but for whatever reason it sounds like the players you're using on your TVs don't like the stream your broadcaster is producing.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,809
Threads: 954
Joined: May 2006
#28
2019-11-29, 06:29 PM
(2019-11-29, 05:36 PM)gadgetgaz Wrote: I looked through the ffprobe docs but couldn't find how to reproduce that output. Could you advise please?
Some of it was manual searching and the math but this should get you started

ffprobe -v quiet -print_format json -show_entries "frame=pkt_pts_time,interlaced_frame" -i "TEST TS.ts"

Martin
gadgetgaz
Offline

Junior Member

Posts: 16
Threads: 1
Joined: Nov 2019
#29
2019-11-29, 06:57 PM
OK, right, no wonder I couldn't find it in the docs. Thanks again I really appreciate the help.
Ehrlichia
Offline

Junior Member

United States
Posts: 3
Threads: 0
Joined: Oct 2020
#30
2020-10-04, 03:05 PM
I know this is an old post, but I have been able to record in a different container other than .ts with ffmpeg and NextPVR v.4 on Win 10
with NextPVR client enabled I use ffmpeg -i  http://localhost:8866/live?channel=the channel you wish to record -c copy file.mp4 or file.mkv whatever you wish.
you can use all the filters or tweeks of ffmpeg to do whatever you wish. If the computer is powerfull enough you might be able to pipe the results to ffplay to see what is being recorded.
Personally, I mostly just use ffplay and this script to get a full screen in NextPVR and a second full screen to watch two games at once.
I hope this could help
E.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,034 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 1,996 2021-01-07, 08:47 AM
Last Post: sub
  Recordings Date Format NumberFive 3 1,986 2020-05-14, 11:08 PM
Last Post: NumberFive
  Can't record repeating programs dave22 2 1,767 2020-04-20, 04:27 PM
Last Post: sub
  Log files Brucek2839 1 1,180 2020-03-23, 02:37 AM
Last Post: mvallevand
  Windows 10 Record Issues Captain Jack 11 5,281 2020-02-02, 09:11 PM
Last Post: Captain Jack
  Generate missing thumbnails for video files imported into NextPVR Jimixter 7 3,101 2019-12-17, 01:32 PM
Last Post: mvallevand
  Record direct from live tv? rv0987 3 1,914 2019-11-01, 12:29 PM
Last Post: rv0987
  Comskip edl files ignored dbguru 3 2,163 2019-10-24, 06:11 PM
Last Post: mvallevand
  Won't Record with Windows 10 v. 1903 GWCowling323 5 3,407 2019-10-15, 03:51 PM
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