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 … 136 137 138 139 140 … 433 Next »
Transcoding LiveTV

Transcoding LiveTV
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#21
2015-08-29, 10:27 PM
in the url you posted, you had two question marks, which is incorrect. The second on, at the end of the channel number is probably stuffing up the channel number parameter.

it should be
Code:
/transcode?channel=505&resolution=720x406&bitrate=900k

not
Code:
/transcode?channel=505?resolution=720x406&bitrate=900k
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#22
2015-08-29, 10:27 PM
Arrgh, fat-finger by me. Tried again (fix second ? to &). I do see traffic in the log now, but client doesn't seem happy with it (tried Chrome, WMP and VLC - all 3).

Thoughts? I could try a recording also ... do I just change channel=505 to (for example) recording=902 (one of my recordings)?

Thanks!
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#23
2015-08-29, 10:28 PM
Sorry, crossing posts. In your example above - is the space needed (e.g. 9 00k)?

Thanks!
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#24
2015-08-29, 10:30 PM
arrmo Wrote:Sorry, crossing posts. In your example above - is the space needed (e.g. 9 00k)?
No, that's just the forum formatting. I've fixed it above.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#25
2015-08-29, 10:31 PM
NP, and I did see the fat finger - sorry! Fixed it, but still no joy. I do see outgoing traffic noted in the log, but not being played by the clients. Hmmm ... not sure what I'm doing wrong. Will keep working at it!

Thanks!
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#26
2015-08-29, 10:31 PM
arrmo Wrote:Tried again (fix second ? to &). I do see traffic in the log now, but client doesn't seem happy with it (tried Chrome, WMP and VLC - all 3).
Yep, as mentioned early in this thread - this is problematic and not supported. In some scenarios it works great. Others no so great.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#27
2015-08-30, 12:42 AM
NP, completely understood. Let me dig a bit - could be the command line, or version of ffmpeg. Will let you know if I have any luck.

Very much appreciate the help, and quick response. And I like the donate button on the new version - will go in tonight and do so, hope others do also!

Thanks again.
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#28
2015-08-30, 04:29 AM
Hi,

If I'm reading the logs right (which I may not be!), ffmpeg is transcoding to a file, and then NextPVR is streaming that back to the client - is that correct? If it is, and this may be a dumb question but ... why not also have ffmpeg stream this directly back to the client (as this is an argument that can be used)? Is it possible to have this available (optional parameter in the URL?)? Asking as that may let me try to debug this a bit more (right now I can't really do much about the outgoing stream).

Or do I have this messed up?

Thanks!
arrmo
Offline

Member

Posts: 148
Threads: 25
Joined: Aug 2015
#29
2015-08-30, 04:48 AM
Hi,

BTW, if I move to a newer version of ffmpeg (that I built today), and use the command line / parameters above in this thread, streaming seems to happen, but then I get these errors,

2015-08-29 23:44:40.467 [ERROR][24] Unexpected error streaming channel: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at NShared.Streaming.StreamingHelper.StreamNative(Socket conn, Dictionary`2 parameters)

And a bit later,

2015-08-29 23:45:33.038 [DEBUG][21] native stream exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at NShared.Streaming.StreamingHelper.StreamNative(Socket conn, Dictionary`2 parameters)

Actually, going back to the original config.xml (and older ffmpeg) - after a recording service restart I'm able to generate a similar result (first error above, not the second).

Thanks!
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#30
2015-08-30, 06:02 AM
arrmo Wrote:Hi,

If I'm reading the logs right (which I may not be!), ffmpeg is transcoding to a file, and then NextPVR is streaming that back to the client - is that correct? If it is, and this may be a dumb question but ... why not also have ffmpeg stream this directly back to the client (as this is an argument that can be used)? Is it possible to have this available (optional parameter in the URL?)? Asking as that may let me try to debug this a bit more (right now I can't really do much about the outgoing stream).

Or do I have this messed up?

Thanks!
It can't send directly back to the client. The user requested the stream via an http request, and the way http works it requires you to respond to the request on that same socket (which is inside NRecord.exe). You can't pass that socket to another process (ffmpeg.exe).
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 2 3 4 5 … 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Black screen on LiveTV Lambrozo 10 2,972 2019-05-11, 06:48 PM
Last Post: Lambrozo
  Emby LiveTV NPVR Plugin Loading Issue rene.teniere 1 1,118 2019-01-26, 07:07 PM
Last Post: mvallevand
  Recording without transcoding javidial 9 2,428 2018-12-01, 12:59 AM
Last Post: javidial
  Recording Failure - HDHR Transcoding craigrs84 6 2,270 2018-10-15, 02:23 AM
Last Post: pkscout
  LiveTV playback all broken up after win 1803 update jordy1955 13 4,758 2018-05-15, 11:14 PM
Last Post: gEd
  blank screen on liveTv kevincz 14 3,926 2018-03-03, 01:43 AM
Last Post: sub
  NextPVR crashes after clicking on "liveTV kevincz 9 2,460 2018-02-16, 06:56 PM
Last Post: mvallevand
  HDHomerun Extend Transcoding Not Working satcoms 12 4,873 2017-12-09, 04:16 PM
Last Post: sub
  Questions about transcoding from IPTV sources JP23 32 10,824 2017-10-31, 09:33 AM
Last Post: pme
  4.04 crashes when starting to LiveTV on 11.1 eastavin 0 850 2017-07-24, 12:06 PM
Last Post: eastavin

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

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

Linear Mode
Threaded Mode