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:
Fails, however the same or similar code for other channels works fine.
Wondering if the user-agent is malformed?
From the logs:
Cheers!
	
	
	
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=%20Wondering 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!