NextPVR Forums

Full Version: IPTV M3U8 multiple audio track issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,

I've an issue with one of my stream.I'm trying to watch it in kodi but I've got no audio.if I try directly the link in an other video player (VLC), it play well and I can choose 3 audio track. It seem to have a problem with this. 

thank you.
NextPVR pass an IPTV stream to the client largely unmodified. It could have one or more audio tracks. It'll send the same stream to Kodi as it would to VLC. It sounds like a Kodi issue if it's unable to play the stream that is playing fine in VLC.
Could you upload the NextPVR logs and the Kodi debug log to see if this is a direct transfer or ffmpeg download from the source.

Martin
thank you for your answer. I tried directly with Nextpvr's link ( ****:8866/live?channel=1) via VLC and Kodi,I don't get audio but when I use the file M3U8 without using Nextpvr , I can select 3 audio track via VLC and I get sound.

My nextpvr is installed on Raspbian ( raspberry pi 3b+ )
here the logs :

kodi's log : 
2020-03-27 17:47:28.029 T:6948  NOTICE: VideoPlayer::OpenFile: pvr://channels/tv/All channels/pvr.nextpvr_7151.pvr
2020-03-27 17:47:28.031 T:10952  NOTICE: Creating InputStream
2020-03-27 17:47:28.031 T:10952  NOTICE: AddOnLog: NextPVR PVR Client: Calling Open(http://192.168.0.9:8866/live?channeloid=...d3b8e3f535) on tsb!
2020-03-27 17:47:29.551 T:10952  NOTICE: Creating Demuxer
2020-03-27 17:47:29.561 T:10952  NOTICE: Opening stream: 0 source: 256
2020-03-27 17:47:29.561 T:10952 WARNING: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2020-03-27 17:47:29.570 T:10952  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-03-27 17:47:29.570 T:10952  NOTICE: Opening stream: 0 source: 256
2020-03-27 17:47:29.571 T:10952 WARNING: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.
2020-03-27 17:47:29.652 T:10952  NOTICE: CDVDDemuxFFmpeg::Read() stream change
2020-03-27 17:47:29.652 T:10952  NOTICE: Opening stream: 0 source: 256
2020-03-27 17:47:29.652 T:10952  NOTICE: Creating video codec with codec id: 27
2020-03-27 17:47:29.652 T:10952  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2020-03-27 17:47:29.653 T:10952  NOTICE: Creating video thread
2020-03-27 17:47:29.654 T:8364  NOTICE: running thread: video_thread
2020-03-27 17:47:29.764 T:6948  NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:no, bob:yes, adaptive:yes, mocomp:yes.
2020-03-27 17:47:29.766 T:6948 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
2020-03-27 17:47:29.768 T:10952 WARNING: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
2020-03-27 17:47:29.962 T:8364  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33366
2020-03-27 17:47:34.709 T:6948  NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:no, bob:yes, adaptive:yes, mocomp:yes.
2020-03-27 17:47:34.784 T:6948 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer

nrecord logs :
2020-03-27 17:47:30.017 [DEBUG][36] Got request [::ffff:192.168.0.222]: /live
2020-03-27 17:47:30.017 [DEBUG][36] /live?channeloid=7151&client=XBMC-c5e2bd9cfc6744528bb9c9d3b8e3f535
2020-03-27 17:47:30.017 [DEBUG][36] range: bytes=0-
2020-03-27 17:47:30.017 [DEBUG][36] StreamNative@1..
2020-03-27 17:47:30.018 [DEBUG][36] StreamNative@2
2020-03-27 17:47:30.018 [DEBUG][36] StreamNative@3
2020-03-27 17:47:30.018 [DEBUG][36] XBMC client sid is: c5e2bd9cfc6744528bb9c9d3b8e3f535
2020-03-27 17:47:30.018 [DEBUG][36] StreamNative@4
2020-03-27 17:47:30.018 [DEBUG][36] StreamNative@5
2020-03-27 17:47:30.018 [DEBUG][36] StreamNative@6
2020-03-27 17:47:30.019 [DEBUG][36] StreamNative@7...
2020-03-27 17:47:30.019 [DEBUG][36] StreamNative@8 (/mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts)
2020-03-27 17:47:30.019 [DEBUG][36] about to start stream...
2020-03-27 17:47:30.019 [DEBUG][36] StartStream(7151:16.1 CFKMDT)
2020-03-27 17:47:30.026 [DEBUG][36] looking for capture source (in reverse priority order)
2020-03-27 17:47:30.027 [DEBUG][36] checking: IPTV (http://...)
2020-03-27 17:47:30.027 [DEBUG][36] enabled and present
2020-03-27 17:47:30.027 [DEBUG][36] has channel
2020-03-27 17:47:30.027 [DEBUG][36] live tv is possible
2020-03-27 17:47:30.027 [DEBUG][36] IPTV StartStream
2020-03-27 17:47:30.027 [DEBUG][36] IPTV StartStream@2
2020-03-27 17:47:30.027 [DEBUG][36] IPTV StartStream@3
2020-03-27 17:47:30.027 [DEBUG][36] IPTV StartStream@3.1
2020-03-27 17:47:30.027 [DEBUG][36] IPTV StartStream@3.2
2020-03-27 17:47:30.364 [DEBUG][36] IPTV StartStream@3.3
2020-03-27 17:47:30.364 [DEBUG][36] IPTV StartStream@3.4
2020-03-27 17:47:30.367 [DEBUG][36] M3U8 (https://bcsecurelivehls-i.akamaihd.net/.../master.m3u8?....  [V+S5kHuNPWs5UkSY52wU4rBQtoN29X1fuXU2uX6W/g7HzVqSzzDdaQBVNROzj6RTYmPwRiZmOh8CFA1bFBKNjGB/kXZQBlb7Vs1I9OMR6C/m0RXQrDku6OO1rbB1D1fI10zHHtoa2zLuLeS7kVrAgG0hXZt0pGqhcfiySwywoB6BawQbEDyw+q3RWhBkETy4/QrIC0gD8G9lqhtukoLgWANbGvlvrWHFprDzsEZfQs2Vc+HlBKoiGmV3aCht/m6HDpMvlxA5zzhwgUrXgtBVx3WHWYk+LpwOExG1VJNnyz3ft56W8RXLasa88QRx+4aaC7b+KzcXTsacbVYPNXXRw1ldlsT1sc7avyTPQLigQMlbbfDFGi/G0auV59BxflPDST55VbsEnhkSMRBPgdqgcjQAkfCeMvP9y/DXdrNLLaxA9zxDCxVxy+RbytvtdKRv9Fv3ZHROvpH1LIoHIEmpmg==])
2020-03-27 17:47:30.370 [DEBUG][36] Checking m3u8 stream (https://bcsecurelivehls-i.akamaihd.net/.../master.m3u8?....  [k+WwBoLEDgqo7ewtElrJNW2t9sybN3HqDopAptgTZzKIrWZrkC5lpghOnNy/cDfPpexWvF4nRr6JqoN5JiMNMbX6dki192MM4j1EbWecOeGAUA6XNuUCNcoca44sRmwGsLhGn2JqPdIfccKl/uwWJwhjZgMbu32H9z4m9u4Mz66QHucmgrQ7NMnIxG9kXmZ3h3uafAE2Z/E/gqJzmXCmx9GO+pLj+Sg+3v6+i/8QC9xv1+f1DLPtJ/UV2C4SrdBE9Xyf4LKqXdBRhD+xZ6+CVU0c48UtCoEyiF1yPPUrhqmnVPPZOM+4UulrplD8Xn5EUkP660+pxpPSUE4jVuQoA2rErFL9Ub8K9siCiMjr9nWSybOUt3MgxF2CnHAU108FhK47CIR6kpHMEBN7zNs8+QCYAFnjXGnJ/jATOeEULHX7K9Oxrlkh9lZxrEh626asu4Paw+se4o3bQxU5qIhA6A==])
2020-03-27 17:47:30.626 [DEBUG][36] Starting m3u8 stream...
2020-03-27 17:47:30.627 [DEBUG][36] IPTV StartStream@3.5
2020-03-27 17:47:30.627 [DEBUG][36] IPTV StartStream@6
2020-03-27 17:47:30.627 [DEBUG][36] IPTV StartStream@7
2020-03-27 17:47:30.628 [DEBUG][36] Requesting data:///.../live-iptv-36aef3b994cd4f78965363964b22b61c.ts?....  [ZreRC+cw8zQ9F4weL37YNoYECSURpmodCARoeOa+GTR7F61895tjIcleACgIRpRGrouV9jujfdWcPRkbMpfyI6lDOnpeD+ZSp780qHq2kvnZW4j0vmTmjEGcEJ6engCbPwGg5PvPbdRk1mwcFBE98QaP+yH2LOBoKIfbKB9oCnkUylyzguOwdz7fQ/VP0rKUeNM2/2kj/ThT/03x5NeudivcsIRmmtluyX8+ThdHP14uoRsjgALa1XQXPAP5f2jeqbmxPfOXkaKvDFSw1JTbjY7PwR+4Y3CIvektD6uCq7Me0IbuBv9DjJIM5VlukIutIjbPA3JqG5kzXFwyX1uKD9ykWRIRy3aJyFQqx2eo0wDdMjZqffO4QSfcl6Et0d2LVYpgtIiKqx09QnfTfoSsqYhUhxYXxQx/0u+LprHMU9WEmDQurTkZVZ8iD+L8TzxE0JS24XNAPBWi8tQo2Y7BZg==]
2020-03-27 17:47:30.628 [DEBUG][36] IPTV StartStream@8
2020-03-27 17:47:30.628 [DEBUG][36] Creating writer: LIVE&/mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts
2020-03-27 17:47:30.629 [DEBUG][36] live mode
2020-03-27 17:47:30.660 [DEBUG][36] Created Mutex: Global\NPVR-mutex-2ea5e661d3245a76e81fd6c545d3396c
2020-03-27 17:47:30.667 [DEBUG][36] Created map: /mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts.map
2020-03-27 17:47:30.685 [DEBUG][36] StartStream [LIVE&/mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts] allocated handle: 28
2020-03-27 17:47:30.685 [DEBUG][36] IPTV StartStream@9
2020-03-27 17:47:30.685 [DEBUG][36] Live TV handle: 0x15001C
2020-03-27 17:47:30.685 [DEBUG][36] StartStream(7151:16.1 CFKMDT, LIVE&/mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts) allocated handle: 1376284
2020-03-27 17:47:30.685 [DEBUG][36] Handle: 15001C
2020-03-27 17:47:30.686 [DEBUG][36] StreamNative@9 (storing stream handle: 1376284)
2020-03-27 17:47:30.686 [DEBUG][36] clientHandle[XBMC-c5e2bd9cfc6744528bb9c9d3b8e3f535] = 1376284 *
2020-03-27 17:47:30.886 [DEBUG][36] StreamNative@10 (with close monitoring...)
2020-03-27 17:47:30.890 [DEBUG][36] RollingFile.Open(/mnt/4k/npvr/livetv/live-16.1 CFKMDT-508-27.ts) ..
2020-03-27 17:47:30.897 [DEBUG][36] File is in live mode
2020-03-27 17:47:30.897 [DEBUG][36] Renew lease ok (0x15001C)
2020-03-27 17:47:30.898 [DEBUG][36] Renew lease ok (0x15001C)
2020-03-27 17:47:35.148 [DEBUG][36] Waiting for more data (pos: 9656808, len: 9657184, avail: 376, need:1316
That NextPVR log shows it's using the native stream. It's not having to transcode it.

When you play through VLC using the NextPVR stream (....:8866/live?channel=1), you should see the same audio streams listed.
That's a snippet not a full Kodi debug log I asked for. Kodi would show you all the internal streams it finds in the ts stream and we'd be in a better position to help you with that information. If the URL is public and it is is a multi part m3u8 is it a public URL?

Martin
yes, it is a public link. https://bcsecurelivehls-i.akamaihd.net/h...aster.m3u8, I will take a look for debug log.

https://pastebin.com/dJRSk5jX
That's what I figured NextPVR isn't sending an audio stream from the complex m3u8 you can get from the CDN is

20-03-27 18:48:06.947 T:11200 INFO: ffmpeg[2BC0]: Input #0, mpegts, from 'pvr://channels/tv/All channels/pvr.nextpvr_7151.pvr':
2020-03-27 18:48:06.947 T:11200 INFO: ffmpeg[2BC0]: Duration: N/A, bitrate: N/A
2020-03-27 18:48:06.947 T:11200 INFO: ffmpeg[2BC0]: Program 1
2020-03-27 18:48:06.947 T:11200 INFO: ffmpeg[2BC0]: Stream #0:0[0x3e9]: Video: h264 ([27][0][0][0] / 0x001B), none, 1280x720, 90k tbn
2020-03-27 18:48:06.947 T:11200 DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
2020-03-27 18:48:06.948 T:11200 NOTICE: Opening stream: 0 source: 256
2020-03-27 18:48:06.948 T:11200 NOTICE: Creating video codec with codec id: 27
2020-03-27 18:48:06.948 T:11200 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2020-03-27 18:48:06.948 T:11200 DEBUG: CDVDVideoCodecFFmpeg - Updated codec: ff-h264
2020-03-27 18:48:06.948 T:11200 DEBUG: CVideoPlayerVideo::OpenStream - open stream with codec id: 27

I am not sure how you configure config.xml so that sub picks the fra streams but that might help. I can certainly get that going with an extra if you want but no idea how reliable the master m3u8 file from the CDN is for the long term.

Martin
it's almost by default, I only edited option via Web browser. I've take a look to the file "Config-master-dont-edit.xml" ( I didn't found config.xml so I guest this is it) option in the file are
<LanguagePreferenceEIT>default</LanguagePreferenceEIT>
<LanguagePreference1>eng</LanguagePreference1>
<LanguagePreference2>default</LanguagePreference2>

Same issues with Nextpvr on Windows
dont-edit.xml in french would be ne-redigez-pas.xml so you edited the wrong file. The good one is is in C:\Users\Public\NPVR-data I have no idea how sub uses those values for IPTV. Canal V works well with that link hopefully sub can work it out but like I said if not an extras device will get it working with NextPVR easily.

Martin
Pages: 1 2 3