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
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#81
2016-04-04, 09:07 PM
uspino Wrote:Here they are, including the two ffmpeg logs created (with "-report") by the two instances of ffmpeg that NextPVR triggers on any streaming attempt.
FYI, if you get two instances of ffmpeg, it's because the client you're using has called the url twice.
uspino
Offline

Junior Member

Posts: 25
Threads: 6
Joined: Jan 2014
#82
2016-04-05, 11:36 PM
After many attempts (with the "&client=1" argument), it looks like clients are able to send the right url call UNLESS it is inside an m3u playlist. It's a very weird thing: it works fine on direct url steaming from, say, VLC player, but if the client uses an m3u playlist the live stream gets called twice. The first call creates a 6-second transcode instance that never gets to the client, the second call -6 seconds later- delivers the stream. Tried in iPlayTV, IPTV and MrMC in Apple TV 4. The playlist is in the standard form:
Quote:#EXTM3U tvg-shift=1

#EXTINF:-1 tvg-id=“NBC”,NBC
http://IPADDRESS:PORT/transcode?channel=...k&client=1

I guess it's -as you said- a client bug, not a NextPVR bug, but it's surprising that it's spread to different apps. (When calling for a live, non-transcoded stream from those same clients, even inside a m3u playlist, the stream shows up almost instantly, with no double calls). Any advice would be appreciated.
fred250
Offline

Senior Member

Posts: 457
Threads: 10
Joined: Jul 2006
#83
2016-04-06, 12:17 PM
mvallevand Wrote:In any case NextPVR web server is expecting only one http call to start streaming your client is making multiple probes to identify the stream characteristics.
Martin

I’d say Martin is on to something here.

I know from my client development that players often probe the stream before it starts playing.
In some cases such as with the LG TVS it’s possible to do a “single-shot-request” from code but I guess that’s nothing you can rule over in your clients.

Using a file extension of some “live format container” such as “.ts” at the end of the URL or having the streaming server returning a Mime type indicating a live stream may prevent this from happening.

http://IPADDRESS:PORT/transcode?chan...2...e=file.ts

/Fred
uspino
Offline

Junior Member

Posts: 25
Threads: 6
Joined: Jan 2014
#84
2016-04-07, 11:35 AM
fred250 Wrote:I’d say Martin is on to something here.

I know from my client development that players often probe the stream before it starts playing.
In some cases such as with the LG TVS it’s possible to do a “single-shot-request” from code but I guess that’s nothing you can rule over in your clients.

Using a file extension of some “live format container” such as “.ts” at the end of the URL or having the streaming server returning a Mime type indicating a live stream may prevent this from happening.

http://IPADDRESS:PORT/transcode?chan...2...e=file.ts

/Fred

I think you are absolutely right. It might have something to do with the m3u playlist format. I tried the &fake argument with no success. Calling the url from an m3u generates a double ffmpeg call, the first one always lasting 6-7 seconds (which looks like too much for a simple identifying task anyway). I've tried changing the #EXTINF:-1 (-1 is the live stream identifier) for a #EXTINF:123 (123 minutes), but the behavior is the same. Maybe there's some m3u expert out there who can share some knowledge.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9
Jump to page 


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