How to play this hls video under Kodi?
#1
Hello,
I have this hls video link which works in browser (with hls extension) I want to play under Kodi if possible.

html:
https://lbnew2.apnevideotwo.co/hls/258d0...ylist.m3u8


cpp:
2019-12-06 12:59:23.096 T:22576  NOTICE: VideoPlayer::OpenFile: https://lbnew2.apnevideotwo.co/hls/258d0...ylist.m3u8
2019-12-06 12:59:23.442 T:17584   ERROR: Could not find suitable input format: x-directory/normal
2019-12-06 12:59:23.715 T:21984  NOTICE: Creating InputStream
2019-12-06 12:59:24.884 T:21984  NOTICE: Creating Demuxer
2019-12-06 12:59:26.494 T:21984  NOTICE: Opening stream: 0 source: 256
2019-12-06 12:59:26.494 T:21984  NOTICE: Creating video codec with codec id: 61
2019-12-06 12:59:26.494 T:21984  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: PNG (Portable Network Graphics) image
2019-12-06 12:59:26.494 T:21984  NOTICE: Creating video thread
2019-12-06 12:59:26.495 T:27000  NOTICE: running thread: video_thread
2019-12-06 12:59:26.536 T:21984  NOTICE: CVideoPlayer::OnExit()
2019-12-06 12:59:26.536 T:21984  NOTICE: VideoPlayer: eof, waiting for queues to empty
2019-12-06 12:59:26.536 T:21984  NOTICE: Closing stream player 2
2019-12-06 12:59:26.536 T:21984  NOTICE: waiting for video thread to exit
2019-12-06 12:59:26.536 T:27000   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2019-12-06 12:59:26.536 T:27000  NOTICE: thread end: video_thread
2019-12-06 12:59:26.536 T:21984  NOTICE: deleting video codec
2019-12-06 12:59:26.552 T:22576  NOTICE: CVideoPlayer::CloseFile()
2019-12-06 12:59:26.552 T:22576  NOTICE: VideoPlayer: waiting for threads to exit
2019-12-06 12:59:26.552 T:22576  NOTICE: VideoPlayer: finished waiting
2019-12-06 12:59:26.552 T:22576  NOTICE: CVideoPlayer::CloseFile()
2019-12-06 12:59:26.552 T:22576  NOTICE: VideoPlayer: waiting for threads to exit
2019-12-06 12:59:26.552 T:22576  NOTICE: VideoPlayer: finished waiting

Any help will be appreciated !

Thanks!
Reply
#2
That's not a video - it's a single png:


Playing: https://lbnew2.apnevideotwo.co/hls/258d0...ylist.m3u8
[ffmpeg/demuxer] hls,applehttp: Could not find codec parameters for stream 0 (Video: png, none(pc)): unspecified size
[ffmpeg/demuxer] Consider increasing the value for the 'analyzeduration' and 'probesize' options
 (+) Video --vid=1 'bitrate 5000000' (png)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
It's not a single png, it's a chunk videostream, embed behing a png. Stream 0 is the pgn and stream 1 the m3u8 chunk.

we found this is the response header:

Content-Disposition: inline;filename="UXH1e7tgb3uz2vfyoAnM8By8mgpDv2Q2.txt.png"
Content-Type: image/png

if i manuelly download one of the chunck, and delete this

" iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAMSURBVBhXY/j//z8ABf4C/qc1gYQAAAAASUVORK5CYIIA "

from the payload, it play in kodi

Is there a way to create a custome player who will play stream 1 instead of stream 0
Reply
#4
(2019-12-16, 19:53)Kujo Wrote: It's not a single png, it's a chunk videostream, embed behing a png. Stream 0 is the pgn and stream 1 the m3u8 chunk.

we found this is the response header:

Content-Disposition: inline;filename="UXH1e7tgb3uz2vfyoAnM8By8mgpDv2Q2.txt.png"
Content-Type: image/png

if i manuelly download one of the chunck, and delete this

" iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAMSURBVBhXY/j//z8ABf4C/qc1gYQAAAAASUVORK5CYIIA "

from the payload, it play in kodi

Is there a way to create a custome player who will play stream 1 instead of stream 0

Anything here? I have the same issue, i tried using the inputstream addon and also forcing setting mimetype with listitem.setMimeType('audio/mp4') but they didn't work
Reply
#5
(2021-04-15, 20:47)Rick987 Wrote: Anything here?

We're more than a year further now, with you probably using a different Kodi version.
Provide a complete debug log (wiki), so we can see some details of your setup.
Reply
#6
(2021-04-15, 22:04)Klojum Wrote:
(2021-04-15, 20:47)Rick987 Wrote: Anything here?

We're more than a year further now, with you probably using a different Kodi version.
Provide a complete debug log (wiki), so we can see some details of your setup.

We have been discusing this here: https://github.com/xbmc/inputstream.ffmp...issues/100

Kodi full log: https://raw.githubusercontent.com/D4anie...n/kodi.log
The addon: https://github.com/D4anielCB/plugin.vide.../tree/main

with a full log and the link for the commands used in the addon, thanks for replying
Reply

Logout Mark Read Team Forum Stats Members Help
How to play this hls video under Kodi?0