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 … 165 166 167 168 169 … 433 Next »
Comskip when Streaming?

Comskip when Streaming?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#11
2015-09-05, 04:40 PM
arrmo Wrote:Hi,

Just trying to understand - when streaming from NextPVR (using live?recording=, or transcode?recording= for example), does NextPVR use the Comskip info (in the stream)?

Thanks!
They're two separate things. NextPVR provides APIs for getting the comskip information, and API for streaming the file. It's up to the player to use that comskip information to do the skipping at the appropriate times. ie, if it queries the comskip info and knows it's supposed to skip at the 15 minute mark (to 19 minute mark), then starts streaming the recording, when it reaches the 15 minute mark, the player rerequests the recording stream starting at the 19 minute mark.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#12
2015-09-05, 04:56 PM
Hi,

Yep, random access does work - I admit, not quite sure why / how that happens, but it does ... Smile. That's partially why I thought comskip may work, as it seems to be on the server side.

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#13
2015-09-05, 05:02 PM
BrettB Wrote:Because skipping (i.e. reading and using the .edl file) is a function of the playback client not the streaming server. For skipping to work with a client, the client must first have a method to read the .edl file to get the list of skip points, and then it must be able to use those skip points to actually skip during the playback.

I'm not sure, but I don't believe that the method of streaming that you are trying to use (via HTTP) supports "random access" (i.e. skipping to a particular point in the file).

I made a change to to the Kodi source and edl support via http is very possible and worked well. As sub worte it is client based because with buffering you never no exactly where the client is actually playing and the server streamer is not going through demux to find the time points to skip.

Martin
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#14
2015-09-05, 05:37 PM
Gotcha, makes sense. Can you share those changes by any chance? Or if it's easier, just point to them?

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#15
2015-09-05, 07:08 PM
arrmo Wrote:Gotcha, makes sense. Can you share those changes by any chance? Or if it's easier, just point to them?

Thanks!

For Kodi, there was an if that didn't get actionned for edl when using http. I did it as POC since I would never use it, but it isn't too hard to find in the Kodi source stepping back from when the edl gets loaded.

Martin
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#16
2015-09-05, 08:36 PM
Will dig into it - thanks!
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#17
2015-09-13, 11:26 AM
Hi,

Continuing to dig, and I do see where some of this exists in the code, but I admit ... not sure I see the syntax of how to jump / step in terms of the stream (and unclear if it's using the http://server:port/live? interface, or the file directly). Any pointers you have would be greatly appreciated.

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,196
Threads: 958
Joined: May 2006
#18
2015-09-13, 01:59 PM
It was using http with the live?recording= call. I started making changes around here https://github.com/xbmc/xbmc/blob/f46266...l.cpp#L101 and worked around the fact they didn't like internet streams. Jumping itself is just basic http seeking and I didn't change that.

Martin
boringgit
Offline

Member

Posts: 104
Threads: 24
Joined: Jun 2013
#19
2015-09-18, 09:02 PM
Aah - so using kodi as a client won't use the comskip data?

That's a shame, but as I didnt set up comskip yet - it saves me the bother Smile
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,671
Threads: 170
Joined: Jun 2007
#20
2015-09-18, 09:14 PM
boringgit Wrote:Aah - so using kodi as a client won't use the comskip data?

If you use kodi with X-NEWA and SMB access to the .ts files, then it uses comskip data very nicely. I use it all the time!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip Playback Odd Behavior kirschey 3 1,807 2021-09-27, 06:16 PM
Last Post: sub
  Fast-forward and comskip issues manic_biker 11 4,050 2021-07-12, 02:17 AM
Last Post: Robazz
  Streaming Services with NPVR tesla1886 4 2,843 2021-01-04, 02:58 AM
Last Post: tesla1886
  Web streaming security bisonfan 13 4,502 2019-11-06, 01:58 PM
Last Post: mvallevand
  Comskip edl files ignored dbguru 3 2,329 2019-10-24, 06:11 PM
Last Post: mvallevand
  Web Cleint Streaming Failed (Transcoder Exited) SilverTiger 6 3,951 2019-08-14, 10:24 PM
Last Post: SilverTiger
  log files for streaming outside network MaxOne72 9 2,764 2019-07-26, 05:32 AM
Last Post: persim
  streaming outside network MaxOne72 3 1,535 2019-07-24, 12:54 AM
Last Post: mvallevand
  VideoReDo vs Comskip drmargarit 2 1,608 2019-02-07, 12:08 AM
Last Post: drmargarit
  HDHomeRun Premium Streaming channels ccihon 5 1,820 2018-11-21, 02:21 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode