Open tomcontr opened 4 years ago
What kind of device are you on? I am assuming you were trying to watch the 2018 Bahrain Race (but i cannot be sure of this) however that race works fine on windows.
Im using Kodi on a Raspberry PI and Also Kodi on a Amazon Fire Stick. On both platforms I have the same problem. Cant Watch any race. Im trying to watch races from the 2018 season.
im also getting the demuxer error, on an Rpi MOdel 3 B+ running the latest LibreElec 9.2.3, oddly i have older Pi3's that work fine... really not sure whats causing the issues although the docu's work fine, just not the races....
ok after my last message to this i believe this problem is related to the cache settings on kodi on the Rpi, would apply to the firestick too, you need to add the following lines to advancedsettings.xml which is found under /storage/.kodi/userdata (if it does not exist create it)
the contents should be:
<advancedsettings>
<cache>
<buffermode>1</buffermode>
<memorysize>107286400</memorysize>
<readfactor>5</readfactor>
</cache>
</advancedsettings>
try that and see if the videos work, i had this setting already on my other Pi's had forgotten to add it to me new one.
unfortunatly my fix did not work, still have this issue have attached some deeper logs, does mention a tls error?
2020-07-11 20:03:19.670 T:1707008896 INFO: ffmpeg[65BEE380]: [hls,applehttp] Opening 'https://f1tv-cdn-cent-live.formula1.com/ondemand/7833/_C_/3/2/wif0711064738/1/VIDEO_12_300000/1594475290_set_0/OTT_F1_WIF2_VIDEO_12_300000_969.ts' for reading 2020-07-11 20:03:19.863 T:1707008896 ERROR: ffmpeg[65BEE380]: [tls] error:00000000:lib(0):func(0):reason(0) 2020-07-11 20:03:19.864 T:1707008896 ERROR: ffmpeg[65BEE380]: [hls,applehttp] Error when loading first segment 'https://f1tv-cdn-cent-live.formula1.com/ondemand/7833/_C_/3/2/wif0711064738/1/VIDEO_12_300000/1594475290_set_0/OTT_F1_WIF2_VIDEO_12_300000_968.ts' 2020-07-11 20:03:19.918 T:1707008896 DEBUG: Error, could not open file (2) https://f1tv-cdn-cent-live.formula1.com/ondemand/7833/_C_/3/2/wif0711064738/1/clip_2_master.m3u8?nva=1594497887&ttl=86400&cc=US&token=09ad17d0977ced556f811 2020-07-11 20:03:19.918 T:1707008896 ERROR: OpenDemuxStream - Error creating demuxer 2020-07-11 20:03:19.918 T:1707008896 NOTICE: CVideoPlayer::OnExit() 2020-07-11 20:03:19.919 T:1799328640 DEBUG: Thread JobWorker start, auto delete: true 2020-07-11 20:03:19.919 T:1707008896 DEBUG: Thread VideoPlayer 1707008896 terminating 2020-07-11 20:03:19.940 T:1707008896 DEBUG: Thread JobWorker start, auto delete: true 2020-07-11 20:03:19.940 T:1799328640 DEBUG: OnPlayBackStopped: CApplication::OnPlayBackStopped 2020-07-11 20:03:20.032 T:1937080336 NOTICE: CVideoPlayer::CloseFile() 2020-07-11 20:03:20.032 T:1937080336 DEBUG: DeleteRenderer - deleting renderer 2020-07-11 20:03:20.032 T:1937080336 DEBUG: CMMALRenderer::~CMMALRenderer 2020-07-11 20:03:20.032 T:1937080336 DEBUG: CMMALRenderer::UnInitMMAL 2020-07-11 20:03:20.033 T:1432703872 DEBUG: CMMALRenderer::Run - stopping 2020-07-11 20:03:20.033 T:1432703872 DEBUG: Thread MMALProcess 1432703872 terminating 2020-07-11 20:03:20.033 T:1937080336 NOTICE: VideoPlayer: waiting for threads to exit 2020-07-11 20:03:20.033 T:1937080336 NOTICE: VideoPlayer: finished waiting 2020-07-11 20:03:20.036 T:1937080336 DEBUG: Radio UECP (RDS) Processor - delete ~CDVDRadioRDSData
ok more info to add, i can sucessfully play the 2018 Austrialian GP, cannot play the 2019, i wonder if they changed codec after 2018?
ok after some extenisve testing i have figured out the problem, its the hardware MPEC decoding on the pi, I had the mpeg license installed on my older Pi3's and not on the newer one. without the mpeg license i could not play any content newer than 2018. now i have installed the MPEG license all issues seem to have gone and im no longer getting the demux error, all content including todats is playing. hope this helps!
https://codecs.raspberrypi.org/
not sure what you would need to do about the firestick but this sorted my issue on an RPI3
Are you sure it was the mpeg codec, not the vc9? Strange... For the future I‘m still thinking of running these streams through InputStream, as it is making the authentification a lot easier... Unfortunately I currently have really limited time, so if anyone wants to contribute feel free to PR!
Mmm don't think I have the vc9 license, might give it a go though all replays are working now but live streams won't start, will do some more logging later. Willing to assist with development, at the moment I code in c# dont really know python but always a good time to learn 😁
ok so turning on the hardware OMXPlayer seems to be hacing a good effect, need another live session to test it now....
I've got the same issue on Kodi 19 on Android TV.
Log:
2021-07-18 19:29:05.546 T:15258 INFO
: initializing python engine. 2021-07-18 19:29:07.681 T:15258 WARNING <CAddonSettings[plugin.video.f1tv]>: cannot reference setting (relative index: -1; absolute index: -1) in another category in old setting condition "!eq(-1,)" for "username" 2021-07-18 19:29:07.682 T:15258 WARNING <CAddonSettings[plugin.video.f1tv]>: failed to parse enable condition "!eq(-1,)" of old setting definition for "username" 2021-07-18 19:29:08.757 T:15258 INFO : PYF1TV Log: Using existing auth 2021-07-18 19:29:08.765 T:15258 INFO : PYF1TV Log: Requested: {"uri": "CONTENT/PLAY?contentId=1000001783", "id": "1000001783", "target": "PLAY", "name": "INSIDE TRACKS - Shorts: Silverstone 2020"} 2021-07-18 19:29:10.034 T:15258 INFO : uri=CONTENT%2FPLAY%3FcontentId%3D1000001783&id=1000001783&target=PLAY&name=INSIDE+TRACKS+-+Shorts%3A+Silverstone+2020 2021-07-18 19:29:10.035 T:15258 INFO : CPythonInvoker(25, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.f1tv/main.py): script successfully run 2021-07-18 19:29:10.054 T:12196 INFO : VideoPlayer::OpenFile: plugin://plugin.video.f1tv/?uri=CONTENT%2FPLAY%3FcontentId%3D1000001783&id=1000001783&target=PLAY&name=INSIDE+TRACKS+-+Shorts%3A+Silverstone+2020 2021-07-18 19:29:10.413 T:15258 INFO : Python interpreter stopped 2021-07-18 19:29:11.513 T:15268 INFO : Creating InputStream 2021-07-18 19:29:11.805 T:15268 INFO : Creating Demuxer 2021-07-18 19:29:42.115 T:15268 ERROR : OpenDemuxStream - Error creating demuxer 2021-07-18 19:29:42.116 T:15268 INFO : CVideoPlayer::OnExit() 2021-07-18 19:29:42.147 T:12196 INFO : CVideoPlayer::CloseFile() 2021-07-18 19:29:42.170 T:12196 INFO : VideoPlayer: waiting for threads to exit 2021-07-18 19:29:42.170 T:12196 INFO : VideoPlayer: finished waiting
It was wokring fine a week ago. Now I cant watch any race.....
Logs: