Help with vdr-iptv on raspberry pi 2
#1
Hello
For the past few days, i've been trying to get vdr working with kodi on my raspberry pi 2. I installed vdr, vnsi and iptv plugins using this guide
http://forum.kodi.tv/showthread.php?tid=189534.

Code:
root@Bash-Rpi:~# vdr -V
vdr (2.2.0/2.2.0) - The Video Disk Recorder
vnsiserver (1.3.0) - VDR-Network-Streaming-Interface (VNSI) Server
iptv (2.2.0) - Experience the IPTV
streamdev-server (0.6.1-git) - VDR Streaming Server
streamdev-client (0.6.1-git) - VTP Streaming Client

when i try to run vdr, this happens

Code:
root@Bash-Rpi:~# runvdr
vdr: no primary device found - using first device!

I am guessing this is because there are no dvb cards installed. but since i want to use iptv, i won't be installing them anyway, so how could i get vdr to run?

Also, how should i specify an iptv channel in channels.conf. According to the vdr-iptv page,
Code:
TV1;IPTV:10:S=1|P=0|F=UDP|U=127.0.0.1|A=1234:I:0:512:650:2321:0:1:0:0:0
           ^  ^   ^   ^     ^           ^    ^
           |  |   |   |     |           |    Source type ("I")
           |  |   |   |     |           Stream parameter
           |  |   |   |     |            UDP:  multicast port
           |  |   |   |     |            CURL: <>
           |  |   |   |     |            HTTP: HTTP port number
           |  |   |   |     |            FILE: file delay (ms)
           |  |   |   |     |            EXT:  script parameter
           |  |   |   |     Stream address
           |  |   |   |      UDP:  multicast [source@]group address
           |  |   |   |      CURL: HTTP/HTTPS URL; colons (%3A) and pipes (%7C) shall be URL encoded
           |  |   |   |      HTTP: URL; missing the scheme name part and possible port declaration
           |  |   |   |      FILE: file location
           |  |   |   |      EXT:  script location
           |  |   |   Stream protocol ("UDP", "CURL", "HTTP", "FILE", "EXT")
           |  |   Pid scanner ("0" disable, "1" enable)
           |  Section id (Sid/Nid/Tid) scanner ("0" disable, "1" enable)
           Unique enumeration
But it does not say what the last 9 values are.
I want to stream an http stream, for instance http://192.168.1.2:4022/rtp/226.11.3.77:6000
(this http stream is created by udpxy)

Here is the information about the stream(it is a TS stream) (taken from mpc-hc)
Code:
Video: MPEG4 Video (H264) 720x576 (15:11) 25fps [V: h264 main L3.0, yuv420p, 720x576]
Audio: MPEG Audio 48000Hz stereo 128kbps [A: mp2, 48000 Hz, stereo, 128 kb/s]

Any help/suggestions/advice are greatly appreaciated
Reply
#2
the last 9 values are the same as for any other channel source: VPID, APID, ...
http://linuxtv.org/vdrwiki/index.php/Syn...nnels.conf
Reply
#3
@FernetMenta
Thanks for the reply. So according to that page (correct me if i am wrong), the configuration should be as follows
VPID : ??
APID : ??
TPID : 0
CA : 0
SID : 0
NID : 0
TID : 0
RID : 0

and so if i wanted to stream http://192.168.1.2:4022/rtp/226.11.3.77:6000
my entry in channels.conf should be something like

Code:
TV1;IPTV:68:S=0|P=0|F=HTTP|U=http%3A//192.168.1.2/rtp/226.11.3.77%3A6000|A=4022:I:0:512:650:2321:0:3:0:0:0

(VPID and APID are just taken from vdr-iptv page) (I still can't figure out what the VPID and APID should be for my stream as that post only describes it for dvb and analog inputs.)

With just this entry in channel.conf the result is the same error as before

Code:
no primary device found - using first device!
invalid primary device number: 1

Can someone tell me what the VPID and APID should be for my stream? and also how to fix the error given above?
Reply
#4
I have never tried the plugin myself but the doc says that PIDs are set automatically if the stream has PAT/PMT. If no, you can set the plugin's scan pid mode to yes.
Reply

Logout Mark Read Team Forum Stats Members Help
Help with vdr-iptv on raspberry pi 20