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 … 284 285 286 287 288 … 433 Next »
MKV & MP4 via NPVR & NMT

MKV & MP4 via NPVR & NMT
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#1
2012-10-31, 02:53 AM
For the mkv and mp4 format files does NPVR need to pass control to the NMT or can they be played natively via NPVR and streamed to the NMT?
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2012-10-31, 03:21 AM
AFAIK, only MPEG-TS will play natively because of NPVRTSReader. With the Youtube plugin, I use ffmpeg to remux MP4 into MPEG-TS (H264/AAC). It's almost instant since there is no transcoding. Depending on the streams in the MKV file, you might be able to do the same.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#3
2012-10-31, 03:22 AM
They are passed to the NMT player. I could in theory control mp4 in mpvmcx2 since it uses the same logic, but it isn't something sub supports directly either.

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2012-10-31, 04:12 AM
Thanks....just asking....there was another thread over in the Community Forum for the NextPVREncoder ....discussion went to Comskip and the impact to transcoding over to another format such as mkv or mp4. My thought was (and still is) that with the transcoding you lose the ability to use Comskip within the NPVR interface for those recordings unless you also use Comcut to actually remove the identified areas from the recording.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#5
2012-10-31, 04:19 AM
If you are simply transcoding to h264 to save space and not play on a smaller device, whurlston used a pretty good ffmpeg command line in the YouTube plugin to remux them to an NextPVR/NMT compatible ts container.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2012-10-31, 04:33 AM
Note that (unless sub has updated ffmpeg in the last couple of releases) the one included with NextPVR does not handle AAC properly.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#7
2012-11-01, 11:34 PM
mvallevand Wrote:If you are simply transcoding to h264 to save space and not play on a smaller device, whurlston used a pretty good ffmpeg command line in the YouTube plugin to remux them to an NextPVR/NMT compatible ts container.

Martin

whurlston Wrote:Note that (unless sub has updated ffmpeg in the last couple of releases) the one included with NextPVR does not handle AAC properly.

Never thought of that....but it works nicely and only adds a few seconds on to the conversion process......now I just need to see how I can work it into the NextPVREncoder routine.....
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#8
2012-11-03, 04:56 AM
I did work up a script to do the transcoding to h264 then remux over to .ts using ffmpeg......works well.....except that the timeline in NPVR does not seem to align correctly to the actual timeline and skipping is sporadic.....but space reduction is averaging about 60% less than the native ts.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,952
Threads: 956
Joined: May 2006
#9
2012-11-03, 05:05 AM
UncleJohnsBand Wrote:I did work up a script to do the transcoding to h264 then remux over to .ts using ffmpeg......works well.....except that the timeline in NPVR does not seem to align correctly to the actual timeline and skipping is sporadic.....but space reduction is averaging about 60% less than the native ts.

ffmpeg doesn't write a ts timeline to spec. Perhaps try my writeTime utility to create a Timing.Info file which will help NextPVR create a timeline an help mvpmcx2 with skipping.

martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#10
2012-11-03, 06:40 AM
UncleJohnsBand Wrote:Never thought of that....but it works nicely and only adds a few seconds on to the conversion process......now I just need to see how I can work it into the NextPVREncoder routine.....
Here is the ffmpeg class I created for YouTube. It redirects a WebRequest.GetResponse() to ffmpeg's console input so you would have to modify it for your needs. If you do, make sure you change the Notify() messages too. It also does a pseudo progress by checking output filesize.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  npvr is not responding johndutcher 3 1,496 2022-05-05, 07:57 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 3,870 2022-04-14, 04:33 AM
Last Post: Antmannz
  nPVR Continually Wakes PC bfos 23 11,181 2022-02-17, 03:48 PM
Last Post: sub
  Can't find tuner filter in NPVR 4.05 on old XP machine (eee 701) with RTL2832U iamanotheruser 3 1,693 2022-01-03, 04:45 AM
Last Post: mvallevand
  Streaming Services with NPVR tesla1886 4 2,690 2021-01-04, 02:58 AM
Last Post: tesla1886
  NPVR choosing incorrect xml guide display-name after reboot drlava 7 3,062 2020-12-27, 02:27 AM
Last Post: sub
  Can NPVR offset only 3 channel listings in EPG? acemib 20 7,010 2020-04-27, 01:28 PM
Last Post: mvallevand
  Import recorded tv shows to NPVR mattman1968 9 5,975 2020-03-03, 12:57 PM
Last Post: Jimixter
  Easiest way to migrate NPVR to a new machine JP23 1 1,959 2020-02-24, 04:55 PM
Last Post: sub
  NPVR Hangs when Changing Channels BorchertD 2 1,678 2020-01-11, 11:37 PM
Last Post: BorchertD

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

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

Linear Mode
Threaded Mode