NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
1 2 3 4 5 … 111 Next »
COMSKIP media player?

 
  • 0 Vote(s) - 0 Average
COMSKIP media player?
jrockow
Offline

Senior Member

Posts: 746
Threads: 118
Joined: Nov 2005
#1
2026-03-20, 09:56 AM
This may not be the correct forum to ask for help with COMSKIP, but I have tried several others and am getting nowhere.

I use NPVR exclusively as my backend recording service, but have developed a custom UI for managing and viewing my recordings. This was done primarily to accommodate my 83 year-old wife.

My problem is I can't take advantage of using COMSKIP.

My UI uses VLC as the media player, and I don't think it supports the COMSKIP EDL file. I have since discovered that MPV doesn't support it either. MPLAYER looks like it would work, except it doesn't play well with TS files; the timeline is screwed up from the start. I looked at ZOOMPLAYER but didn't get anywhere. If there were a way to just use the NPVR player that would be the solution, but I doubt that's possible either.

Bottom line, is anyone aware of an external Windows media player that supports the COMSKIP EDL?
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,636
Threads: 393
Joined: Dec 2004
#2
2026-03-20, 02:00 PM
(2026-03-20, 09:56 AM)jrockow Wrote: MPLAYER looks like it would work, except it doesn't play well with TS files; the timeline is screwed up from the start.
Based on that, my approach would be to transcode / remux to a format which MPLAYER is okay with and then take things from there.

Cheers,
Brian
Don't wanna, not gunna, can't make me...I'm retired.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,745
Threads: 173
Joined: Jun 2007
#3
2026-03-20, 02:18 PM (This post was last modified: 2026-03-20, 02:19 PM by BrettB.)
(2026-03-20, 02:00 PM)bgowland Wrote:
(2026-03-20, 09:56 AM)jrockow Wrote: MPLAYER looks like it would work, except it doesn't play well with TS files; the timeline is screwed up from the start.
Based on that, my approach would be to transcode / remux to a format which MPLAYER is okay with and then take things from there.
Yeah, that was my thought, too. If the only problem is timeline, then a remux might work well and be pretty light weight to run on the server right after the recording was completed.

I used MPlayer a long time ago to play files (using the .edl skip points) which I downloaded offline to my laptop to watch on planes. I'm pretty sure that I was just taking the raw/original .ts file. But, the contents of .ts files can vary so I wouldn't be surprised if some worked (better than others) and some didn't...
jrockow
Offline

Senior Member

Posts: 746
Threads: 118
Joined: Nov 2005
#4
2026-03-20, 03:59 PM
Thanx guys for your quick response!
I was afraid the transcode/remux was going to be the solution.
I'm running a mini-PC as my server/client and just hope it will keep up.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,745
Threads: 173
Joined: Jun 2007
#5
2026-03-20, 04:18 PM
(2026-03-20, 03:59 PM)jrockow Wrote: Thanx guys for your quick response!
I was afraid the transcode/remux was going to be the solution.
I'm running a mini-PC as my server/client and just hope it will keep up.
As long as a remux (where the video and audio streams are simply copied and NOT decoded/re-encoded) is used, it should not tax the server very much. For what it's worth, here's the section of my postprocessing.bat file where I used to generate remuxed .mp4 files for the Roku client:
Code:
REM "C:\Program Files\NextPVR\Other\ffmpeg.exe" -hide_banner -loglevel error -nostats -i %1 -vcodec copy -acodec aac -ac 2 -c:s copy -f matroska -| "C:\Program Files\NextPVR\Other\ffmpeg.exe" -hide_banner -loglevel error -nostats -i pipe: -codec copy -movflags faststart -y "%~dpn1.mp4"
You might use it as a starting point to test out the server load and MPlayer compatiblity with remuxing.

I also recall having a utility (called Retime?) that could just regenerate the timing for a .ts file which might work for you. But, since you are wanting to always play the files with a 3rd party player via a command line, I'm thinking the remux would probably be your best bet.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,636
Threads: 393
Joined: Dec 2004
#6
2026-03-20, 06:08 PM
(2026-03-20, 03:59 PM)jrockow Wrote: Thanx guys for your quick response!
I was afraid the transcode/remux was going to be the solution.
I'm running a mini-PC as my server/client and just hope it will keep up.
A transport stream is basically a wrapper for any number of AV streams and the ,ts files created by nextpvr should only contain the AV for the show you recorded but with the extra TS baggage which upsets some players.

As BrettB points out a remux (rather than transcode) is pretty much just a copy operation. I definitely think it's worth a try - remux then run comskip and see what MPLAYER can do.

Cheers,
Brian
Don't wanna, not gunna, can't make me...I'm retired.
jrockow
Offline

Senior Member

Posts: 746
Threads: 118
Joined: Nov 2005
#7
2026-03-22, 10:54 AM (This post was last modified: 2026-03-22, 10:55 AM by jrockow.)
(2026-03-20, 04:18 PM)BrettB Wrote:
(2026-03-20, 03:59 PM)jrockow Wrote: Thanx guys for your quick response!
I was afraid the transcode/remux was going to be the solution.
I'm running a mini-PC as my server/client and just hope it will keep up.
As long as a remux (where the video and audio streams are simply copied and NOT decoded/re-encoded) is used, it should not tax the server very much. For what it's worth, here's the section of my postprocessing.bat file where I used to generate remuxed .mp4 files for the Roku client:
Code:
REM "C:\Program Files\NextPVR\Other\ffmpeg.exe" -hide_banner -loglevel error -nostats -i %1 -vcodec copy -acodec aac -ac 2 -c:s copy -f matroska -| "C:\Program Files\NextPVR\Other\ffmpeg.exe" -hide_banner -loglevel error -nostats -i pipe: -codec copy -movflags faststart -y "%~dpn1.mp4"
You might use it as a starting point to test out the server load and MPlayer compatiblity with remuxing.

I also recall having a utility (called Retime?) that could just regenerate the timing for a .ts file which might work for you. But, since you are wanting to always play the files with a 3rd party player via a command line, I'm thinking the remux would probably be your best bet.

BrettB

Thanx for your sample code. Unless I'm missing something (wouldn't surprise me) couldn't I simply use the following to convert TS to MP4?
"ffmpeg -i input.ts -c copy output.mp4"

Something else I hadn't considered was the fact the file would still be in the DB with a TS extension.
Not sure how I'll need to handle that?
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,745
Threads: 173
Joined: Jun 2007
#8
2026-03-22, 12:57 PM
(2026-03-22, 10:54 AM)jrockow Wrote: Thanx for your sample code. Unless I'm missing something (wouldn't surprise me) couldn't I simply use the following to convert TS to MP4?
"ffmpeg -i input.ts -c copy output.mp4"

Something else I hadn't considered was the fact the file would still be in the DB with a TS extension.
Not sure how I'll need to handle that?
I'm not an expert on ffmpeg. And I think that the options there came from a few different posts, etc.

If I recall correctly, the "-hide_banner -loglevel error -nostats" part is important to keep it from spamming the nrecord.log file.

And the "-cConfused copy" part is to copy the subtitles. I'm not sure if they would be copied automatically with your "-c copy" parameters.

If you keep both the .ts and .mp4 files, then you are probably correct that there would be an issue. I think that Martin had specifically set the Roku client to try to use a .mp4 extension file even if the database listed the .ts one. By default, I think that NextPVR will always try a .mp4 file extension if the listed .ts file is not found. So, simply deleting (or renaming) the original .ts file would probably work. Or you could use nscripthelper to in your postprocessing.bat file to point the database to the converted file.
sharkbite
Offline

Junior Member

Australia
Posts: 16
Threads: 4
Joined: Nov 2024
#9
2026-03-23, 02:37 AM
(2026-03-20, 09:56 AM)jrockow Wrote: This may not be the correct forum to ask for help with COMSKIP, but I have tried several others and am getting nowhere.

I use NPVR exclusively as my backend recording service, but have developed a custom UI for managing and viewing my recordings. This was done primarily to accommodate my 83 year-old wife.

My problem is I can't take advantage of using COMSKIP.

My UI uses VLC as the media player, and I don't think it supports the COMSKIP EDL file. I have since discovered that MPV doesn't support it either. MPLAYER looks like it would work, except it doesn't play well with TS files; the timeline is screwed up from the start. I looked at ZOOMPLAYER but didn't get anywhere. If there were a way to just use the NPVR player that would be the solution, but I doubt that's possible either.

Bottom line, is anyone aware of an external Windows media player that supports the COMSKIP EDL?

Have you considered something like "lossless cut" to permanently remove commercials based on the EDL file?
its a bit tedious, but is pretty quick.....and while you are demuxing you might as well....
jrockow
Offline

Senior Member

Posts: 746
Threads: 118
Joined: Nov 2005
#10
2026-03-23, 02:59 PM (This post was last modified: 2026-03-23, 06:31 PM by jrockow.)
(2022-02-23, 07:24 AM)Jean0987654321 Wrote: Hello there guys. 

Just came in drop by my own version of Comchap but it's for windows. It's called comchapter and comcutter. They are easy batch scripts that ultizes the ffmeta and ffsplit files that comskip outputs and you can use it to add chapters (ffmeta) or to cut out commercials completely (ffsplit). 

I'll leave them here
My githubs
https://github.com/Yankees4life/comcutter
https://github.com/Yankees4life/comchapter

The setup is easy. Just clone the repo or download the zip and extract it somewhere and just call it up like normal (whether for ParallelProcessing or Postprocessing)

For example
Code:
cd c:/comcutter
comcutter.bat %1

Thanx to all that replied to my post.
I came across this post in my search and it seems to give me exactly what I wanted.
All I needed to do was change one line of code to remux to TS instead of MP4.
A big thank-you to "Jean0987654321" for his post.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip on Synology jrockow 3 253 2026-04-17, 02:36 PM
Last Post: jrockow
  Comskip on programs already recorded without it? FrogFan 4 416 2026-03-16, 01:48 AM
Last Post: artmetz
  Errors setting up Comskip MPG 2 1,146 2024-03-17, 05:13 PM
Last Post: MPG
  How to make comskip work in WIndows nikkilocke 10 4,425 2024-03-01, 08:04 AM
Last Post: Jakesty
  No subtitles web player a1blues 51 17,433 2023-10-23, 05:44 PM
Last Post: sub
  Comskip dont1982 11 2,476 2023-03-14, 08:56 PM
Last Post: dont1982
  Media Folders jrockow 5 1,546 2023-02-14, 01:48 AM
Last Post: sub
  Lose audio on playback after comskip skips a block of commercials rakircher 2 1,591 2022-10-03, 04:19 AM
Last Post: rakircher
  comskip MaxOne72 8 5,638 2022-07-02, 08:22 AM
Last Post: Jean0987654321
  Schedule a copy to run when comskip completes? itm2 1 1,186 2022-02-16, 02:57 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