• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 9
Release IPTV Simple Client recording for Windows Krypton
#46
(2018-03-11, 15:30)primaeval Wrote:
(2018-03-11, 15:25)Antaril Wrote:  
 Where did you get stuck? Didn't the instructions from NGC3144 work?
I haven't got an s905x to test anything on. 
thats no problem, i will test it, and give responce. 
Now iam not on my build mashine. i can tell you the error on next building
Reply
#47
(2018-03-12, 02:01)el_gonz87 Wrote: The issue I'm running into for Android in my project is the fact that the data partition is mapped with -noexec. I've gotten my build incorporated into a Krypton APK (you have to build the whole project for Android). The issue is the limitation of noexec for the data partition, I'm looking at incorporating FFMPEG directly and use API functions to do the recording, but this doesn't appear to be a solution because Kodi runs FFMPEG in its own environment and limits the API to it....
 Thanks for the info.

I've run ffmpeg on Android before from a python addon but that was a few Android versions ago and I know they've tightened permissions up now.

Packaging the pvr addon into the apk is going to be a pain. It means everyone is reliant on us maintaining the whole distribution. Have you looked at using a python addon to move the .so file into the data directory and changing the permissions with python os calls? I'm not sure if the .so libraries need to be signed too.

At the moment I'm looking at ways of moving the program/recording scheduler out of the pvr addon so it can run in a python addon or totally separate app even on a different machine. Have you looked at any of those?

My repo is at https://github.com/primaeval/pvr.iptvsimple
The working Krypton Windows branch is Kwin.
The working Krypton Linux branch is Klin.
The non-working Android branch is Land which is Leia based.
The branch I'm working on right now that is starting again from the kodi-pvr master is timers.

Is your repo public?
Reply
#48
Just found this useful tutorial on compiling for LibreELEC

https://www.google.ca/amp/mxqproject.com...v-box/amp/
Reply
#49
i can build the original kodi source without problems! But if i change the adresse to primaeval source, i get some errors that i couldnt fix. Is anybody out there who can build this addon for s905x?
Reply
#50
(2018-03-18, 13:38)Antaril Wrote: i can build the original kodi source without problems! But if i change the adresse to primaeval source, i get some errors that i couldnt fix. Is anybody out there who can build this addon for s905x?
I looked back at your first post. The mods I have done are for Krypton, not the Leia master.
You need to build LibreELEC for Krypton and checkout my Klin branch.

When you can build the LibreELEC distribution without errors do:
go to the folder that has the xbmc folder containing cmake, project etc.
Code:
git clone https://github.com/primaeval/pvr.iptvsimple.git  -b Klin
cd pvr.iptvsimple && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make
Reply
#51
Hi everyone,

Trying to compile for LibreELEC on the WetekPlay (first generation)

Getting an error concerning libglib_2_0_la-gdate.lo...anyone know what this might be?

Full log:

https://pastebin.com/j8nwDCXF

Followed NGC3144's instructions, replacing the necessary things to compile for Wetek Play

Thanks!
Wetek Play + LibreELEC
Reply
#52
(2018-03-20, 17:37)ryanmcclure Wrote: Hi everyone,

Trying to compile for LibreELEC on the WetekPlay (first generation)

Getting an error concerning libglib_2_0_la-gdate.lo...anyone know what this might be?

Full log:

https://pastebin.com/j8nwDCXF

Followed NGC3144's instructions, replacing the necessary things to compile for Wetek Play

Thanks!
 I don't know. The only strange thing I came across was that cross-compiling for Android needed gcc 4.9 as the native compiler and Ubuntu had 5.x installed.

I had to do something like this:
Code:
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50 --slave /usr/bin/g++ g++ /usr/bin/g+
but I think the better way is to do it interactively with
Code:
sudo update-alternatives --config cc
sudo update-alternatives --config c++
I would recommend researching it first.

Also. Beware that that my master branch is just the rkubera version which might have excessive cpu usage due to the scheduler loop.
My changes are in the Klin branch for Krypton Linux.
Reply
#53
Hello guys, I have no troubles, I only installed the plugin and is working well, I downloaded it from this link https://github.com/primaeval/pvr.iptvsim...Win-Record. I wanna only say thank you about the amazing job primaeval  you have one beer paid if one day you will be in Italy! Really tank you again!

Using it I found one small bug. I don't know why when I start one recording, my screen become black after 30 seconds. If i cliick again on the channel the view restart, but the recording is ok.
Reply
#54
(2018-03-21, 01:31)Tapiocapioca Wrote: Hello guys, I have no troubles, I only installed the plugin and is working well, I downloaded it from this link https://github.com/primaeval/pvr.iptvsim...Win-Record. I wanna only say thank you about the amazing job primaeval  you have one beer paid if one day you will be in Italy! Really tank you again!

Using it I found one small bug. I don't know why when I start one recording, my screen become black after 30 seconds. If i cliick again on the channel the view restart, but the recording is ok.
 Are the urls in your m3u channels file links to plugins or http streams? If they are plugin:// type links then it is probably the addon that is stalling. It might be doing some token exchange or keep alive mechanism that expects to be run from the kodi addon or pvr.
If you can work out the direct http links that the addon is using and put them in an m3u file then ffmpeg will be more likely to play them.

A more robust recording mechanism on Windows is to use NextPVR. It's not too hard to set up but you do need to work out how to get the direct m3u links and xmltv file that iptv simple is using. That might need a bit of detective work and a script to extract the links and xmltv file.
Reply
#55
Ok, i got it Wink

I take the original github source and merged it with the source from rkubera.

please test it, and give responce... i dont know where the binarys are... 

 https://de.files.fm/u/u7hhd3nt

this build is for s905x mashines...
Reply
#56
(2018-03-21, 16:52)Antaril Wrote: Ok, i got it Wink

I take the original github source and merged it with the source from rkubera.

please test it, and give responce... i dont know where the binarys are... 

 https://de.files.fm/u/u7hhd3nt

this build is for s905x mashines...
 
Well done Smile

Could you post the source so we can see exactly what you have built.
Reply
#57
yes, here it is...

https://github.com/antaril/pvr.iptvsimple  

next thing is to merge your commits too Wink

how can i pull a special branch? Especially your Klin branch....
Reply
#58
(2018-03-21, 17:07)Antaril Wrote: yes, here it is...

https://github.com/antaril/pvr.iptvsimple  

next thing is to merge your commits too Wink

how can i pull a special branch? Especially your Klin branch....
 I usually use Git Gui so I can see what is going on better.
Just add my repo in Add Remote and merge in my Klin branch in the merge options.
If you don't use git on the command line a hundred times a day Git Gui is going to save a lot of head scratching and googling.

As I said before the pvr api has changed from krypton to leia so it might not be so simple.

Does your version use a lot of CPU? I noticed one core was running at 100% all the time on my build because the scheduler was constantly looping.
Compare the Kodi CPU usage before and after disabling the addon.
If it does put in a sleep( ) call to slow it down.

And of course does recording work? I would recommend testing with a simple copy to a .ts file.
ffmpeg -i URL -c copy OUT.ts
Reply
#59
i have a little problem with the settings. rtmpdump is easy to find in usr/bin. But where can i find "avconf" in Libreelec?
Reply
#60
(2018-03-21, 20:06)Antaril Wrote: i have a little problem with the settings. rtmpdump is easy to find in usr/bin. But where can i find "avconf" in Libreelec?
 avonv is just a fork of ffmpeg. I'm pretty sure it is back to ffmpeg in LibreELEC.
Have a look for /usr/bin/ffmpeg
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 9

Logout Mark Read Team Forum Stats Members Help
IPTV Simple Client recording for Windows Krypton2