NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 5 6 7 8 9 … 93 Next »
Time to make Touch web Service less experimental

 
  • 0 Vote(s) - 0 Average
Time to make Touch web Service less experimental
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#41
2013-09-16, 11:59 PM
nah nothing you can really test without a sample app, but once you have that every way I tried to stream the file (IIS, apache, nextpvr) resulted in same seek problems.

I wont actually have a timing.info for the samples I have, however I do occasionally get similar seeking problems for my own recordings on SD channels, so given time (usually about 1 or 2 a week) I could test on my recordings.

Don't need anything fancy really, could just be a webserver type app on a port that you specify a file at the command line to server. e.g.

sampleserver.exe 8855 "D:\videos\recordings\somerecording.ts"

then access it on the player using a url like

http://[theserver]:8855/

I won't try to integrate it or anything, but can test if it helps fix the problem.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#42
2013-09-17, 12:39 AM (This post was last modified: 2013-09-17, 01:45 PM by fred250.)
reven Wrote:nah nothing you can really test without a sample app, but once you have that every way I tried to stream the file (IIS, apache, nextpvr) resulted in same seek problems.

I wont actually have a timing.info for the samples I have, however I do occasionally get similar seeking problems for my own recordings on SD channels, so given time (usually about 1 or 2 a week) I could test on my recordings.

Don't need anything fancy really, could just be a webserver type app on a port that you specify a file at the command line to server. e.g.

sampleserver.exe 8855 "D:\videos\recordings\somerecording.ts"

then access it on the player using a url like

http://[theserver]:8855/

I won't try to integrate it or anything, but can test if it helps fix the problem.

You may very well have timinginfo if the files were recorded using NPVR. http://forums.nextpvr.com/showthread.php...iming.info

Your client must also be able to make an extra http call for every seek, such as server/playerposition/30000 where 30000 is the same value (milliseconds) as what you are telling the player to seek to.

But again, the server is not portable at all at this moment. The new stuff was hardcoded into the source code and it won't work with your files unless code is modified to suit your files and program recompiled.

I'll get back to you when there is something you can use for test.

/Fred
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,783
Threads: 954
Joined: May 2006
#43
2013-09-17, 12:21 PM
I also posted my utility writeTime on the forum which creates a Timing.Info file from a .ts file if one is missing.

Martin
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#44
2013-09-17, 05:51 PM
I don't really know how the innards of these things work, but working on the assumptions that the timing info in a received broadcast stream leaves a lot to be desired and that with sub creating timing data either as either a file or ADS that makes NPVR skip more accurately - is it possible to postprocess the TS file and replace it's internal timing info with the sub-created data?

(now holding off my smart tv purchase until existing TV dies)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#45
2013-09-17, 06:22 PM
Quote: is it possible to postprocess the TS file and replace it's internal timing info with the sub-created data?
You can use various utilities to remux the recording in PostProcessing.bat. It doesn't need the timing.info. These will reconstruct the timing, and fix most of problems with the broadcasters timelines.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,783
Threads: 954
Joined: May 2006
#46
2013-09-17, 07:42 PM
TSMuxeR is great at fixing bad ts header timing which is the most common problem. Damaged OTA and DVB ts broadcasts are a challenge in all free ware and for all players.

Martin
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#47
2013-09-18, 07:44 AM (This post was last modified: 2013-09-18, 08:17 AM by fred250.)
@reven
I thought I’d keep you updated on how things are progressing with the timing.info aware streaming server that you’d like to test with the Samsung TV.

Current state is:
- Streamer now reads the timing.info from ADS in the requested .ts-file which means it now handles all files with an imbedded timing.info. Timing.info in separate file is not yet supported.

- The streamer is currently part of a server backend project I was working on and I’d like it to be lifted out for easier installation before I hand it over for you to test.

A question and also pre-request.
When playing a file in your Samsung App are you in code having full control over the playback or are you just using a native player interface.
In detail, if you press a seek button on the remote is it your program or the native player that handles the keypress and triggers the player to seek to a position in time.
In order to be able to benefit from my streamer you need to send the same seek request to the streamer just before asking the player to seek.

Hopefully I can get the streamer ready for you to test by the end of this week.

/Fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#48
2013-09-18, 10:49 AM
Its a native player html element, however I do call player.JumpForward(seconds) so I can make a request to a server before calling this.

thanks for the update, very interested to try this.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#49
2013-09-18, 11:37 AM
reven Wrote:Its a native player html element, however I do call player.JumpForward(seconds) so I can make a request to a server before calling this.

thanks for the update, very interested to try this.

Will player.JumpForward(seconds) be relative to current play position or relative to the beginning of the file (exact position).
The streamer can only deal with exact positions. If your player only skips relative to current position you may be able to calculate an exact position to feed the streamer, as long as the player can provide you with the current play position.

/Fred
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#50
2013-09-18, 11:54 AM
Relative. However I do know current position.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (11): « Previous 1 … 3 4 5 6 7 … 11 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 6,794 2022-04-11, 04:30 PM
Last Post: mandai
  Extending end time. mvallevand 5 4,049 2018-10-17, 01:21 PM
Last Post: jcole998
  NextPVR "Service" Backend? jcole998 5 4,731 2018-05-24, 01:17 PM
Last Post: jcole998
  Transcoding service mvallevand 27 12,288 2016-08-26, 07:43 PM
Last Post: sub
  Extending recording time mvallevand 2 2,441 2014-09-14, 01:04 AM
Last Post: sub
  Touch and http audio url's mvallevand 0 1,392 2013-11-03, 07:05 PM
Last Post: mvallevand
  <StartTime> and <EndTime> time formats? spinnaker 3 2,455 2013-10-25, 01:48 AM
Last Post: spinnaker
  New web service clarification needed bgowland 6 3,186 2013-10-19, 02:36 AM
Last Post: bgowland
  [REQ] Additional web service API calls reven 26 8,102 2013-08-31, 10:08 PM
Last Post: mvallevand
  getting recurring recordings from service?method API? reven 2 1,920 2013-08-03, 10:50 PM
Last Post: reven

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

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

Linear Mode
Threaded Mode