Thread Rating:
  • 2 Vote(s) - 5 Average
Record iptv (from epg)
#61
HI Ryan,
Thanks for putting together the package.
I've never been able to get the osmc packge to run. These are the error's in the log.
18:34:21.183 T:139820236007168 ERROR: Unable to load /storage/.kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so.3.0.1, reason: /storage/.kodi/addons/pvr.iptvsimple/pvr.iptvsimple.so.3.0.1: wrong ELF class: ELFCLASS32
18:34:41.319 T:139820236007168 ERROR: UpdateAddons - failed to create add-on PVR IPTV Simple Client, status = 6

Only the Ubuntu package works for me - that's where I have observed the video files vanishing.
Reply
#62
Hey - I was trying this on osx el captain, with 17.1 and it is crashing kodi - not sure if it works with that yet.
Reply
#63
I have the same problem with video vanishing after recording. I am using this https://github.com/rkubera/pvr.iptvsimpl...inple-osmc version on my Kodi 17.1 on Raspberry Pi 3. Can this work also on pure Kodi or just on OSMC? And how to configure parameters in settings for this to work?

This is my log with your test package:
Code:
12:10:31.638 T:1945890816  NOTICE: VideoPlayer: Opening: pvr://channels/tv/All channels/pvr.iptvsimple_1544176965.pvr
12:10:31.638 T:1945890816 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
12:10:31.639 T:1588233136  NOTICE: Creating InputStream
12:10:31.902 T:1588233136  NOTICE: Creating Demuxer
12:10:35.824 T:1588233136  NOTICE: Opening stream: 0 source: 256
12:10:35.876 T:1588233136  NOTICE: Creating video thread
12:10:35.877 T:1588233136  NOTICE: Opening stream: 1 source: 256
12:10:35.881 T:1588233136  NOTICE: Creating audio thread
12:10:36.017 T:1588233136  NOTICE: OMXClock using audio as reference
12:10:37.143 T:1765422000 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
12:10:38.672 T:1945890816 WARNING: Previous line repeats 2 times.
12:10:38.672 T:1945890816   ERROR: Control 602 in window 12901 has been asked to focus, but it can't
12:10:38.993 T:1765422000 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
12:10:41.436 T:1757033392 WARNING: Previous line repeats 5 times.
12:10:41.436 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Add job entry News
12:10:41.439 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting recording News
12:10:41.441 T:1757033392  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:41.444 T:1858069424  NOTICE: Previous line repeats 2 times.
12:10:41.444 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to open stream http://urltoiptv_removed.m3u8|User-Agent="AppleCoreMedia"
12:10:41.541 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: File to write: /home/pi/Videos/IPTV/News (2017-04-09 12-10-41).flv
12:10:41.542 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting ffmpeg: /usr/bin/avconv -i "http://urltoiptv_removed.m3u8|User-Agent="AppleCoreMedia"" -ar 44100 -f flv -
12:10:41.670 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Set stream timeout: 60
12:10:50.001 T:1577743280  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:57.619 T:1832903600  NOTICE: AddOnLog: PVR IPTV Simple Client: Stopping recording News
12:10:57.620 T:1832903600  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:10:57.621 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Recording stopped News
12:10:57.621 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Warning - recording can be corrupted
12:10:57.626 T:1858069424  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to reschedule recording News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to delete recording News
12:11:00.000 T:1608459184  NOTICE: AddOnLog: PVR IPTV Simple Client: Deleted job entry News
12:11:02.496 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:02.496 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:02.505 T:1588233136  NOTICE: CVideoPlayer::OnExit()
12:11:02.505 T:1588233136  NOTICE: Closing stream player 1
12:11:02.511 T:1481634736  NOTICE: thread end: OMXPlayerAudio::OnExit()
12:11:02.593 T:1588233136  NOTICE: Closing stream player 2
12:11:02.599 T:1765422000  NOTICE: thread end: video_thread
12:11:02.718 T:1945890816  NOTICE: VideoPlayer: finished waiting
12:11:03.422 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: finished waiting
12:11:03.422 T:1945890816  NOTICE: CVideoPlayer::CloseFile()
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: waiting for threads to exit
12:11:03.422 T:1945890816  NOTICE: VideoPlayer: finished waiting

Thank you in advance.
Reply
#64
Any help would be appreciated. Sad
Reply
#65
Is anyone out there able to compile this as a windows addon, I tried direct replacement and it makes the addon disappear
Reply
#66
Don't bother with trying to make it reality. It doesn't work, already spend so much time investigating and debugging on all platforms.
Reply
#67
I downloaded from here https://github.com/rkubera/pvr.iptvsimple/releases amd64 rls and it works great in libreelec x64. only the pause future does not work, but recording works fine (Y)
Reply
#68
(2017-08-03, 13:04)masinad Wrote: I downloaded from here https://github.com/rkubera/pvr.iptvsimple/releases amd64 rls and it works great in libreelec x64. only the pause future does not work, but recording works fine (Y)

This doesn't work on Raspberry PI with Kodi installed on Raspbian.
Reply
#69
Hi, i managed to install the package on (Librelec kodi 17.4 raspberry pi 3) and after filling in the recording path + ffmpeg and rtmdump path i manage to record something.
I found the recording file in the path i have selected but it cannot be opened to view in Kodi or VLC...
Is there still another setting to be changed or is this addon simply not working?
Reply
#70
(2017-09-01, 11:38)wigee Wrote: Hi, i managed to install the package on (Librelec kodi 17.4 raspberry pi 3) and after filling in the recording path + ffmpeg and rtmdump path i manage to record something.
I found the recording file in the path i have selected but it cannot be opened to view in Kodi or VLC...
Is there still another setting to be changed or is this addon simply not working?

I m exactly in the same situation.

The recording is there (format .flv as default) but I cannot play.

Did u find a solution?
Reply
#71
This is how it is working for me at the moment:

- Raspberry Pi 3 with latest OSMC version
- Updated and Installed rtmpdump:
sudo apt-get update
sudo apt-get install rtmpdump libav-tools

- Copied over the existing pvr.iptvsimple the version pvr.iptvsimple.osmc-test
- Settings of the add ons:
store folder:... as you like it
file extension: fly
path rtmpdump: /usr/bin/rtmpdump
path ffmpeg: /usr/bin/avcon
recompress..: -ar 44100 -vcodec copy
rest as default

the "-vcodec copy" will leave the file as it is from the source at least on the video side, w/o any compression

What works for me:
Recording
Add timer from Timers tab

What does not work:
Pausing/Time Shifting
Add timer from EPG
The Recordings are not linked to the Recording Tab of the Live TV
Reply
#72
I'm on Arch linux (amd64 htpc machine).
I'm saving IPTV stream with ffmpeg like this:
Code:
ffmpeg -i http://xxx.xxx.xxx.xxx/stream.m3u8 -c copy -bsf:a aac_adtstoasc outfile.mp4
It copies  everything without touching.

In this customised addon I left everything on default values.. tried also the same setup as @sasagr above mentioned. Tried -c:v copy, -c copy, -vcodec copy. Tried also with/without -ar parameter (streams are in 48kHz). Recorded file is groving up but right after hitting stop button it's deleted. Here's the log from kodi

Code:
:20:32.695 T:139823062189824  NOTICE: AddOnLog: PVR IPTV Simple Client: Add job entry Přátelé
00:20:32.700 T:139823062189824  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry Přátelé
00:20:32.701 T:139823062189824  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting recording Přátelé
00:20:32.702 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry Přátelé
00:20:32.702 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to open stream http://xxx.xxx.xxx.xxx/stream.m3u8
00:20:32.776 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: File to write: /data/data2/TV/Přátelé (2017-010-19 00-20-32).mp4
00:20:32.776 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: Starting ffmpeg: /usr/bin/ffmpeg -i "http://xxx.xxx.xxx.xxx/stream.m3u8" -c copy -bsf:a aac_adtstoasc -f mp4 -
00:20:32.869 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: Set stream timeout: 60
00:20:36.003 T:139820061386496  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry Přátelé
00:20:38.012 T:139820135237376   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
00:20:38.017 T:139820135237376   ERROR: CCurlFile::Open failed with code 0 for http://xtyrepo.me/xunitytalk/addons/addons.xml.md5
00:20:38.017 T:139820135237376   ERROR: Open - failed to open source <http://xtyrepo.me/xunitytalk/addons/addons.xml.md5>
00:20:38.017 T:139820135237376   ERROR: CRepository: failed read 'http://xtyrepo.me/xunitytalk/addons/addons.xml.md5'
00:20:53.844 T:139821539895040  NOTICE: AddOnLog: PVR IPTV Simple Client: Stopping recording Přátelé
00:20:53.850 T:139819972646656  NOTICE: AddOnLog: PVR IPTV Simple Client: Recording stopped Přátelé
00:20:53.919 T:139821539895040  NOTICE: AddOnLog: PVR IPTV Simple Client: Updated job entry Přátelé
00:20:56.002 T:139820072228608  NOTICE: Previous line repeats 1 times.
00:20:56.002 T:139820072228608  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to reschedule recording Přátelé
00:20:56.002 T:139820072228608  NOTICE: AddOnLog: PVR IPTV Simple Client: Try to delete recording Přátelé
00:20:56.002 T:139820072228608  NOTICE: AddOnLog: PVR IPTV Simple Client: Deleted job entry Přátelé

No matter what I do, it still deletes the file. @rkubera any advice? Should I compile the addon ?
Please note I have ffmpeg installed and supports libx264, tried mpeg2, mjepeg etc.. without any luck.
Thank You
Reply
#73
im a bit late onto this thread, is there a way top use this in android or windows

thanks guys
Reply
#74
(2017-11-11, 01:15)Gtmnyc Wrote: im a bit late onto this thread, is there a way top use this in android or windows

thanks guys

+1 for Windows
Reply
#75
Can someone please compile this for Windows? Or tell us how to do it? I'm willing to try.
Reply
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Record iptv (from epg)52