NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 38 39 40 41 42 43 Next »
IPTV Question/Request

 
  • 0 Vote(s) - 0 Average
IPTV Question/Request
Legend
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2020
#1
2020-01-01, 05:38 PM
Loving the work on v5. I've run into a small issue.
I'm using v5 on Linux, but I do not think this is a Linux issue.




The following playlist (one channel) works on VLC:



Code:
#EXTM3U

#EXTINF:-1 tvg-id="600" tvg-logo="" group-title="Entertainment",AMC
#EXTVLCOPT:http-referrer=http://123tvnow.com
http://docs-3.gogleusercontent.host/live/amc/playlist.m3u8





When used in NextPVR, the transcoder / ffmpeg fails with this in the logs:




Quote:ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright © 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec    57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter    6.107.100 /  6.107.100
  libavresample  3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample  2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
http://127.0.0.1:8866/live?channeloid=78...efe56dad6a: Invalid data found when processing input



I suspect that this is happening because the HTTP header isn't being sent (http-referrer). I was going to attempt to confirm this by injecting the headers into the ffmpeg command, however it looks like its being handled this way:




Quote:ffmpeg -y -i http://127.0.0.1:8866/live?channeloid=78...efe56dad6a -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0 -map 0:a:0 -map -0Confused -vcodec copy -acodec copy -hls_time 3 -start_number 0 -hls_list_size 1203 -y /var/opt/nextpvr/web/temp/AMC-d6a10e573f3d4aa8a1b7bc82803ae652.m3u8



which appears to me like NextPVR pulls the data and acts as a proxy for the stream to ffmpeg. So any injection i do into the command wouldn't make a difference.











Is there a way to make this channel list work with NextPVR? If not, is this something that could be implemented?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2020-01-01, 06:02 PM
I've not come across a IPTV provider that uses these #EXTVLCOPT lines in their m3u file. The usual way HTTP headers are set is with the "|" character on the url:

Code:
#EXTM3U
#EXTINF:-1 tvg-id="600" tvg-logo="" group-title="Entertainment",AMC
http://docs-3.gogleusercontent.host/live/amc/playlist.m3u8|Referrer=http://123tvnow.com
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#3
2020-01-01, 06:37 PM
I've added support for #EXTVLCOPT headers in the next release.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2020-01-01, 06:52 PM
Great I was looking for that too for a nimble server I'd like to use. Do you keep the referer on subsequent call too? The one I want returns a second m3u8 file a token and then calling it return the ts files. All of those calls need the referer.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2020-01-01, 06:56 PM
All calls to that host will have those headers set.
Legend
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2020
#6
2020-01-02, 03:45 AM
(2020-01-01, 06:37 PM)sub Wrote: I've added support for #EXTVLCOPT headers in the next release.

Wow, absolutely amazing response time. Thank you very much for your work.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How do you filter large IPTV Devices? ModdingFriendly 7 542 2025-03-15, 09:22 PM
Last Post: sub
  Is it possible to rename IPTV tuners? brcarls 1 259 2025-02-27, 07:58 PM
Last Post: sub
  Channel Editor -- Feature Request? BigKahuna 1 252 2025-02-19, 06:50 PM
Last Post: sub
  IPTVAU Question Bogey 1 209 2025-02-04, 04:52 PM
Last Post: sub
  Swapped Channels Question SilverTiger 4 422 2024-11-19, 03:44 PM
Last Post: SilverTiger
  IPTV - Change source IP address, without needing to reimport channel. Paul92 1 346 2024-11-09, 03:23 AM
Last Post: mvallevand
  Dumb simple Question peterthegreat 14 1,500 2024-07-08, 10:34 PM
Last Post: sub
  IPTV Radio Type topcat 10 1,536 2024-06-27, 06:08 PM
Last Post: sub
  IPTV provider snagglewest 2 1,189 2024-02-16, 03:07 PM
Last Post: snagglewest
  IPTV Recordings not finishing - Too many retries...giving up Ade_AV 3 833 2023-12-05, 07:08 AM
Last Post: Ade_AV

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

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

Linear Mode
Threaded Mode