NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 7 8 9 10 11 … 101 Next »
Channel 10 AU IPTV Fails

 
  • 0 Vote(s) - 0 Average
Channel 10 AU IPTV Fails
TheFonz
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Feb 2014
#1
2024-11-04, 11:50 PM
I am trying to get Channel 10 AU via IPTV (mjh) working, but is failing at the transcoding section

Running Windows 10, with v 7.0.0.241105

From VLC if I stream: https://i.mjh.nz/.r/10-nsw.m3u8
with the Options: http-user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.81 Safari/537.36'
It works fine

Within NextPVR using the following:

Code:
#EXTINF:-1 channel-id="mjh-10-nsw" tvg-id="mjh-10-nsw" tvg-logo="https://i.mjh.nz/.images/10-nsw.png" tvg-chno="10" group-title="Sydney" , 10
https://i.mjh.nz/.r/10-nsw.m3u8|user-agent=Mozilla/5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit/537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome/98.0.4758.102%20Safari/537.36&seekable=0&referer=%20
Fails, however the same or similar code for other channels works fine.

Wondering if the user-agent is malformed?

From the logs:
Code:
2024-11-05 10:44:22.870    [DEBUG][118]    Executing: C:\Program Files\NextPVR\Other\ffmpeg.exe -y -user_agent "VLC/2.2.6 LibVLC/2.2.6"   -headers "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36" -headers "seekable: 0" -headers "referer:  " -i https://i.mjh.nz/.r/10-nsw.m3u8 -vcodec copy -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -f mpegts  -
2024-11-05 10:44:22.871    [DEBUG][118]    https://i.mjh.nz/.../537.36&seekable=0&referer=%20?....  [mKnJgLFtfif8V4uQs73v6eExADNYLkStcZeItaTlSuvrqHOF/crNWqNxJUQhSxXJ5F3mVn/5i9QfaApV0h/9wuw9FZr9fvkCXFOMd/ltp/+pDu6IsWKcUcK9UN2rk18n5rryO/4fy+0AX3b4hAe5dOfOa5EhHxVPGnyTHwcHu11gY3ibZfz/i+tnJcgGJlMV5GnnpErV6D6EknrPAVTGW4Xya6YdU/hALIVsZrKyq3HzhAIw/QGDyUAWMuU71x1jafKHaS89VfIgMm0Jy1EqwvMCwxwqSQkHW0JmAXLH0vSXSwm4qntQTQpLUMfR+aal+1G7Y1zzj0RIFqEDvio6I4ayxnWxfIUimpbbfWHwGcqMpd9b7oatEHz25XZlY7I9vAOPrW3LuU2AwTktpzgBkYdqwW+mn3J95ks6dtVSAe576VTY8lSKS3R1ZJqSMT8xXb35HG8Aj4PbVxUd+vz28k8UdIvXQ/k+VpBiUdY91PIsG4g4XH43VMNAEs5mt81pkljTFQiU7cyH/hiys8B9pT+ELps1xwvN45g/f4PWod5I3oxN1X4BfElMAY9D0oqXfxOuNctqU4x2R6CSho6FyCyoIr3OgkhrfR9LMo4012WaKuqkdL1xfh/3cIeSWF8ZKjSDDZPSA1ahoahFet5Vng==]
2024-11-05 10:44:22.876    [DEBUG][118]    IPTV StartStream@6
2024-11-05 10:44:22.877    [DEBUG][118]    IPTV StartStream@7
2024-11-05 10:44:22.877    [DEBUG][118]    IPTV StartStream@8
2024-11-05 10:44:22.877    [DEBUG][118]    Creating writer: LIVE&D:\LiveTV\live-10-18380-13.ts
2024-11-05 10:44:22.877    [DEBUG][118]    live mode
2024-11-05 10:44:22.888    [DEBUG][118]    Created Mutex: Global\NPVR-mutex-1db784cb39f9e20dff02c773288158c6
2024-11-05 10:44:22.895    [DEBUG][118]    Created map: D:\LiveTV\live-10-18380-13.ts.map
2024-11-05 10:44:22.896    [DEBUG][118]    StartStream [LIVE&D:\LiveTV\live-10-18380-13.ts] allocated handle: 13
2024-11-05 10:44:22.896    [DEBUG][118]    IPTV StartStream@9
2024-11-05 10:44:22.896    [DEBUG][118]    Live TV handle: 0x25000D
2024-11-05 10:44:22.896    [DEBUG][118]    StartStream(7190:10, LIVE&D:\LiveTV\live-10-18380-13.ts) allocated handle: 2424845
2024-11-05 10:44:22.897    [DEBUG][118]    Handle: 25000D
2024-11-05 10:44:22.897    [DEBUG][118]    StreamNative@9 (storing stream handle: 2424845)
2024-11-05 10:44:22.897    [DEBUG][118]    clientHandle[57b31502-6258-4a61-9f69-e07285e71f04] = 2424845 *
2024-11-05 10:44:23.101    [DEBUG][118]    StreamNative@10 (with close monitoring...)
2024-11-05 10:44:23.101    [DEBUG][118]    RollingFile.Open(D:\LiveTV\live-10-18380-13.ts) ..
2024-11-05 10:44:23.103    [DEBUG][118]    File is in live mode
2024-11-05 10:44:23.103    [DEBUG][118]    Renew lease ok (0x25000D)
2024-11-05 10:44:23.104    [DEBUG][118]    Renew lease ok (0x25000D)
2024-11-05 10:44:23.781    [DEBUG][99]    ffmpeg exited. Likely end of VOD.
2024-11-05 10:44:23.781    [DEBUG][99]    StopStream@1
2024-11-05 10:44:23.781    [DEBUG][99]    StopStream@2
2024-11-05 10:44:23.781    [DEBUG][99]    StopStream@3
2024-11-05 10:44:23.781    [DEBUG][99]    StopStream handle: 13
2024-11-05 10:44:23.781    [DEBUG][99]    Closing TSWriter....: LIVE&D:\LiveTV\live-10-18380-13.ts
2024-11-05 10:44:23.781    [ERROR][99]    writer.Close() did not complete in a timely fashion
2024-11-05 10:44:23.782    [DEBUG][99]    Close@2
2024-11-05 10:44:23.782    [DEBUG][99]    Closing mapAccessor
2024-11-05 10:44:23.782    [DEBUG][99]    Closing mapMMF
2024-11-05 10:44:23.782    [DEBUG][99]    Closing mapFileStream
2024-11-05 10:44:23.783    [DEBUG][99]    deleting D:\LiveTV\live-10-18380-13.ts.map
2024-11-05 10:44:23.783    [ERROR][99]    Writer can't remove .map file: The process cannot access the file 'D:\LiveTV\live-10-18380-13.ts.map' because it is being used by another process.
2024-11-05 10:44:23.784    [DEBUG][99]    Close@exit
2024-11-05 10:44:23.784    [DEBUG][99]    StopStream@exit
2024-11-05 10:44:23.784    [DEBUG][99]    Closing extras standard-out
2024-11-05 10:44:23.804    [DEBUG][103]    InitiateTranscode@exit
2024-11-05 10:44:23.804    [DEBUG][103]    {"stat":"ok"}

Cheers!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#2
2024-11-04, 11:59 PM
Are you in Australia?
TheFonz
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Feb 2014
#3
2024-11-05, 12:17 AM
Sorry, yes I am. No DNS in use or Region blocking
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#4
2024-11-05, 12:48 AM
You might need to run the following, and let us know what ffmpeg says:

Code:
C:\Program Files\NextPVR\Other\ffmpeg.exe -y -user_agent "VLC/2.2.6 LibVLC/2.2.6"   -headers "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36" -headers "seekable: 0" -headers "referer:  " -i https://i.mjh.nz/.r/10-nsw.m3u8 -vcodec copy -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -f mpegt c:\temp\test.ts
TheFonz
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Feb 2014
#5
2024-11-05, 01:26 AM
For the above command I get

Code:
[https @ 00000177401f6980] No trailing CRLF found in HTTP header. Adding it.
[https @ 00000177401f6980] HTTP error 404 Not Found
[in#0 @ 00000177401f88c0] Error opening input: Server returned 404 Not Found
Error opening input file https://i.mjh.nz/.r/10-nsw.m3u8.
Error opening input files: Server returned 404 Not Found
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#6
2024-11-05, 01:31 AM
It looks like the 10 CDN is returning the 404 not fount.

It's possibly that double user agent. Are you using the current NextPVR v7 release?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#7
2024-11-05, 01:33 AM
I can get it to work in Linux and even avoid the CRLF message by eliminating the two user agents in that URL and concatenating the headers into one parameter

Code:
ffmpeg -v verbose -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"$'\r\n'"Referer:  "$'\r\n' -i "https://i.mjh.nz/.r/10-nsw.m3u8" -vcodec copy -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -f mpegts  martin.ts

I won't enable my VPN in Windows to test but it probably is similar and you might need to use an Extra.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#8
2024-11-05, 01:57 AM
I'm pretty sure it's just the two user agents causing it.

If he's using the current release, I can give him an updated dll to try.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#9
2024-11-05, 01:58 AM
From his first post

"Running Windows 10, with v 7.0.0.241105"
TheFonz
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Feb 2014
#10
2024-11-05, 02:31 AM
Yep using the newest release from today.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Channel 7 TV channels do not load into my list cmacd 1 253 2025-05-26, 07:37 AM
Last Post: Renryant
  No Audio Stream on most IPTV Channels pascholnahui 15 798 2025-05-24, 09:35 PM
Last Post: mvallevand
  error: No tuner was available for the requested channel jzk 3 269 2025-04-19, 03:30 PM
Last Post: mvallevand
  Question about Multiple Clients viewing Same Channel JohnySmith1010 15 772 2025-04-07, 12:28 PM
Last Post: mvallevand
  ffmpeg in postprocessing fails on spaces in filename Druhl 3 334 2025-03-29, 06:25 PM
Last Post: mvallevand
  IPTV how to johnm0101 22 1,442 2025-03-27, 06:13 PM
Last Post: jimil
  How many IPTV streams should i be able to record at the same time? sharkbite 6 528 2025-03-27, 01:26 AM
Last Post: sharkbite
  Watched program and channel lists mkroc 8 488 2025-03-24, 02:21 PM
Last Post: BrettB
  Recording IPTV lemmy999 8 674 2025-03-02, 06:13 PM
Last Post: lemmy999
  Fails After a Few seconds The1nOnlyHMatt 8 494 2025-02-26, 09:14 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode