NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 2 3 4 5 … 43 Next »
[FFMPEG]: HTTP error 404 Not Found

 
  • 0 Vote(s) - 0 Average
[FFMPEG]: HTTP error 404 Not Found
bit_creepy
Offline

Junior Member

New Zealand
Posts: 9
Threads: 1
Joined: Feb 2025
#1
2025-02-22, 12:42 PM (This post was last modified: 2025-02-22, 01:11 PM by bit_creepy. Edit Reason: Authentication error found )
I have a .m3u8 that works perfectly fine with Jellyfin and VLC, which has a username and password specified within the .m3u8, however I get the following error when trying to stream with NextPVR:

Code:
2025-02-23 01:20:55.956 [DEBUG][57] StartStream(7417:ABCテレビ1, LIVE&/home/recordings/live-ch210-140-11.ts) allocated handle: 0
2025-02-23 01:20:55.956 [DEBUG][57] Handle: 0
2025-02-23 01:20:55.956 [DEBUG][57] Failed to start stream. Handle 0.
2025-02-23 01:20:55.960 [DEBUG][57] [FFMPEG]: [http @ 0x6386d68e9300] HTTP error 404 Not Found
2025-02-23 01:20:55.960 [DEBUG][57] [FFMPEG]: http://127.0.0.1:8866/live?channeloid=7417&transcoder=721f54c8-467d-460e-ad3f-f417b99834cb&sid=ee4a4372-ccf7-4865-8f8a-53b890631a2e&client=ee4a4372-ccf7-4865-8f8a-53b890631a2e: Server returned 404 Not Found
2025-02-23 01:20:56.060 [DEBUG][68] Got request [192.168.0.242]: /services/service (channel.transcode.status)
2025-02-23 01:20:56.060 [DEBUG][68] parameters:
2025-02-23 01:20:56.060 [DEBUG][68]   method: channel.transcode.status
2025-02-23 01:20:56.060 [DEBUG][68]   format: json
2025-02-23 01:20:56.060 [DEBUG][68]   sid: ee4a4372-ccf7-4865-8f8a-53b890631a2e
2025-02-23 01:20:56.060 [DEBUG][68]   client_ip: 192.168.0.242
2025-02-23 01:20:56.060 [DEBUG][68]   client_local: true
2025-02-23 01:20:56.060 [DEBUG][68]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-23 01:20:56.060 [DEBUG][68]   host_callback: ...
2025-02-23 01:20:56.060 [DEBUG][68] GetStatus() got transcoder
2025-02-23 01:20:56.060 [DEBUG][68] GetStatus()@nochild
2025-02-23 01:20:56.060 [DEBUG][68] {"status": "Streaming Failed (transcoder exited)","final": true,"duration": 0,"percentage": 0}
2025-02-23 01:20:58.338 [DEBUG][49] Deleting web temp files
2025-02-23 01:20:59.226 [DEBUG][49] Got request [192.168.0.242]: /services/service (channel.transcode.stop)
2025-02-23 01:20:59.226 [DEBUG][49] parameters:
2025-02-23 01:20:59.226 [DEBUG][49]   method: channel.transcode.stop
2025-02-23 01:20:59.226 [DEBUG][49]   sid: ee4a4372-ccf7-4865-8f8a-53b890631a2e
2025-02-23 01:20:59.226 [DEBUG][49]   client_ip: 192.168.0.242
2025-02-23 01:20:59.226 [DEBUG][49]   client_local: true
2025-02-23 01:20:59.226 [DEBUG][49]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-23 01:20:59.226 [DEBUG][49]   host_callback: ...
2025-02-23 01:20:59.227 [DEBUG][49] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
</rsp>


The .m3u8 contains the following:

Code:
#EXTM3U
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/02bfmn.png",NHK総合1・大阪
https://USERNAME:PASSWORD@jptvclub.tv/hls/NHK-Osaka_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/0974h7.png",NHKEテレ1大阪
https://USERNAME:PASSWORDW@jptvclub.tv/hls/NHKE-Osaka_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/d2nq64.png",MBS毎日放送
https://USERNAME:PASSWORD@jptvclub.tv/hls/MBS_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/893nc9.png",ABCテレビ1
https://USERNAME:PASSWORD@jptvclub.tv/hls/ABC_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/fv9214.png",テレビ大阪1
https://USERNAME:PASSWORD@jptvclub.tv/hls/TVO_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/uyt7o7.png",関西テレビ1
https://USERNAME:PASSWORD@jptvclub.tv/hls/KTV_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/r37vgy.png",読売テレビ1
https://USERNAME:PASSWORD@jptvclub.tv/hls/YTV_720p.m3u8
#KODIPROP:mimetype=video/mp2t
#EXTINF:-1 tvg-logo="https://ptpimg.me/x9v49q.png",BS11イレブン
https://USERNAME:PASSWORD@jptvclub.tv/hls/BS11_720p.m3u8


Is there some different format that's needed for NextPVR to authenticate the URL?

UPDATE:

It seems to be authentication related, because I can't get past this when trying to import the .m3u8 from URL.


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#2
2025-02-22, 01:50 PM (This post was last modified: 2025-02-23, 04:41 PM by mvallevand.)
The at would probably be the URL to m3u file not the contents to the m3u8 file.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#3
2025-02-22, 07:47 PM
If you want to try the import, then post the logs, I can probably tell you why it's not working.
bit_creepy
Offline

Junior Member

New Zealand
Posts: 9
Threads: 1
Joined: Feb 2025
#4
2025-02-23, 01:59 AM
(2025-02-22, 01:50 PM)mvallevand Wrote: The at would probably be the URL to m3u8 file not the contents to the m3u8 file.

Martin

I'm not sure what you mean sorry. Have you got any suggestions on what to change please?
bit_creepy
Offline

Junior Member

New Zealand
Posts: 9
Threads: 1
Joined: Feb 2025
#5
2025-02-23, 02:06 AM
(2025-02-22, 07:47 PM)sub Wrote: If you want to try the import, then post the logs, I can probably tell you why it's not working.

I don't think the import from URL matters, because I'm able to import using the .m3u8 from local location but below is the log. I;ve removed auth info for obvious reasons.

Code:
025-02-23 15:01:29.625    [DEBUG][106]    Downloading m3u https://USERNAME:PASSWORD@jptvclub.tv/.../JPTVclubTV.m3u8?....  [p3e5P0QaAhM91/PEjBCSqK0tZ2kzDasEjhAy0CIVNDYPTxPAB3Xaj0oyO6yzR2hHGmyqpUbiKvHEVIQ4SHsnHrj2DFoALP4qL00uTKk+ks47CW/HdE2kBlxbquMVZrBb7mkcHxUg0J5rtXROl6eHBSEz4r+/tb2aW7gD4lIyzUlwArpePjBePehihB/X+jWc+FDcJ/GLr12j0oBcIvYDzTuWWHsMDmRj7krztMJFAs/IH0VAwL0iSmng0GltgXHacY3iU8l0pGfqEvVGIEk3Bns/KOOh3vLdn3b+Ion79R45X9qm1wVeIWoxljiYToxQAGZiABO/yVRc6twxQBNwmiW1zxqtPC6cTXw0ORd8DOQKqAgBgFCWy+dQ3z/fqLN/gIVVcqSh35mKZmd0eh3erO2mYTHJnqyV1mhf4dLXIIjC2XoiYpDICY9T6wiyjTUK]
2025-02-23 15:01:30.127    [DEBUG][116]    Got request [192.168.0.131]: /services/service (setting.scan.status)
2025-02-23 15:01:30.127    [DEBUG][116]    parameters:
2025-02-23 15:01:30.127    [DEBUG][116]       method: setting.scan.status
2025-02-23 15:01:30.127    [DEBUG][116]       format: json
2025-02-23 15:01:30.127    [DEBUG][116]       sid: dcecc3be-df33-4e92-b045-babbb37a42ae
2025-02-23 15:01:30.127    [DEBUG][116]       client_ip: 192.168.0.131
2025-02-23 15:01:30.127    [DEBUG][116]       client_local: true
2025-02-23 15:01:30.127    [DEBUG][116]       user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-23 15:01:30.127    [DEBUG][116]       host_callback: ...
2025-02-23 15:01:30.127    [DEBUG][116]    setting.scan.status
2025-02-23 15:01:30.128    [DEBUG][116]    {"stat":"ok",
"complete":false,
"status":"Downloading m3u",
"channels": [
]
}...snip...
2025-02-23 15:01:30.450    [DEBUG][106]    Failed to download channel list: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(WebRequest request)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at NShared.Recorders.IPTVScanner.WorkerThread()
2025-02-23 15:01:30.630    [DEBUG][116]    Got request [192.168.0.131]: /services/service (setting.scan.status)
2025-02-23 15:01:30.630    [DEBUG][116]    parameters:
2025-02-23 15:01:30.630    [DEBUG][116]       method: setting.scan.status
2025-02-23 15:01:30.630    [DEBUG][116]       format: json
2025-02-23 15:01:30.630    [DEBUG][116]       sid: dcecc3be-df33-4e92-b045-babbb37a42ae
2025-02-23 15:01:30.630    [DEBUG][116]       client_ip: 192.168.0.131
2025-02-23 15:01:30.630    [DEBUG][116]       client_local: true
2025-02-23 15:01:30.630    [DEBUG][116]       user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-23 15:01:30.630    [DEBUG][116]       host_callback: ...
2025-02-23 15:01:30.630    [DEBUG][116]    setting.scan.status
2025-02-23 15:01:30.630    [DEBUG][116]    SetSessionObject(dcecc3be-df33-4e92-b045-babbb37a42ae, 'child', NON-null)
2025-02-23 15:01:30.630    [DEBUG][116]    {"stat":"ok",
"complete":true,
"status":"Failed to download channel list: The remote server returned an error: (401) Unauthorized.",
...snip...

As mentioned before, the .m3u8 works fine with Jellyfin and VLC, so I'm unclear why NextPVR won't play it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#6
2025-02-23, 04:37 PM
As the developer of NextPVR I'm able to decrypt the url you entered from that encrypted log message. FYI, that url you entered also returns a 401 Unauthorized in VLC. ie, I'm pretty sure the problem is the m3u url you've tried is incorrect.
bit_creepy
Offline

Junior Member

New Zealand
Posts: 9
Threads: 1
Joined: Feb 2025
#7
2025-02-24, 05:12 AM
(2025-02-23, 04:37 PM)sub Wrote: As the developer of NextPVR I'm able to decrypt the url you entered from that encrypted log message. FYI, that url you entered also returns a 401 Unauthorized in VLC. ie, I'm pretty sure the problem is the m3u url you've tried is incorrect.

I've re-downloaded the .m3u8 from https://jptvclub.tv/files/JPTVclubTV.m3u8 using my credentials. When I open with VLC I'm promoted with a login. I enter my login info and VLC plays.

I try the approach in NextPVR of importing the .m3u8 from https://jptvclub.tv/files/JPTVclubTV.m3u8 using this format -  https://USERNAME:PASSWORD@ jptvclub.tv/files/JPTVclubTV.m3u8 and I get the following error in logs:

Code:
2025-02-24 17:53:17.886 [DEBUG][74] Downloading m3u https://USERNAME:PASSWORD@jptvclub.tv/.../JPTVclubTV.m3u8?....  [ctkVRJDY8SHA34PV3Ityu9SezTePGgNEoHNHNTPciExJr0ws/QRPHHMs0b4SoOHjRZxtFBxsTlU2hl9EbVqh0sHg9l0wnDh3iKZVpVy9A+ylQI3bKCRTruYVn7gXHEbjdzj6QFFJaIh6gpf5bBfSnRo8ORn0cVw6HFknSEhhGRFUPWyEIYityaLj19FGEIj/P47FmfW4DbMcjw9hmIPdV3UZqR5SHOfOwEmGlHx2Wem5IKiJAAT1zITt5JzWTJruUuHTjqzu7dUGDWuhuXUDMjpCsUDs0zcnE0Bb6tztbx7pWl2KCyjcfWFx1XwQ0q37x8bQyfxpQOCxvFniEA9rdWfcSAh+opZVcqaW4S6pho1lnU+6WFjkMG9w7VcyCxLyifLJYZWDQww8p8aOKxfVrofkKi2TWubfRip7DBWWiXWbhVcvLHksTPlhqEZFURLB]
2025-02-24 17:53:17.886 [DEBUG][76] SetSessionObject(78520ce9-0c75-459a-8bdf-1412c9ba567c, 'child', NON-null)
2025-02-24 17:53:17.886 [DEBUG][76] SetSessionObject(78520ce9-0c75-459a-8bdf-1412c9ba567c, 'child', NON-null)
2025-02-24 17:53:17.886 [DEBUG][76] {"stat":"ok"}
2025-02-24 17:53:18.340 [DEBUG][37] stream@2 got zero bytes
2025-02-24 17:53:18.406 [DEBUG][72] Got request [192.168.0.242]: /services/service (setting.scan.status)
2025-02-24 17:53:18.406 [DEBUG][72] parameters:
2025-02-24 17:53:18.406 [DEBUG][72]   method: setting.scan.status
2025-02-24 17:53:18.406 [DEBUG][72]   format: json
2025-02-24 17:53:18.406 [DEBUG][72]   sid: 78520ce9-0c75-459a-8bdf-1412c9ba567c
2025-02-24 17:53:18.406 [DEBUG][72]   client_ip: 192.168.0.242
2025-02-24 17:53:18.406 [DEBUG][72]   client_local: true
2025-02-24 17:53:18.406 [DEBUG][72]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-24 17:53:18.406 [DEBUG][72]   host_callback: ...
2025-02-24 17:53:18.406 [DEBUG][72] setting.scan.status
2025-02-24 17:53:18.406 [DEBUG][72] {"stat":"ok",
"complete":false,
"status":"Downloading m3u",
"channels": [
]
}...snip...
2025-02-24 17:53:18.527 [DEBUG][74] Failed to download channel list: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
  at System.Net.HttpWebRequest.GetResponse()
  at System.Net.WebClient.GetWebResponse(WebRequest request)
  at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
  at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
  at System.Net.WebClient.DownloadString(Uri address)
  at NShared.Recorders.IPTVScanner.WorkerThread()
2025-02-24 17:53:18.905 [DEBUG][72] Got request [192.168.0.242]: /services/service (setting.scan.status)
2025-02-24 17:53:18.905 [DEBUG][72] parameters:
2025-02-24 17:53:18.905 [DEBUG][72]   method: setting.scan.status
2025-02-24 17:53:18.905 [DEBUG][72]   format: json
2025-02-24 17:53:18.905 [DEBUG][72]   sid: 78520ce9-0c75-459a-8bdf-1412c9ba567c
2025-02-24 17:53:18.905 [DEBUG][72]   client_ip: 192.168.0.242
2025-02-24 17:53:18.905 [DEBUG][72]   client_local: true
2025-02-24 17:53:18.905 [DEBUG][72]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
2025-02-24 17:53:18.905 [DEBUG][72]   host_callback: ...
2025-02-24 17:53:18.905 [DEBUG][72] setting.scan.status
2025-02-24 17:53:18.905 [DEBUG][72] SetSessionObject(78520ce9-0c75-459a-8bdf-1412c9ba567c, 'child', NON-null)
2025-02-24 17:53:18.905 [DEBUG][72] {"stat":"ok",
"complete":true,
"status":"Failed to download channel list: The remote server returned an error: (401) Unauthorized.",
...snip...


Attached Files Thumbnail(s)
       
bit_creepy
Offline

Junior Member

New Zealand
Posts: 9
Threads: 1
Joined: Feb 2025
#8
2025-02-24, 06:29 AM
(2025-02-23, 04:37 PM)sub Wrote: As the developer of NextPVR I'm able to decrypt the url you entered from that encrypted log message. FYI, that url you entered also returns a 401 Unauthorized in VLC. ie, I'm pretty sure the problem is the m3u url you've tried is incorrect.

I'm convinced it's the way in which NextPVR authenticates the URL, becuase I've tried various methods - authenticating the .m3u8 file with VLC and adding credentials within the .m3u8 to play in Jellyfin - both are working fine. I'm happy to PM you my JPTV credentials and .m3u8 file if you'd like to try for yourself?

Also, is there some kind of character limitation with NextPVR's EPG? I can't seem to get either http://epg.utako.moe/jcom.xml or https://animenosekai.github.io/japantere.../guide.xml working in EPG. Just shows (no listings). Happy to create another thread for this though.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#9
2025-02-24, 06:46 AM
Ok, if you want to PM me the m3u and xmltv url, I'll try it here.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#10
2025-02-24, 06:48 AM
(2025-02-24, 05:12 AM)bit_creepy Wrote: https://USERNAME:PASSWORD@ jptvclub.tv/files/JPTVclubTV.m3u8 and I get the following error in logs
This is the normal format, and VLC did not seem to like it, which implies there is something different about this source compared to other IPTV providers.
« 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
  Error scanning Saorview DVB-T channels happybluegreen 2 117 2025-05-29, 05:16 PM
Last Post: seapoint
  Error when trying to download VoDs ModdingFriendly 9 1,635 2025-03-15, 12:16 AM
Last Post: ModdingFriendly
  Extras.xml | restart ffmpeg when it closes? D3iver 5 629 2024-09-27, 03:35 PM
Last Post: mvallevand
  Error when trying to view TV Mooserator 28 2,386 2024-06-02, 04:38 AM
Last Post: Mooserator
  404 error when opening IPTV stream xbmcgotham 15 5,192 2023-08-20, 10:01 AM
Last Post: xbmcgotham
  Crashing out trying to start ffmpeg Ade_AV 12 2,138 2023-08-13, 05:05 AM
Last Post: mvallevand
  error! popup green 16 2,018 2023-05-29, 07:28 PM
Last Post: green
  IPTV streaming failed: Error - streaming failed (transcoder exited) chandankp 6 1,914 2022-07-25, 04:57 PM
Last Post: chandankp
  HDHR Quatro Unavailable - unmanaged dll error ElihuRozen 5 1,486 2021-11-07, 05:13 PM
Last Post: sub
  Scheduling Error Unable to schedule recording at this time. jdwirtz 33 6,889 2021-06-29, 11:18 AM
Last Post: BrettB

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

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

Linear Mode
Threaded Mode