NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 17 18 19 20 21 … 93 Next »
NPVR HTTP streaming bug?

 
  • 0 Vote(s) - 0 Average
NPVR HTTP streaming bug?
tmrt
Offline

Member

Posts: 188
Threads: 25
Joined: May 2007
#1
2010-12-28, 02:55 PM
I am developing a linux npvr client. For playback I use mplayer using streaming from http://server:8866/stream?f=... , but I have problem with seeking the media. The source of the problem seems to be that the server does not report Accept-Ranges: bytes unless a range is specified in the http request. As a result mplayer does not recognize the stream as seekable.

For example:

wget -S .... would give you:

HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: N-PVR
Connection: Close
Content-Length: 1410023424
Content-Type: application/octet-stream

while wget -c -S .... on a partially downloaded file would give you.

HTTP/1.1 206 Partial Content
Server: N-PVR
Accept-Ranges: bytes
Content-Range: bytes 14557832-1410023424/1410023424
Content-Length: 1395465593
Content-Type: application/octet-stream
Connection: close

I do not know whether this is the proper behavior and mplayer is buggy or there is a bug in the NPVR server?

At the moment I solved the issue by hacking mplayer, but this does not seem a viable solution if the bug is indeed in the NPVR server.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#2
2010-12-28, 11:40 PM
You're quite possibly right. I only really implemented the minimum I needed for the NMT support. I'm happy to correct it though.

What exactly are you trying to stream? Is this existing recordings, or live tv?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#3
2010-12-28, 11:43 PM
Any chance you could run "NRecord.exe RUN" from the command line, reproduce the problem, capture the console output of NRecord, and post it?
tmrt
Offline

Member

Posts: 188
Threads: 25
Joined: May 2007
#4
2010-12-28, 11:48 PM
sub Wrote:You're quite possibly right. I only really implemented the minimum I needed for the NMT support. I'm happy to correct it though.

What exactly are you trying to stream? Is this existing recordings, or live tv?

Both, but priority is on existing recordings. Eventually I wish it to be a NMT like client running on a linux machine.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,780 2021-10-22, 06:58 PM
Last Post: sub
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,345 2021-03-11, 03:59 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 68,191 2020-11-26, 10:02 PM
Last Post: mandai
  Test/Development environment for npvr.db3 scJohn 10 4,243 2020-09-04, 09:14 PM
Last Post: scJohn
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,397 2018-10-23, 07:24 AM
Last Post: almightyj
  ios app to control npvr ui idea jnbooker15 4 3,568 2015-09-21, 10:19 PM
Last Post: sub
  ios app to control npvr ui idea jnbooker15 0 2,450 2015-09-21, 06:39 PM
Last Post: jnbooker15
  Couple of questions about hacking npvr.db3 drmargarit 6 4,227 2014-09-08, 02:22 AM
Last Post: sub
  Touch and http audio url's mvallevand 0 1,401 2013-11-03, 07:05 PM
Last Post: mvallevand
  Advice on which streaming method to use fred250 17 6,177 2013-09-14, 11:14 AM
Last Post: fred250

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

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

Linear Mode
Threaded Mode