Hi.
I've been testing the vdr-iptv plugin with vdr-1.6.0, using the EXT and FILE options.
1) Firstly, the FILE option. I'm trying to play a transport stream file which has several streams within it. My channel syntax is the following: FileTest;IPTV:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:35+514:34:2321:0:3:0:0:0
When I select this channel, the video and audio play for 2 seconds, then stutter at about1 fps, then another 2 seconds etc etc. The only log I get on sout is:
buffered 8.0 frames (v:15.8, a:8.0) buffered 9.1 frames (v:16.3, a:9.1) buffered 10.4 frames (v:18.0, a:10.4) buffered 11.3 frames (v:18.2, a:11.3) buffered 12.2 frames (v:18.4, a:12.2) buffered 13.2 frames (v:20.6, a:13.2) buffered 14.3 frames (v:20.3, a:14.3) buffered 15.1 frames (v:20.1, a:15.1) buffered 16.0 frames (v:21.5, a:16.0) buffered 17.3 frames (v:23.5, a:17.3) buffered 18.5 frames (v:25.9, a:18.5) buffered 19.6 frames (v:27.8, a:19.6) buffered 20.5 frames (v:30.7, a:20.5) buffered 21.1 frames (v:28.5, a:21.1) buffered 22.1 frames (v:31.1, a:22.1) buffered 23.0 frames (v:30.4, a:23.0) buffered 24.3 frames (v:33.5, a:24.3) buffered 25.3 frames (v:31.5, a:25.3) buffered 26.4 frames (v:33.4, a:26.4) buffered 27.5 frames (v:36.7, a:27.5) buffered 28.5 frames (v:34.7, a:28.5) buffered 29.2 frames (v:33.6, a:29.2) buffered 30.2 frames (v:36.6, a:30.2) buffered 31.1 frames (v:36.1, a:31.1)
CPU is only sitting at normal levels
2) Although the other PIDS get picked up within the stream, when I try to select one of the other streams, I only get the "Arts Channel": FileTest;IPTV:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:35+514:34:2321:0:3:0:0:0 TBN;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:101:182:1:0 Playhouse Disney;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:35:34:0:0:102:182:1:0 Sport 2;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:103:182:1:0 Trackside;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:104:182:1:0 C4;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:105:182:1:0 Sky News;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:106:182:1:0 ESPN;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:107:182:1:0 CTV4;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:108:182:1:0 Arts Channel;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:109:182:1:0 CTV5;T:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:0:0:0:0:110:182:1:0
3) I'm also having problems selecting the various EXT channels. Only NASA will start - what's wrong with my syntax? NasaTV Public:1:IPTV|S0P0|EXT|iptvstream.sh|1:P:0:2:3:0:0:1:0:0:0 NZ Govt TV:2:IPTV|S0P0|EXT|iptvstream.sh|2:P:0:2:3:0:0:1:0:0:0 BBC Click:3:IPTV|S0P0|EXT|vlc_bbcclick.sh|3:P:0:2:3:0:0:1:0:0:0 VLC-channel:4:IPTV|EXT|vlcstream.sh|4:P:0:1:2:0:0:1:0:0:1
Any suggestions?
On Fri, 18 Apr 2008, Simon Baxter wrote:
- Firstly, the FILE option.
When I select this channel, the video and audio play for 2 seconds, then stutter at about1 fps, then another 2 seconds etc etc.
The FILE protocol was meant only for development phase. It has buffering problems and you'll have to tweak the buffer size to avoid buffer under- and overflows.
FileTest;IPTV:5:IPTV|S0P2|FILE|/video/vdr/Stream1_Unscrambled_030308.ts|5:P:0:35+514:34:2321:0:3:0:0:0
The "S0P2" should be "S0P1". Only 0 or 1 are defined, but any non-zero value will be handled like 1 at the moment.
buffered 8.0 frames (v:15.8, a:8.0)
These are not originating from iptv plugin nor vanilla vdr, but maybe from an output device plugin (xine/xineliboutput/softdevice) you're using.
- Although the other PIDS get picked up within the stream, when I try to select one of the other streams, I only get the "Arts Channel":
You've activated the pid scanner and it doesn't handle multiple video/audio pids, but detects always only the first one.
- I'm also having problems selecting the various EXT channels. Only NASA will start - what's wrong with my syntax?
NasaTV Public:1:IPTV|S0P0|EXT|iptvstream.sh|1:P:0:2:3:0:0:1:0:0:0 NZ Govt TV:2:IPTV|S0P0|EXT|iptvstream.sh|2:P:0:2:3:0:0:1:0:0:0
The video and audio pids are the same for all of these. If you're using the example iptvstream.sh script as a template, you should enable the pid scanner for these or manually correct the pids: video pid is parameter plus one and audio pid is parameter plus two:
NZ Govt TV:2:IPTV|S0P1|EXT|iptvstream.sh|2:P:0:3:4:0:0:1:0:0:0
BR, -- rofa
On Fri, 18 Apr 2008, Rolf Ahrenberg wrote:
The FILE protocol was meant only for development phase. It has buffering problems and you'll have to tweak the buffer size to avoid buffer under- and overflows.
..and ofcourse it's the file delay parameter found in channels.conf and not the buffer size as mentioned above.
README: "Also a file input method is supported, but a file delay must be selected individually to prevent VDR's transfer buffer over/underflow. Therefore the file input should be considered as a testing feature only."
BR, -- rofa
The FILE protocol was meant only for development phase. It has buffering problems and you'll have to tweak the buffer size to avoid buffer under- and overflows.
..and ofcourse it's the file delay parameter found in channels.conf and not the buffer size as mentioned above.
README: "Also a file input method is supported, but a file delay must be selected individually to prevent VDR's transfer buffer over/underflow. Therefore the file input should be considered as a testing feature only."
Ok, thanks. I think I understand this better now.
RE: manually setting the video/audio pids on the EXT option, thanks - selecting different channels within iptvstream.sh works well now NasaTV Public:1:IPTV|S0P0|EXT|iptvstream.sh|1:P:0:2:3:0:0:1:0:0:0 Shine TV:2:IPTV|S0P0|EXT|iptvstream.sh|4:P:0:5:6:0:0:1:0:0:0
RE: selecting different streams with a FILE .ts - this still doesn't work FileTest;IPTV:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:35+514:34:2321:0:3:0:0:0 CH1;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:101:182:1:0 CH2;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:102:182:1:0 CH3;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:103:182:1:0
I've also tried playing around with the file delay option, but it doesn't seem to make any difference.
RE: manually setting the video/audio pids on the EXT option, thanks - selecting different channels within iptvstream.sh works well now NasaTV Public:1:IPTV|S0P0|EXT|iptvstream.sh|1:P:0:2:3:0:0:1:0:0:0 Shine TV:2:IPTV|S0P0|EXT|iptvstream.sh|4:P:0:5:6:0:0:1:0:0:0
RE: selecting different streams with a FILE .ts - this still doesn't work FileTest;IPTV:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:35+514:34:2321:0:3:0:0:0 CH1;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:101:182:1:0 CH2;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:102:182:1:0 CH3;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:103:182:1:0
I've also tried playing around with the file delay option, but it doesn't seem to make any difference.
This still doesn't work properly. Although the PID scan picks up the streams in the TS, PIDs aren't set and selecting any channel only shows the first one??
Is this a more generic channels.conf problem??
RE: selecting different streams with a FILE .ts - this still doesn't work FileTest;IPTV:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:35+514:34:2321:0:3:0:0:0 CH1;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:101:182:1:0 CH2;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:102:182:1:0 CH3;T:5:IPTV|S0P1|FILE|/video/vdr/testfile.ts|5:P:0:0:0:0:0:103:182:1:0
This still doesn't work properly. Although the PID scan picks up the streams in the TS, PIDs aren't set and selecting any channel only shows the first one??
Simon Baxter wrote:
Is this a more generic channels.conf problem??
Hi Simon.
We'll look into this once we get a chance. It may very well be that file input of iptv plugin is currently broken. File input was implemented only as a testing/debugging feature of iptv plugin and thus it is not as thoroughly tested.
Could you possibly send us (privately) a sample of the file that is causing you problems? That way we could better investigate the issues you are experiencing.
I'd also like to know what is the use case that requires you to input a static .ts file into vdr via iptv plugin?