Kodi Community Forum
Solved Kodi Playback Issue Internet Archive - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264)
+--- Thread: Solved Kodi Playback Issue Internet Archive (/showthread.php?tid=379256)

Pages: 1 2 3


Kodi Playback Issue Internet Archive - barney63 - 2024-10-24

I'm trying to track down the exact issues that Kodi has playing back video from the Internet Archive using the Internet Archive addon

Playing most videos crashes Kodi. If you try to forward or rewind a video it usually crashes, when you try to stop the video it usually crashes.

Is the issue FFMPEG, or HLS streams that refuse to play with Videoplayer in Kodi 21.

Is there work being done on this if it is the issue.

It would be great if someone who knows more than me (that would be everybody) would load the addon and see what's going on (updated version is in the Kodi Repo).

As it is a huge source of video and audio, it would be nice to have it working properly.  I'd appreciate someone taking a few minutes to look at it if they could.

Tks

(Kodi 21.1/Win 10/IA 1.0.0)


RE: Kodi Playback Issue Internet Archive - izprtxqkft - 2024-10-25

https://forum.kodi.tv/showthread.php?tid=180623&pid=3212517#pid3212517


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-25

(2024-10-25, 15:48)izprtxqkft Wrote: https://forum.kodi.tv/showthread.php?tid=180623&pid=3212517#pid3212517
You linked to the thread that I had already linked to, plus I was the one who posted the website was hacked.

It is no longer hacked and you can access video and audio now. They will play but as I posted above, crash frequently just as they did before the site was hacked.


RE: Kodi Playback Issue Internet Archive - izprtxqkft - 2024-10-25

(2024-10-25, 16:19)barney63 Wrote: They will play but as I posted above, crash frequently just as they did before the site was hacked.

addon support belongs in their addon threads so that people who actually work on them can look into their issues
and i don't see any Debug Log to even start looking into this issue if i did use the addon or work on it


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-25

(2024-10-25, 16:44)izprtxqkft Wrote:
(2024-10-25, 16:19)barney63 Wrote: They will play but as I posted above, crash frequently just as they did before the site was hacked.
addon support belongs in their addon threads so that people who actually work on them can look into their issues
and i don't see any Debug Log to even start looking into this issue if i did use the addon or work on it
The author of the addon is saying the issue is with Kodi.  All I ask is if someone can install the addon and check it out for themselves. 

If they are able to play, forward, rewind and stop several videos without issue (crashing) then I will post a log.  Otherwise they will see the problem easily for themselves.


RE: Kodi Playback Issue Internet Archive - CrystalP - 2024-10-27

... anyway the few videos I tried worked fine (also Windows 10, but v22)
So more evidence needed to try to reproduce and the famous debug log that would make it easier to figure out where your issue comes from.


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-27

@CrystalP

First, thanks for responding and checking it out

My issue is not so much will a video play (although often it won't), it's that you can't do anything: forward, rewind, stop after it has started playing or it will crash.

Popular collections-1970s Classic TV-Bionic Woman Black Magic (1976)-mp4 original

I played the video and it stopped playing after about 9 seconds.  The picture stayed on screen but nothing was happening and I had to ctrl/alt/del to exit Kodi.

I restarted Kodi (and this will appear on the log). I tried playing it again, it was playing fine so I think I advanced it a bit and it played ok, then I advanced the video past the buffer and it wouldn't play nor would pressing stop work.

Log

Popular collections-1970s Classic TV-Buck Rogers "Vegas in Space (1979)

I tried to forward the Buck Rogers video and it stopped playing (picture stayed on screen).  Pressing stop did nothing.  I had to ctrl/alt/del to exit Kodi

The second time I tried it, it acted like it should, I advanced the video three times and it worked.  I pressed stop and it worked, this is rare.  I don't think it is just an issue of advancing beyond the buffering

This log should show what is happening when it is working correctly

Log

I tried the Bionic Woman again and it stopped playing after about 5 seconds. Picture stayed on screen, stop button would not work. had to ctrl/alt/del to exit Kodi

Log

Thanks again for looking


RE: Kodi Playback Issue Internet Archive - CrystalP - 2024-10-27

They both work fine here, I made many large jumps forwards and backwards, tried fast forward and rewind, was able to stop, restart, resume from previous stop position... Nothing wrong.
That was with standard videoplayer, I don't have the inputstream addons installed.

The logs you provided don't have debug information, it must be turned on in settings > system > logging before restarting Kodi. Only the failing case is of interest at this point.

edit: Same results with v21.1


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-28

@CrystalP

Turned on logging

I tried to play the Bionic Woman again and it played fine for 30 seconds and stopped.  I waited to see if it would start again, it didn't, I clicked stop to no avail until Windows prompted to close the program (Kodi)

Log

Two things, the developer rightly or wrongly said there was an issue in the Internet Archive thread

Yep Kodi 21.0 is quite unstable as it is using the latest FFMPEG, crashes often on videoplayback. Even HLS streams that work fine in Kodi 19, refuse to play with Videoplayer in Kodi21 and you have to switch to Inputstream Adaptive to play in such cases which is a pain to control inside the addon. Hopefully they stabilize it in the next point release

Secondly, pardon my stupidity, but I'm not sure what you meant by this (below) and how I could correct it aside from getting rid of input stream addons (which I have no clue about) Even then that doesn't seem to make sense to get rid of some addons to get something else to work.

Nothing wrong.
That was with standard videoplayer, I don't have the inputstream addons installed.


Sorry, not trying to be a pain, I just want to get it working properly on my machine.

(Kodi 21.1/Win 10/IA 1.0.0)


RE: Kodi Playback Issue Internet Archive - scott967 - 2024-10-28

Using Kodi windows x64 v 22 nightly from 2024-08-23.  Installed the internet archive plugin from Kodi repo.  Already had youtube plugin installed and also inputstream adaptive and inputstream ffmpeg direct.  Tried "Popular collections-1970s Classic TV-Bionic Woman Black Magic (1976)-mp4 original" and played perfectly, skipped ahead/back and forth, no problem.

Can't agree with this
"Yep Kodi 21.0 is quite unstable as it is using the latest FFMPEG, crashes often on videoplayback. "

scott s.
.


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-28

@scott967

My last log shows what happened when the video stopped playing, I don't know how to read it, so what happened?

If two of you are saying it is working fine, can we say there is nothing wrong with the addon?

But the developer and I both say the videos crash frequently.  So is the issue the addon, the website or Kodi.


RE: Kodi Playback Issue Internet Archive - CrystalP - 2024-10-28

I'm really not familiar with how things are supposed to look when playing a downloaded video, but there may be a problem with the computer not being able to download fast enough for whatever reason and things seem to start going wrong at that point:
 
Code:
2024-10-27 18:42:21.266 T:3936     info <general>: CVideoPlayerAudio::Process - stream stalled
2024-10-27 18:42:21.755 T:6004    debug <general>: CDVDVideoCodecFFmpeg::GetPicture - eof hw accel
2024-10-27 18:42:21.755 T:6004    debug <general>: CVideoPlayerVideo - Stillframe detected, switching to forced 23.976024 fps
2024-10-27 18:42:21.755 T:6004    debug <general>: CPtsTracker: pattern lost on diff 208541.666667, number of losses 1
2024-10-27 18:42:23.399 T:1960    debug <general>: ffmpeg[0x15564cd90a0]: [mov,mp4,m4a,3gp,3g2,mj2] Packet corrupt (stream = 0, dts = 699699).
2024-10-27 18:42:23.399 T:1960    error <general>: ffmpeg[0x15564cd90a0]: [NULL] Invalid NAL unit size (17612 > 1639).
2024-10-27 18:42:23.399 T:1960    error <general>: ffmpeg[0x15564cd90a0]: [NULL] missing picture in access unit with size 1725
2024-10-27 18:42:23.400 T:1960    debug <general>: CVideoPlayer::SetCaching - caching state 1

The stalls, corrupt packets, invalid NALs don't happen on my computer, with v21.1 or 22.
I mentioned inputstream because it came up in the thread of the ia addon but it doesn't seem to be used, though I'm no expert about that.

It looks like the addon only passes the url to play to Kodi core so it doesn't look to me like the problem is in the addon.

Turning off dxva decoding may help recovering from those situations (and it's an old computer, some Intel drivers have strange problems in the hw acceleration).
Besides that, the only thing I can think of would be for you to try a separate brand new portable install with nothing added except for the internet archive addon.


RE: Kodi Playback Issue Internet Archive - barney63 - 2024-10-28

Thanks, I appreciate you taking a look.


RE: Kodi Playback Issue Internet Archive - PatK - 2024-10-28

(2024-10-28, 03:20)barney63 Wrote: If two of you are saying it is working fine, can we say there is nothing wrong with the addon?
Make that three, just installed it to see if there was any validity to this post. Played out fine, jumped around and FF without issue, (20 year old MB with 25mbs connection Kodi V21 ) actually a bit impressed by this add-on.


RE: Kodi Playback Issue Internet Archive - izprtxqkft - 2024-10-28

(2024-10-28, 10:18)CrystalP Wrote: The stalls, corrupt packets, invalid NALs don't happen on my computer, with v21.1 or 22.

would it then be possible to ...
a) create a slow unstable internet connection to reproduce, i.e. set a network link speed to 10Mbps or some other artificial bottleneck
b) disconnect the internet while playing to simulate a drop

then perhaps find a way to make kodi fail more gracefully?


This forum uses Lukasz Tkacz MyBB addons.